On Thu, Oct 14, 2010 at 15:25, Andreas Truszkowski <[email protected]> wrote:
> This is my dependency implementation:
> <dependency>
> <groupId>org.openscience.reactionenumerator</groupId>
> <artifactId>reactionenumerator</artifactId>
> <version>1.1.3</version>
> </dependency>
> <dependency>
> <groupId>org.openscience.cdk</groupId>
> <artifactId>cdk</artifactId>
> <version>1.3.5.1.git</version>
> </dependency>
> The problem is that the reactionenumerator dependency can't see the
> IAtom interface in the cdk dependency.
> But how must I implement it that it works? In the maven documentation is
> nothing to find of declaring dependencies of dependencies.
You can't - the dependency will have to do it itself.
Where are you getting these from?
You would need to add:
<dependencies>
<dependency>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk</artifactId>
<version>1.3.5.1.git</version>
</dependency>
</dependencies>
to the pom file of reactionenumerator.
So whoever made
http://www.ts-concepts.de/cdk-taverna2/maven/repository/org/openscience/reactionenumerator/reactionenumerator/1.1.3/reactionenumerator-1.1.3.pom
would have to update it - the simples for you would probably be to
download and compile reactionenumerator manually - as that POM looks a
bit thin.
For instance from
http://www.ts-concepts.de/cdk-taverna2/maven/repository/org/openscience/reactionenumerator/reactionenumerator/1.1.3/reactionenumerator-1.1.3-sources.jar
org./openscience/cdk/reaction/enumerator/tools/Enumerator.java:import
org.openscience.cdk.interfaces.IAtom;
I can't see how this can have compiled without the declared dependency
- so it was probably built outside Maven - and other dependencies
might also be missing.
--
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/