Right, but does it show your artifactory repository? -----Original Message----- From: edgarosy [mailto:edgar.l...@gmail.com] Sent: Friday, December 19, 2008 5:13 PM To: users@maven.apache.org Subject: RE: Unable to successfully complete a mvn install on one of my apps
When I run the mvn help:effective-settings -Pacp command I get a successfull build. justinedelson wrote: > > You might want to try running mvn help:effective-settings. > > Justin > > -----Original Message----- > From: edgarosy [mailto:edgar.l...@gmail.com] > Sent: Friday, December 19, 2008 4:36 PM > To: users@maven.apache.org > Subject: Unable to successfully complete a mvn install on one of my > apps > > > I have an application that I have been able to install successfully in > the past until I upgraded its pom and added the following dependencies: > > <dependency> > <groupId>SAP</groupId> > <artifactId>LOG</artifactId> > <version>7.0</version> > <scope>runtime</scope> > </dependency> > > <dependency> > <groupId>SAP</groupId> > <artifactId>EXCEPTION</artifactId> > <version>7.0</version> > <scope>runtime</scope> > </dependency> > > <dependency> > <groupId>SAP</groupId> > <artifactId>SAPCLIENT</artifactId> > <version>7.0</version> > <scope>runtime</scope> > </dependency> > > <dependency> > <groupId>SAP</groupId> > <artifactId>JMS</artifactId> > <version>1.1</version> > <scope>runtime</scope> > </dependency> > > I use artifactory so I uploaded all the listed dependencies jar files > to my artifactory repository. > > I verified that my settings.xml file have the right configuration on > the url for artifactory as well. > > After I do a mvn install -Pacp command I get the following error > message: > > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) SAP:LOG:jar:7.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=SAP -DartifactId=LOG > -Dversion=7.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the > file > there: > mvn deploy:deploy-file -DgroupId=SAP -DartifactId=LOG > -Dversion=7.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) com.octanner.batchapplications:pdr:jar:8.12 > 2) SAP:LOG:jar:7.0 > > 2) SAP:EXCEPTION:jar:7.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=SAP -DartifactId=EXCEPTION > -Dversion=7.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the > file > there: > mvn deploy:deploy-file -DgroupId=SAP -DartifactId=EXCEPTION > -Dversion=7.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) com.octanner.batchapplications:pdr:jar:8.12 > 2) SAP:EXCEPTION:jar:7.0 > > 3) SAP:SAPCLIENT:jar:7.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=SAP -DartifactId=SAPCLIENT > -Dversion=7.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the > file > there: > mvn deploy:deploy-file -DgroupId=SAP -DartifactId=SAPCLIENT > -Dversion=7.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) com.octanner.batchapplications:pdr:jar:8.12 > 2) SAP:SAPCLIENT:jar:7.0 > > 4) SAP:JMS:jar:1.1 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=SAP -DartifactId=JMS > -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the > file > there: > mvn deploy:deploy-file -DgroupId=SAP -DartifactId=JMS > -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) com.octanner.batchapplications:pdr:jar:8.12 > 2) SAP:JMS:jar:1.1 > > ---------- > 4 required artifacts are missing. > > for artifact: > com.octanner.batchapplications:pdr:jar:8.12 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > I don't understand why is trying to download these files from > http://repo1 instead of my own repository. > > any help would be greatly appreciated. > > -Miguel > -- > View this message in context: > http://www.nabble.com/Unable-to-successfully-complete-a-mvn-install-on > -o ne-of-my-apps-tp21098689p21098689.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/Unable-to-successfully-complete-a-mvn-install-on-o ne-of-my-apps-tp21098689p21098992.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org