On 10 May 2016 at 13:54, Ian Dunlop <[email protected]> wrote:

>  [ERROR] Failed to execute goal on project taverna-commandline-product:
> Could not resolve dependencies for project
> org.apache.taverna.commandline:taverna-commandline-product:jar:3.1.0-incubating-SNAPSHOT:
> The following artifacts could not be resolved:
> javax.mail:com.springsource.javax.mail:jar:1.4.1,
> org.apache.xerces:com.springsource.org.apache.xerces:jar:2.9.1,
> org.apache.xalan:com.springsource.org.apache.xalan:jar:2.7.1: Failure to
> find javax.mail:com.springsource.javax.mail:jar:1.4.1 in
> https://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced -> [Help 1]

Hm, this is weird.. did

mvn install -U

help?

I tried from an empty .m2/repository and built just the command line
product, and then I got

[INFO] BUILD SUCCESS


It should download com.springsource.org.* JARs from the Springsource
repositories:

https://github.com/apache/incubator-taverna-maven-parent/blob/2-incubating/pom.xml#L719


Last resort is to delete your .m2/repository and start again. For all
you know Maven has downloaded a Wifi login page HTML as a JAR. :)


BTW - several of those dependencies can now be replaced with the newer
versions Apache Servicemix bundles:

http://central.maven.org/maven2/org/apache/servicemix/bundles/

e.g.

    <dependency>
        <groupId>org.apache.servicemix.bundles</groupId>
        <artifactId>org.apache.servicemix.bundles.xerces</artifactId>
        <version>2.11.0_1</version>
    </dependency>

.. but let's do that after this release, as it could cause other
things to have to upgrade as well.





-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718

Reply via email to