I believe someone reported this earlier. You may want to search the mailing list archives (http://appfuse.markmail.org). I think this happens on Windows only.
Matt On Fri, Dec 11, 2009 at 3:54 PM, rocksjj <j...@rediffmail.com> wrote: > > I am able to run this command succesfully > > mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-modular-struts-archetype > -DarchetypeVersion=2.1.0-M1 -DgroupId=com.mycompany > -DartifactId=appfuse_struts > > After that when I try to try the command 'mvn appfuse:full-source' from the > project directory appfuse_struts it runs successfully. > > Then I try to run the command 'mvn' to download all the jars. It gives > error > 16 required artifacts not found. How do I resolve the error. The error > details are given below > > > > > Downloading: > > http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/${commons.beanutils.version}/commons-bean<http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/$%7Bcommons.beanutils.version%7D/commons-bean> > utils-${commons.beanutils.version}.pom > [INFO] Unable to find resource > 'commons-beanutils:commons-beanutils:pom:${commons.beanutils.version}' in > repository cent > ral (http://repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/commons-lang/commons-lang/${commons.lang.version}/commons-lang-${commons.lang<http://repo1.maven.org/maven2/commons-lang/commons-lang/$%7Bcommons.lang.version%7D/commons-lang-$%7Bcommons.lang> > .version}.pom > [INFO] Unable to find resource > 'commons-lang:commons-lang:pom:${commons.lang.version}' in repository > central (http://rep > o1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/javax/mail/mail/${javamail.version}/mail-${javamail.version}.pom<http://repo1.maven.org/maven2/javax/mail/mail/$%7Bjavamail.version%7D/mail-$%7Bjavamail.version%7D.pom> > [INFO] Unable to find resource 'javax.mail:mail:pom:${javamail.version}' in > repository central (http://repo1.maven.org/m > aven2 <http://repo1.maven.org/m%0Aaven2>) > Downloading: > > http://repo1.maven.org/maven2/javax/persistence/persistence-api/${jpa.version}/persistence-api-${jpa.versio<http://repo1.maven.org/maven2/javax/persistence/persistence-api/$%7Bjpa.version%7D/persistence-api-$%7Bjpa.versio> > n}.pom > [INFO] Unable to find resource > 'javax.persistence:persistence-api:pom:${jpa.version}' in repository > central > (http://repo > 1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/net/sf/ehcache/ehcache-core/${ehcache.version}/ehcache-core-${ehcache.version<http://repo1.maven.org/maven2/net/sf/ehcache/ehcache-core/$%7Behcache.version%7D/ehcache-core-$%7Behcache.version> > }.pom > [INFO] Unable to find resource > 'net.sf.ehcache:ehcache-core:pom:${ehcache.version}' in repository central > (http://repo1. > maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-frontend-jaxrs/${cxf.version}/cxf-rt-frontend-jaxrs-${c<http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-frontend-jaxrs/$%7Bcxf.version%7D/cxf-rt-frontend-jaxrs-$%7Bc> > xf.version}.pom > [INFO] Unable to find resource > 'org.apache.cxf:cxf-rt-frontend-jaxrs:pom:${cxf.version}' in repository > central (http://r > epo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/apache/cxf/cxf-common-utilities/${cxf.version}/cxf-common-utilities-${cxf<http://repo1.maven.org/maven2/org/apache/cxf/cxf-common-utilities/$%7Bcxf.version%7D/cxf-common-utilities-$%7Bcxf> > .version}.pom > [INFO] Unable to find resource > 'org.apache.cxf:cxf-common-utilities:pom:${cxf.version}' in repository > central (http://re > po1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-transports-http/${cxf.version}/cxf-rt-transports-http-$<http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-transports-http/$%7Bcxf.version%7D/cxf-rt-transports-http-$> > {cxf.version}.pom > [INFO] Unable to find resource > 'org.apache.cxf:cxf-rt-transports-http:pom:${cxf.version}' in repository > central (http:// > repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-frontend-jaxws/${cxf.version}/cxf-rt-frontend-jaxws-${c<http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-frontend-jaxws/$%7Bcxf.version%7D/cxf-rt-frontend-jaxws-$%7Bc> > xf.version}.pom > [INFO] Unable to find resource > 'org.apache.cxf:cxf-rt-frontend-jaxws:pom:${cxf.version}' in repository > central (http://r > epo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/compass-project/compass/${compass.version}/compass-${compass.version}.pom<http://repo1.maven.org/maven2/org/compass-project/compass/$%7Bcompass.version%7D/compass-$%7Bcompass.version%7D.pom> > > [INFO] Unable to find resource > 'org.compass-project:compass:pom:${compass.version}' in repository central > (http://repo1. > maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/hibernate/hibernate-annotations/${hibernate.annotations.version}/hibernat > e-annotations-${hibernate.annotations.version}.pom<http://repo1.maven.org/maven2/org/hibernate/hibernate-annotations/$%7Bhibernate.annotations.version%7D/hibernat%0Ae-annotations-$%7Bhibernate.annotations.version%7D.pom> > [INFO] Unable to find resource > 'org.hibernate:hibernate-annotations:pom:${hibernate.annotations.version}' > in repository > central (http://repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/hibernate/hibernate-core/${hibernate.version}/hibernate-core-${hibernate<http://repo1.maven.org/maven2/org/hibernate/hibernate-core/$%7Bhibernate.version%7D/hibernate-core-$%7Bhibernate> > . > version}.pom > [INFO] Unable to find resource > 'org.hibernate:hibernate-core:pom:${hibernate.version}' in repository > central (http://rep > o1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/hibernate/hibernate-ehcache/${hibernate.version}/hibernate-ehcache-${hibe<http://repo1.maven.org/maven2/org/hibernate/hibernate-ehcache/$%7Bhibernate.version%7D/hibernate-ehcache-$%7Bhibe> > rnate.version}.pom > [INFO] Unable to find resource > 'org.hibernate:hibernate-ehcache:pom:${hibernate.version}' in repository > central (http:// > repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/velocity/velocity/${velocity.version}/velocity-${velocity.version}.pom<http://repo1.maven.org/maven2/velocity/velocity/$%7Bvelocity.version%7D/velocity-$%7Bvelocity.version%7D.pom> > > > . > . > . > > > > . > aven2) > [INFO] Unable to find resource > 'org.apache.cxf:cxf-common-utilities:jar:${cxf.version}' in repository > central (http://re > po1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-transports-http/${cxf.version}/cxf-rt-transports-http-$<http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-transports-http/$%7Bcxf.version%7D/cxf-rt-transports-http-$> > {cxf.version}.jar > [INFO] Unable to find resource > 'org.hibernate:hibernate-core:jar:${hibernate.version}' in repository > central (http://rep > o1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/hibernate/hibernate-ehcache/${hibernate.version}/hibernate-ehcache-${hibe<http://repo1.maven.org/maven2/org/hibernate/hibernate-ehcache/$%7Bhibernate.version%7D/hibernate-ehcache-$%7Bhibe> > rnate.version}.jar > [INFO] Unable to find resource > 'org.apache.cxf:cxf-rt-transports-http:jar:${cxf.version}' in repository > central (http:// > repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-frontend-jaxws/${cxf.version}/cxf-rt-frontend-jaxws-${c<http://repo1.maven.org/maven2/org/apache/cxf/cxf-rt-frontend-jaxws/$%7Bcxf.version%7D/cxf-rt-frontend-jaxws-$%7Bc> > xf.version}.jar > [INFO] Unable to find resource > 'org.hibernate:hibernate-ehcache:jar:${hibernate.version}' in repository > central (http:// > repo1.maven.org/maven2) > [INFO] Unable to find resource > 'org.apache.cxf:cxf-rt-frontend-jaxws:jar:${cxf.version}' in repository > central (http://r > epo1.maven.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.hibernate:hibernate-annotations:jar:${hibernate.annotations.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.hibernate > -DartifactId=hibernate-annotations -Dversion=${hibernate.annotati > ons.version} -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.hibernate > -DartifactId=hibernate-annotations -Dversion=${hibernate.annotation > s.version} -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) > org.hibernate:hibernate-annotations:jar:${hibernate.annotations.version} > > 2) net.sf.ehcache:ehcache-core:jar:${ehcache.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=net.sf.ehcache > -DartifactId=ehcache-core -Dversion=${ehcache.version} -Dpackagi > ng=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=net.sf.ehcache > -DartifactId=ehcache-core -Dversion=${ehcache.version} -Dpackaging > =jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) net.sf.ehcache:ehcache-core:jar:${ehcache.version} > > 3) commons-beanutils:commons-beanutils:jar:${commons.beanutils.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=commons-beanutils > -DartifactId=commons-beanutils -Dversion=${commons.beanutils. > version} -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=commons-beanutils > -DartifactId=commons-beanutils -Dversion=${commons.beanutils.ve > rsion} -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) > commons-beanutils:commons-beanutils:jar:${commons.beanutils.version} > > 4) javax.persistence:persistence-api:jar:${jpa.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=javax.persistence > -DartifactId=persistence-api -Dversion=${jpa.version} -Dpacka > ging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=javax.persistence > -DartifactId=persistence-api -Dversion=${jpa.version} -Dpackagi > ng=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) javax.persistence:persistence-api:jar:${jpa.version} > > 5) org.compass-project:compass:jar:${compass.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.compass-project > -DartifactId=compass -Dversion=${compass.version} -Dpackagi > ng=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.compass-project > -DartifactId=compass -Dversion=${compass.version} -Dpackaging > =jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) org.compass-project:compass:jar:${compass.version} > > 6) velocity:velocity:jar:${velocity.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=velocity -DartifactId=velocity > -Dversion=${velocity.version} -Dpackaging=jar -D > file=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=velocity -DartifactId=velocity > -Dversion=${velocity.version} -Dpackaging=jar -Dfi > le=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) velocity:velocity:jar:${velocity.version} > > 7) commons-lang:commons-lang:jar:${commons.lang.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=commons-lang > -DartifactId=commons-lang -Dversion=${commons.lang.version} -Dpack > aging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=commons-lang > -DartifactId=commons-lang -Dversion=${commons.lang.version} -Dpackag > ing=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) commons-lang:commons-lang:jar:${commons.lang.version} > > 8) > > org.springframework.security:spring-security-core-tiger:jar:${spring.security.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.springframework.security > -DartifactId=spring-security-core-tiger -Dversion= > ${spring.security.version} -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.springframework.security > -DartifactId=spring-security-core-tiger -Dversion=${ > spring.security.version} -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) > > org.springframework.security:spring-security-core-tiger:jar:${spring.security.version} > > 9) log4j:log4j:jar:${log4j.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=log4j -DartifactId=log4j > -Dversion=${log4j.version} -Dpackaging=jar -Dfile=/pat > h/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=log4j -DartifactId=log4j > -Dversion=${log4j.version} -Dpackaging=jar -Dfile=/path/ > to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) log4j:log4j:jar:${log4j.version} > > 10) org.apache.cxf:cxf-rt-frontend-jaxrs:jar:${cxf.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.cxf > -DartifactId=cxf-rt-frontend-jaxrs -Dversion=${cxf.version} -Dpa > ckaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.cxf > -DartifactId=cxf-rt-frontend-jaxrs -Dversion=${cxf.version} -Dpack > aging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) org.apache.cxf:cxf-rt-frontend-jaxrs:jar:${cxf.version} > > 11) javax.mail:mail:jar:${javamail.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=javax.mail -DartifactId=mail > -Dversion=${javamail.version} -Dpackaging=jar -Dfi > le=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=javax.mail -DartifactId=mail > -Dversion=${javamail.version} -Dpackaging=jar -Dfile > =/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) javax.mail:mail:jar:${javamail.version} > > 12) org.apache.cxf:cxf-common-utilities:jar:${cxf.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.cxf > -DartifactId=cxf-common-utilities -Dversion=${cxf.version} -Dpac > kaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.cxf > -DartifactId=cxf-common-utilities -Dversion=${cxf.version} -Dpacka > ging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) org.apache.cxf:cxf-common-utilities:jar:${cxf.version} > > 13) org.hibernate:hibernate-core:jar:${hibernate.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.hibernate > -DartifactId=hibernate-core -Dversion=${hibernate.version} -Dpack > aging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.hibernate > -DartifactId=hibernate-core -Dversion=${hibernate.version} -Dpackag > ing=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) org.hibernate:hibernate-core:jar:${hibernate.version} > > 14) org.apache.cxf:cxf-rt-transports-http:jar:${cxf.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.cxf > -DartifactId=cxf-rt-transports-http -Dversion=${cxf.version} -Dp > ackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.cxf > -DartifactId=cxf-rt-transports-http -Dversion=${cxf.version} -Dpac > kaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) org.apache.cxf:cxf-rt-transports-http:jar:${cxf.version} > > 15) org.hibernate:hibernate-ehcache:jar:${hibernate.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.hibernate > -DartifactId=hibernate-ehcache -Dversion=${hibernate.version} -Dp > ackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.hibernate > -DartifactId=hibernate-ehcache -Dversion=${hibernate.version} -Dpac > kaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) org.hibernate:hibernate-ehcache:jar:${hibernate.version} > > 16) org.apache.cxf:cxf-rt-frontend-jaxws:jar:${cxf.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.cxf > -DartifactId=cxf-rt-frontend-jaxws -Dversion=${cxf.version} -Dpa > ckaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.cxf > -DartifactId=cxf-rt-frontend-jaxws -Dversion=${cxf.version} -Dpack > aging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.mycompany:core:jar:1.0-SNAPSHOT > 2) org.apache.cxf:cxf-rt-frontend-jaxws:jar:${cxf.version} > > ---------- > 16 required artifacts are missing. > > for artifact: > com.mycompany:core:jar:1.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > appfuse-snapshots > (http://oss.sonatype.org/content/repositories/appfuse-snapshots) > > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 57 seconds > [INFO] Finished at: Sat Dec 12 09:45:28 EST 2009 > [INFO] Final Memory: 16M/254M > [INFO] > ------------------------------------------------------------------------ > > Thanks > Thomas > -- > View this message in context: > http://n4.nabble.com/required-artifacts-are-missing-for-build-tp961490p961490.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >