[jbosstools-dev] Cannot resolve dependencies using aggregate update site

Rob Cernich rcernich at redhat.com
Mon Mar 4 16:18:24 EST 2013


Hey Andrej,

Specify a target-platform-configuration that points to org.jboss.tools.integration-stack:target-platform:target:base:4.0.0-SNAPSHOT.  Keep the repository definition that points to aggregate/4.0.0.  That should give you everything you need.

Best,
Rob

----- Original Message -----
> Hi Nick,
> 
> I'm trying to run bpel bot tests using tycho. I define the bpel
> dependency in the pom.xml as follows
> 
> <plugin>
>   <groupId>org.eclipse.tycho</groupId>
>   <artifactId>tycho-surefire-plugin</artifactId>
>   <configuration>
>     ...
>     <dependencies combine.children="append">
>       <!-- BPEL feature -->
>       <dependency>
>         <type>p2-installable-unit</type>
>         <artifactId>org.jboss.tools.bpel.feature.feature.group</artifactId>
>         <version>0.0.0</version>
>       </dependency>
>     </dependencies>
>   </configuration>
> </plugin>
> 
> and the update is specified as p2 repository
> 
> <repository>
>   <id>teiid_designer</id>
>   <url>${jbtis.site}</url>
>   <layout>p2</layout>
>   <snapshots>
>     <enabled>true</enabled>
>   </snapshots>
>   <releases>
>     <enabled>true</enabled>
>   </releases>
> </repository>
> 
> As parent I use 4.0.0.Final-SNAPSHOT.
> 
> When I use
> jbtis.site=http://download.jboss.org/jbosstools/updates/integration/juno/integration-stack/bpel
> it works.
> When I use
> jbtis.site=http://download.jboss.org/jbosstools/updates/integration/juno/integration-stack/aggregate
> it doesn't work.
> 
> Andrej.
> 
> ----- Original Message -----
> From: "Nick Boldt" <nboldt at redhat.com>
> To: "Rob Cernich" <rcernich at redhat.com>, "Andrej Podhradsky"
> <apodhrad at redhat.com>
> Cc: "jbosstools-dev jbosstools-dev" <jbosstools-dev at lists.jboss.org>,
> "Denis Golovin" <dgolovin at exadel.com>
> Sent: Monday, March 4, 2013 8:39:41 PM
> Subject: Re: [jbosstools-dev] Cannot resolve dependencies using
> aggregate update site
> 
> 
> I don't understand. Are you trying to BUILD bpel, or INSTALL it?
> 
> Where/how are you "defin[ing an] aggregated update site" ?
> 
> Nick
> 
> ----- Original Message -----
> 
> 
> 
> Hey Andrej,
> 
> I believe the problem is that the Eclipse BPEL plugins (i.e. the
> editor) are made available through a repository reference.
> Nick/Mikael can correct me if I'm wrong, but I don't believe Tycho
> will traverse referenced repositories, which means you'll need to
> declare those repositories independently.
> 
> That said, you may be able to use the JBTIS target platform plus the
> aggregate site. The JBTIS target platform will give you all the
> dependencies and the aggregate update site will give you all the
> components. Just a thought.
> 
> Hope that helps.
> 
> Rob
> 
> ----- Original Message -----
> 
> 
> 
> 
> Andrej,
> 
> I verified it on Juno SR1 Java EE IDE Package and seems everything is
> fine.
> Any details about your case would help to replicate issue.
> 
> Could you try it again? Probably you got into middle of site upload
> process.
> 
> Thanks
> Denis
> 
> 
> 
> 
> On 03/02/2013 09:24 AM, Andrej Podhradsky wrote:
> 
> 
> Hi folks,
> 
> I'm not able to resolve BPEL dependencies when I define the following
> aggregated update site
> http://download.jboss.org/jbosstools/updates/integration/juno/integration-stack/aggregate/4.0.0/
> but when I define the particular BPEL site
> http://download.jboss.org/jbosstools/updates/integration/juno/integration-stack/bpel
> then everything is fine.
> 
> Could you explain me where's the problem? Is the tycho problem or is
> something wrong with that update site?
> Note that I'm able to install BPEL from eclipse using the mentioned
> aggregated site.
> 
> Best Regards
> 
> _______________________________________________
> jbosstools-dev mailing list jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
> 
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
> 
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
> 


More information about the jbosstools-dev mailing list