complete log detials...........
8/19/09 12:19:27 PM IST: Build errors for test; org.apache.maven.lifecycle.LifecycleExecutionException: Missing: ---------- 1) javax.jms:jms:jar:1.1 Try downloading the file manually from: http://java.sun.com/products/jms/docs.html Then, install it using the command: mvn install:install-file -DgroupId=javax.jms -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=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.mycompany.app:test:jar:1.0-SNAPSHOT 2) javax.jms:jms:jar:1.1 2) com.sun.jdmk:jmxtools:jar:1.2.1 Try downloading the file manually from: http://java.sun.com/products/JavaManagement/download.html Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.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=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.mycompany.app:test:jar:1.0-SNAPSHOT 2) com.sun.jdmk:jmxtools:jar:1.2.1 3) com.sun.jmx:jmxri:jar:1.2.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.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=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.mycompany.app:test:jar:1.0-SNAPSHOT 2) com.sun.jmx:jmxri:jar:1.2.1 ---------- 3 required artifacts are missing. On Wed, Aug 19, 2009 at 12:32 PM, abcdef xyz <stuffme.h...@gmail.com> wrote: > Hi, > > > > > > New to maven, have to use maven for my new project. I have added the > following log4j artifact details to the POM.xml file, > > <dependency> > > <groupId>log4j</groupId> > > <artifactId>log4j</artifactId> > > <version>1.2.15</version> > > </dependency> > > > > then it has to download the following the jar and the maven need maintain > it in the repository. > > > > com.sun.jdmk jmxtools 1.2.1 > > com.sun.jmx jmxri 1.2.1 > > javax.jms jms 1.1 > > javax.mail mail 1.4 > > junit junit 3.8.1 > > oro oro 2.0.8 > > > > > > But I am getting the exception whenever I run mvn package/compile..... > > > > Please suggest me ..... > > >