Hi all,

I use mvn to build/compile my multi-project locally and it is successful.
Later I deploy it to the TeamCity and build/compile it again. But htis time
I got error as follow. From the error message one can see one that "1
required artifact is missing". But which one is this? 

***************
...
 [INFO]
------------------------------------------------------------------------[14:36:57]:
[ERROR] BUILD ERROR[14:36:57]: [INFO]
------------------------------------------------------------------------[14:36:57]:
[INFO] Failed to resolve artifact.[14:36:57]: Missing:[14:36:57]:
----------[14:36:57]: 1)
local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT[14:36:57]:   Path to
dependency: [14:36:57]:         1)
de.proactiv.mq.monitoring.ws:mq-monitoring-ws:war:1.0-SNAPSHOT[14:36:57]:   
2) local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT[14:36:57]:
----------[14:36:57]: 1 required artifact is missing.[14:36:57]: for
artifact: [14:36:57]:  
de.proactiv.mq.monitoring.ws:mq-monitoring-ws:war:1.0-SNAPSHOT[14:36:57]:
from the specified remote repositories:[14:36:57]:   ibiblio.org
(http://mirrors.ibiblio.org/pub/mirrors/maven2),[14:36:57]:  
com.springsource.repository.bundles.release
(http://repository.springsource.com/maven/bundles/release),[14:36:57]:  
custom-artifacts
(file:///opt/maven-repositorys/custom-artifact-repository),[14:36:57]:  
codehaus (http://repository.codehaus.org/),[14:36:57]:  
com.springsource.repository.bundles.external
(http://repository.springsource.com/maven/bundles/external),[14:36:57]:  
com.springsource.repository.bundles.snapshot
(http://repository.springsource.com/maven/bundles/snapshot),[14:36:57]:  
maven2-repository.dev.java.net
(http://download.java.net/maven/2),[14:36:57]:  
maven-repository.dev.java.net (http://download.java.net/maven/1),[14:36:57]:  
proactiv-snapshot
(file:///opt/maven-repositorys/snapshot-repository),[14:36:57]:  
proactiv-release
(file:///opt/maven-repositorys/release-repository),[14:36:57]:   JBOSS
(http://repository.jboss.org/maven2)[14:36:58]: [INFO]
------------------------------------------------------------------------[14:36:58]:
[INFO] Trace[14:36:58]:
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:[14:36:58]:
----------[14:36:58]: 1)
local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT[14:36:58]:   Path to
dependency: [14:36:58]:         1)
de.proactiv.mq.monitoring.ws:mq-monitoring-ws:war:1.0-SNAPSHOT[14:36:58]:   
2) local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT[14:36:58]:
----------[14:36:58]: 1 required artifact is missing.[14:36:58]: for
artifact: [14:36:58]:  
de.proactiv.mq.monitoring.ws:mq-monitoring-ws:war:1.0-SNAPSHOT[14:36:58]:
from the specified remote repositories:[14:36:58]:   ibiblio.org
(http://mirrors.ibiblio.org/pub/mirrors/maven2),[14:36:58]:  
com.springsource.repository.bundles.release
(http://repository.springsource.com/maven/bundles/release),[14:36:58]:  
custom-artifacts
(file:///opt/maven-repositorys/custom-artifact-repository),[14:36:58]:  
codehaus (http://repository.codehaus.org/),[14:36:58]:  
com.springsource.repository.bundles.external
(http://repository.springsource.com/maven/bundles/external),[14:36:58]:  
com.springsource.repository.bundles.snapshot
(http://repository.springsource.com/maven/bundles/snapshot),[14:36:58]:  
maven2-repository.dev.java.net
(http://download.java.net/maven/2),[14:36:58]:  
maven-repository.dev.java.net (http://download.java.net/maven/1),[14:36:58]:  
proactiv-snapshot
(file:///opt/maven-repositorys/snapshot-repository),[14:36:58]:  
proactiv-release
(file:///opt/maven-repositorys/release-repository),[14:36:58]:   JBOSS
(http://repository.jboss.org/maven2)[14:36:58]:         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)[14:36:58]:
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)[14:36:58]:
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)[14:36:58]:
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)[14:36:58]:
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)[14:36:58]:
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)[14:36:58]:
 
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)[14:36:58]: 
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)[14:36:58]: 
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)[14:36:58]:     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[14:36:58]:  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[14:36:58]:
 
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[14:36:58]:
 
at java.lang.reflect.Method.invoke(Method.java:585)[14:36:58]:  at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)[14:36:58]: 
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)[14:36:58]: 
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)[14:36:58]:
 
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[14:36:58]:
Caused by:
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:[14:36:58]: ----------[14:36:58]: 1)
local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT[14:36:58]:   Path to
dependency: [14:36:58]:         1)
de.proactiv.mq.monitoring.ws:mq-monitoring-ws:war:1.0-SNAPSHOT[14:36:58]:   
2) local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT[14:36:58]:
----------[14:36:58]: 1 required artifact is missing.[14:36:58]: for
artifact: [14:36:58]:  
de.proactiv.mq.monitoring.ws:mq-monitoring-ws:war:1.0-SNAPSHOT[14:36:58]:
from the specified remote repositories:[14:36:58]:   ibiblio.org
(http://mirrors.ibiblio.org/pub/mirrors/maven2),[14:36:58]:  
com.springsource.repository.bundles.release
(http://repository.springsource.com/maven/bundles/release),[14:36:58]:  
custom-artifacts
(file:///opt/maven-repositorys/custom-artifact-repository),[14:36:58]:  
codehaus (http://repository.codehaus.org/),[14:36:58]:  
com.springsource.repository.bundles.external
(http://repository.springsource.com/maven/bundles/external),[14:36:58]:  
com.springsource.repository.bundles.snapshot
(http://repository.springsource.com/maven/bundles/snapshot),[14:36:58]:  
maven2-repository.dev.java.net
(http://download.java.net/maven/2),[14:36:58]:  
maven-repository.dev.java.net (http://download.java.net/maven/1),[14:36:58]:  
proactiv-snapshot
(file:///opt/maven-repositorys/snapshot-repository),[14:36:58]:  
proactiv-release
(file:///opt/maven-repositorys/release-repository),[14:36:58]:   JBOSS
(http://repository.jboss.org/maven2)[14:36:58]:         at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:324)[14:36:58]:
 
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288)[14:36:58]:
 
at
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1415)[14:36:58]:
 
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:405)[14:36:58]:
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)[14:36:58]:
 
... 16 more
-- 
View this message in context: 
http://www.nabble.com/required-artifact-is-missing-......-tp21372605p21372605.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to