<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DuplicateProjectException when run mvn package in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/DuplicateProjectException-when-run-mvn-package/m-p/2232719#M22584</link>
    <description>I just recognised no need to build the whole project but the subproject. In Talend, you create jobs, services, route, and they are separated java projects. If they will publish somewhere you need to upload the job, service, route, not the whole project. So, I need to run the build flow on the job, service, route. So I need to point on the job's -also service, route, etc...- pom.xml not the parent project's pom.xml.
&lt;BR /&gt;So you can avoid this error above, if you build the modules separate.</description>
    <pubDate>Fri, 01 Feb 2019 15:53:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-01T15:53:40Z</dc:date>
    <item>
      <title>DuplicateProjectException when run mvn package</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DuplicateProjectException-when-run-mvn-package/m-p/2232718#M22583</link>
      <description>&lt;P&gt;Hy,&lt;BR /&gt;&lt;BR /&gt;I try to build my Talend Cloud API Services Platform but I encounter this error:&lt;/P&gt;
&lt;PRE&gt;org.apache.maven.project.DuplicateProjectException: Project 'Job A' is duplicated in the reactor&lt;/PRE&gt;
&lt;P&gt;Talend generates a pom structure like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;Parent pom:
&amp;lt;Modules&amp;gt;
    &amp;lt;Module&amp;gt;Job A&amp;lt;Module&amp;gt;
    &amp;lt;Module&amp;gt;Service A&amp;lt;Module&amp;gt;
&amp;lt;/Modules&amp;gt;

Job A pom:
// no reference to other module

Service A pom:
&amp;lt;Modules&amp;gt;
    &amp;lt;Module&amp;gt;Job A&amp;lt;Module&amp;gt;
    &amp;lt;Module&amp;gt;pom-control-bundle.xml&amp;lt;Module&amp;gt;
    &amp;lt;Module&amp;gt;pom-feature.xml&amp;lt;Module&amp;gt;
&amp;lt;/Modules&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Any idea?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Viktor&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DuplicateProjectException-when-run-mvn-package/m-p/2232718#M22583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: DuplicateProjectException when run mvn package</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DuplicateProjectException-when-run-mvn-package/m-p/2232719#M22584</link>
      <description>I just recognised no need to build the whole project but the subproject. In Talend, you create jobs, services, route, and they are separated java projects. If they will publish somewhere you need to upload the job, service, route, not the whole project. So, I need to run the build flow on the job, service, route. So I need to point on the job's -also service, route, etc...- pom.xml not the parent project's pom.xml.
&lt;BR /&gt;So you can avoid this error above, if you build the modules separate.</description>
      <pubDate>Fri, 01 Feb 2019 15:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DuplicateProjectException-when-run-mvn-package/m-p/2232719#M22584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T15:53:40Z</dc:date>
    </item>
  </channel>
</rss>

