And the obvious question: Have you checked if the artifact exists in your proxy? Maven says it doesn't, that's the problem.
/Anders On Tue, Aug 17, 2010 at 12:53, SRIRAMULU, PARANTHAMAN (PARANTHAMAN) < paranthaman.sriram...@alcatel-lucent.com> wrote: > > > Hi All, > > Need your help in trying to fix this problem. > > I created a proxy/repo similar to an existing and running setup at > different location using rsync mirrored directories Proxycache, Internal and > Releases from old setup to new. (Only one way) > While using this setup and compiling, it fails during downloading > few jar files to .m2 directory. > I can download & install them manually and the builds are fine after > doing the same for few more failed jar files. Since they reside in the .m2 > directory, next time compilation will go thru fine. > > I need to get the install right first time. > > > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] Building AxS Root POM > [INFO] task-segment: [install] > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > /var/axs/collectors_branches/9.0.1/setup/top-pom/auto-pom= > .xml > = > to > /homes/users/axsbuild/.m2/repository/com/alcatel/axs/setup/axs-ro= > ot-pom/9.0.1 > = > -SNAPSHOT/axs-root-pom-9.0.1-SNAPSHOT.pom > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] Building AxS Core Platform Root POM > [INFO] task-segment: [install] > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > /var/axs/collectors_branches/9.0.1/basic.app/auto-pom.xml= > to / > = > > homes/users/axsbuild/.m2/repository/com/alcatel/axs/basic/app/axs-co= > re-root-pom/ > = > 9.0.1-SNAPSHOT/axs-core-root-pom-9.0.1-SNAPSHOT.pom > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] Building AxS Plugin API > [INFO] task-segment: [install] > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date [INFO] > [resources:te= > stResources] [INFO] Using default encoding to copy filtered > resources. > [INFO] [compiler:testCompile] > [INFO] No sources to compile > [INFO] [surefire:test] > [INFO] No tests to run. > [INFO] [jar:jar] > [INFO] Building jar: > /var/axs/collectors_branches/9.0.1/basic.app/container= > /axs- > = > plugin-api/target/axs-plugin-api-9.0.1-SNAPSHOT.jar > [INFO] [install:install] > [INFO] Installing > /var/axs/collectors_branches/9.0.1/basic.app/container/ax= > s-plu > = > gin-api/target/axs-plugin-api-9.0.1-SNAPSHOT.jar to > /homes/users/axs= > build/.m2/re > = > > pository/com/alcatel/axs/basic/app/axs-plugin-api/9.0.1-SNAPS= > HOT/axs-plugin-api- > = > 9.0.1-SNAPSHOT.jar > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] Building AxS MObject API > [INFO] task-segment: [install] > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: > http://avatar.in.alcatel-lucent.com:9999/maven2/org/jboss/jbos= > s-vfs < > http://avatar.in.alcatel-lucent.com:9999/maven2/org/jboss/jbos= s-vfs> > = > /2.0.0.CR1/jboss-vfs-2.0.0.CR1.jar > 190K downloaded > [INFO] > --------------------------------------------------------------------= > ---- > [ERROR] BUILD ERROR > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.jboss:jboss-vfs:jar:2.0.0.CR1 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=3Dorg.jboss > -DartifactId=3Djboss-v= > fs -Dvers > = > ion=3D2.0.0.CR1 -Dpackaging=3Djar -Dfile=3D/path/to/file > > Alternatively, if you host your own repository you can deploy the > file th= > ere: > mvn deploy:deploy-file -DgroupId=3Dorg.jboss > -DartifactId=3Djboss-vfs= > -Dversio > = > n=3D2.0.0.CR1 -Dpackaging=3Djar -Dfile=3D/path/to/file > -Durl=3D[= > url] -DrepositoryId=3D[id] > > Path to dependency: > 1) > com.alcatel.axs.basic.app:axs-mobject-api:jar:9.0.1-SNAPSHOT > 2) org.jboss.jbossas:jboss-as-server:jar:5.1.0.GA > 3) org.jboss.metadata:jboss-metadata:jar:1.0.1.GA > 4) org.jboss:jboss-vfs:jar:2.0.0.CR1 > > ---------- > 1 required artifact is missing. > > for artifact: > com.alcatel.axs.basic.app:axs-mobject-api:jar:9.0.1-SNAPSHOT > > from the specified remote repositories: > mavenproxy (http://avatar.in.alcatel-lucent.com:9999/maven2) > > > [INFO] > --------------------------------------------------------------------= > ---- > [INFO] For more information, run Maven with the -e switch [INFO] > ----------= > -------------------------------------------------------------- > [INFO] Total time: 4 minutes 16 seconds > [INFO] Finished at: Thu Jul 29 15:45:20 IST 2010 [INFO] Final > Memory: 112M/= > 422M [INFO] > ---------------------------------------------------------------= > --------- > Regards > Paranthu > > > --_000_CDF3DFFDAD792B4497372A77F3D2A5BF16EC8BA7INBANSXCHMBSB1i_ > Content-Type: text/html; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > <html> > <head> > <meta http-equiv=3D"Content-Type" content=3D"text/html; > charset=3Dus-ascii"= > > > <meta name=3D"Generator" content=3D"Microsoft Exchange Server"> > <!-- converted from rtf --> > <style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; > border-left:= > #800000 2px solid; } --></style> > </head> > <body> > <font face=3D"Arial, sans-serif" size=3D"2"> > <div><font color=3D"#000080">Hi All,</font></div> > <div><font color=3D"#000080"> </font></div> > <div><font color=3D"#000080">Need your help in trying to fix this > problem.<= > /font></div> > <div><font color=3D"#000080"> </font></div> > <div><font color=3D"#000080">I created a proxy/repo similar to an > existing = > and running setup at different location using rsync mirrored > directories Pr= > oxycache, Internal and Releases from old setup to new. (Only one > way)</font= > ></div> > <div><font color=3D"#000080">While using this setup and compiling, > it fails= > during downloading few jar files to .m2 directory. </font></div> > <div><font color=3D"#000080">I can download & install them > manually and= > the builds are fine after doing the same for few more failed jar > files. Si= > nce they reside in the .m2 directory, next time compilation will go > thru fi= > ne.</font></div> > <div><font color=3D"#000080"> </font></div> > <div><font color=3D"#000080">I need to get the install right first > time.</f= > ont></div> > <div><font face=3D"FuturaA Bk BT, sans-serif" size=3D"2" > color=3D"#000080">= > </font></div> > <div><font face=3D"FuturaA Bk BT, sans-serif" size=3D"2" > color=3D"#000080">= > </font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Building AxS Root > POM</fo= > nt></div> > <div><font face=3D"Courier New, monospace">[INFO] > task-se= > gment: [install]</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [site:attach-descriptor]<= > /font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [install:install]</font><= > /div> > <div><font face=3D"Courier New, monospace">[INFO] Installing > /var/axs/colle= > > ctors_branches/9.0.1/setup/top-pom/auto-pom.xml &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > nbsp; to > /homes/users= > > /axsbuild/.m2/repository/com/alcatel/axs/setup/axs-root-pom/9.0.1 &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > > nbsp; > -SNAPSHOT/axs-root-pom-9.0.1-SNAPSHOT.pom</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Building AxS Core > Platfor= > m Root POM</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > task-se= > gment: [install]</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [site:attach-descriptor]<= > /font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [install:install]</font><= > /div> > <div><font face=3D"Courier New, monospace">[INFO] Installing > /var/axs/colle= > ctors_branches/9.0.1/basic.app/auto-pom.xml to > / &nb= > > sp; = > > &nb= > > sp; = > > &nb= > > sp; = > > homes/users/axsbuild= > > /.m2/repository/com/alcatel/axs/basic/app/axs-core-root-pom/ &nb= > > sp; = > > &nb= > > sp; = > > &nb= > > sp; = > > 9.0.1-SNAPSHOT/axs-core-root-pom-9.0.1-SNAPSHOT.pom</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Building AxS > Plugin API</= > font></div> > <div><font face=3D"Courier New, monospace">[INFO] > task-se= > gment: [install]</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [resources:resources]</fo= > nt></div> > <div><font face=3D"Courier New, monospace">[INFO] Using default > encoding to= > copy filtered resources.</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [compiler:compile]</font>= > </div> > <div><font face=3D"Courier New, monospace">[INFO] Nothing to compile > - all = > classes are up to date [INFO] [resources:testResources] [INFO] Using > defaul= > t encoding to copy filtered resources.</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [compiler:testCompile]</f= > ont></div> > <div><font face=3D"Courier New, monospace">[INFO] No sources to > compile</fo= > nt></div> > <div><font face=3D"Courier New, monospace">[INFO] > [surefire:test]</font></d= > iv> > <div><font face=3D"Courier New, monospace">[INFO] No tests to > run.</font></= > div> > <div><font face=3D"Courier New, monospace">[INFO] > [jar:jar]</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Building jar: > /var/axs/co= > > llectors_branches/9.0.1/basic.app/container/axs- &nb= > > sp; = > > &nb= > > sp; = > > &nb= > > sp; = > > plugin-api/target/ax= > s-plugin-api-9.0.1-SNAPSHOT.jar</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [install:install]</font><= > /div> > <div><font face=3D"Courier New, monospace">[INFO] Installing > /var/axs/colle= > > ctors_branches/9.0.1/basic.app/container/axs-plu &nb= > > sp; = > > &nb= > > sp; = > > &nb= > > sp; = > > gin-api/target/axs-p= > lugin-api-9.0.1-SNAPSHOT.jar to > /homes/users/axsbuild/.m2/re &nb= > > sp; = > > &nb= > > sp; = > > &nb= > > sp; = > > > pository/com/alcatel/axs/basic/app/axs-plugin-api/9.0.1-SNAPSHOT/axs-plugin= > > -api- &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > nbsp; 9.0.1-SNAPSHOT.jar</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Building AxS > MObject API<= > /font></div> > <div><font face=3D"Courier New, monospace">[INFO] > task-se= > gment: [install]</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > [resources:resources]</fo= > nt></div> > <div><font face=3D"Courier New, monospace">[INFO] Using default > encoding to= > copy filtered resources.</font></div> > <div><font face=3D"Courier New, monospace">Downloading: <a href=3D" > http://a= > vatar.in.alcatel-lucent.com:9999/maven2/org/jboss/jboss-vfs"><font > color=3D= > "#0000FF"><u> > http://avatar.in.alcatel-lucent.com:9999/maven2/org/jboss/jbos= > s-vfs < > http://avatar.in.alcatel-lucent.com:9999/maven2/org/jboss/jbos= s-vfs> > </u></font></a> &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > p; > /2.0.0.CR1/jboss-vfs-2.0.0.CR1.jar</font></div> > <div><font face=3D"Courier New, monospace">190K > downloaded</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[ERROR] BUILD > ERROR</font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Failed to resolve > artifac= > t.</font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace">Missing:</font></div> > <div><font face=3D"Courier New, monospace">----------</font></div> > <div><font face=3D"Courier New, monospace">1) > org.jboss:jboss-vfs:jar:2.0.0= > .CR1</font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace"> Try downloading > the file = > manually from the project website.</font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace"> Then, install it > using th= > e command:</font></div> > <div><font face=3D"Courier New, > monospace"> m= > vn install:install-file -DgroupId=3Dorg.jboss > -DartifactId=3Djboss-vfs -Dve= > > rs &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > p; ion=3D2.0.0.CR1 -Dpackaging=3Djar > -Dfile=3D/path/to/file</font></d= > iv> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace"> Alternatively, if > you hos= > t your own repository you can deploy the file there:</font></div> > <div><font face=3D"Courier New, > monospace"> m= > vn deploy:deploy-file -DgroupId=3Dorg.jboss -DartifactId=3Djboss-vfs > -Dvers= > > io &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > > p; &= > > nbsp; &nbs= > p; n=3D2.0.0.CR1 -Dpackaging=3Djar -Dfile=3D/path/to/file > -Durl=3D[ur= > l] > -DrepositoryId=3D[id]</font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace"> Path to > dependency:</font= > ></div> > <div><font face=3D"Courier New, > monospace"> &n= > bsp; 1) > com.alcatel.axs.basic.app:axs-mobject-api:jar:9.0.1-SNAPSHOT<= > /font></div> > <div><font face=3D"Courier New, > monospace"> &n= > bsp; 2) org.jboss.jbossas:jboss-as-server:jar:5.1.0.GA > </font></div> > <div><font face=3D"Courier New, > monospace"> &n= > bsp; 3) org.jboss.metadata:jboss-metadata:jar:1.0.1.GA > </font></div> > <div><font face=3D"Courier New, > monospace"> &n= > bsp; 4) org.jboss:jboss-vfs:jar:2.0.0.CR1</font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace">----------</font></div> > <div><font face=3D"Courier New, monospace">1 required artifact is > missing.<= > /font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace">for > artifact:</font></div> > <div><font face=3D"Courier New, monospace"> > com.alcatel.axs.basic.app= > :axs-mobject-api:jar:9.0.1-SNAPSHOT</font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace">from the specified remote > reposi= > tories:</font></div> > <div><font face=3D"Courier New, monospace"> mavenproxy (<a > href=3D"ht= > tp://avatar.in.alcatel-lucent.com:9999/maven2"><font > color=3D"#0000FF"><u>h= > ttp://avatar.in.alcatel-lucent.com:9999/maven2 > </u></font></a>)</font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace"> </font></div> > <div><font face=3D"Courier New, monospace">[INFO] > -------------------------= > -----------------------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] For more > information, run= > Maven with the -e switch [INFO] > ------------------------------------------= > ------------------------------</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Total time: 4 > minutes 16 = > seconds</font></div> > <div><font face=3D"Courier New, monospace">[INFO] Finished at: Thu > Jul 29 1= > 5:45:20 IST 2010 [INFO] Final Memory: 112M/422M [INFO] > --------------------= > ----------------------------------------------------</font></div> > <div><font color=3D"#000080">Regards</font></div> > <div><font color=3D"#000080">Paranthu</font></div> > <div><font face=3D"FuturaA Bk BT, sans-serif" > size=3D"2"> </font></div= > > > </font> > </body> > </html> > > --_000_CDF3DFFDAD792B4497372A77F3D2A5BF16EC8BA7INBANSXCHMBSB1i_-- > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >