On Wed, May 4, 2011 at 10:33 AM, Eric Kolotyluk
<[email protected]> wrote:
> Well, still no luck.
>
> I added my common-module as a dependency in the service-module, but when I
> build the package I get
>
> [ERROR] Failed to execute goal on project intersystem-service: Could not
> resolve dependencies for project
> com.kodak.intersystem:intersystem-service:jar:0.0.1-SNAPSHOT: Failed to
> collect dependencies for
> [de.uni_leipzig:wortschatz_webservice_client_sachgebiet:jar:1.0 (compile),
> jivesoftware:whack-dist:jar:1.0 (compile),
> jivesoftware:smackx-jingle:jar:3.1.0 (compile),
> com.kodak.intersystem:intersystem-common:jar:0.0.1-SNAPSHOT (runtime),
> info.collide:sqlspaces-client:jar:3.9.1 (compile),
> org.hibernate:hibernate-core:jar:3.6.1.Final (compile),
> org.eclipse.jetty:example-jetty-embedded:jar:8.0.0.M2 (compile),
> org.jboss.logging:jboss-logging-log4j:jar:2.1.2.GA (compile),
> org.slf4j:slf4j-log4j12:jar:1.6.1 (compile),
> net.jcip:jcip-annotations:jar:1.0 (compile),
> postgresql:postgresql:jar:9.0-801.jdbc4 (compile),
> org.modeshape:modeshape-sequencer-jbpm-jpdl:jar:jar-with-dependencies:2.2.0.Final
> (compile), org.javassist:javassist:jar:3.14.0-GA (compile),
> com.sun.org.apache:jaxp-ri:jar:1.4 (compile),
> com.miglayout:miglayout:jar:3.7.4 (compile), com.jidesoft:jide-oss:jar:2.4.8
> (compile)]: Failed to read artifact descriptor for
> com.kodak.intersystem:intersystem-common:jar:0.0.1-SNAPSHOT: Failure to find
> com.kodak.intersystem:Kodak-Intersystem:pom:0.0.1-SNAPSHOT in
> https://repository.jboss.org/nexus/content/repositories/releases/ was cached
> in the local repository, resolution will not be reattempted until the update
> interval of org.jboss.repository has elapsed or updates are forced -> [Help
> 1]
>

Your problem is here:
Failed to read artifact descriptor for
com.kodak.intersystem:intersystem-common:jar:0.0.1-SNAPSHOT: Failure
to find com.kodak.intersystem:Kodak-Intersystem:pom:0.0.1-SNAPSHOT

Are you *sure* that you ran mvn install so that this artifact is in
your ~/.m2 repository?

p.s. You need to consider installing a repository manager on your local network.
This will benefit you because there will be one repository that you
contact (your internal repo manager) instead of all the repositories
defined in your pom.xml.

This will speed up your build!!!
If you have N repositories defined then maven will check N
repositories for artifacts that do not exist, e.g. *All* your internal
artifacts like artifact descriptor for
com.kodak.intersystem:intersystem-common:jar:0.0.1-SNAPSHOT.  Each
query takes a few seconds to do.
Multiply N repos * A artifacts and you get serious degradation of build time.

There are bunch of other reasons as well, like saving network
bandwidth, and increased downloading speeds.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to