Which version of AppFuse are you using? I fixed this a few nights ago in 2.1.0-M2-SNAPSHOT.
On Oct 5, 2010, at 11:39 AM, m_aliyar wrote: > > I tried with Maven 2.2.1 and project created successfully , but when I try to > compile it shows 7 required artifacts are missing. full log is given below. > > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] AppFuse Modular Application > [INFO] AppFuse Modular Application - Core > [INFO] AppFuse Modular Application - Web (Spring MVC) > [INFO] > ------------------------------------------------------------------------ > [INFO] Building AppFuse Modular Application > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] > [INFO] [install:install {execution: default-install}] > [INFO] Installing D:\Java Programs\FixedAssets\pom.xml to C:\Users\Mohammed > Ali\.m2\repository\RoyalSoft\FixedAssets\1.0-SNAPSHOT\FixedAssets-1.0-SNAPSHOT.pom > [INFO] > ------------------------------------------------------------------------ > [INFO] Building AppFuse Modular Application - Core > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:resources {execution: default-resources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 8 resources > Downloading: > http://repo1.maven.org/maven2/commons-lang/commons-lang/${commons.lang.version}/commons-lang-${commons.lang.version}.pom > [INFO] Unable to find resource > 'commons-lang:commons-lang:pom:${commons.lang.version}' in repository > central (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/log4j/log4j/${log4j.version}/log4j-${log4j.version}.pom > [INFO] Unable to find resource 'log4j:log4j:pom:${log4j.version}' in > repository central (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/slf4j/slf4j-api/${slf4j.version}/slf4j-api-${slf4j.version}.pom > [INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:${slf4j.version}' in > repository central (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/${slf4j.version}/jcl-over-slf4j-${slf4j.version}.pom > [INFO] Unable to find resource > 'org.slf4j:jcl-over-slf4j:pom:${slf4j.version}' in repository central > (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/${slf4j.version}/slf4j-log4j12-${slf4j.version}.pom > [INFO] Unable to find resource > 'org.slf4j:slf4j-log4j12:pom:${slf4j.version}' in repository central > (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/${spring.security.version}/spring-security-core-${spring.security.version}.pom > [INFO] Unable to find resource > 'org.springframework.security:spring-security-core:pom:${spring.security.version}' > in repository central (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/springframework/security/spring-security-config/${spring.security.version}/spring-security-config-${spring.security.version}.pom > [INFO] Unable to find resource > 'org.springframework.security:spring-security-config:pom:${spring.security.version}' > in repository central (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/${spring.security.version}/spring-security-core-${spring.security.version}.jar > Downloading: > http://repo1.maven.org/maven2/commons-lang/commons-lang/${commons.lang.version}/commons-lang-${commons.lang.version}.jar > Downloading: > http://repo1.maven.org/maven2/org/slf4j/slf4j-api/${slf4j.version}/slf4j-api-${slf4j.version}.jar > Downloading: > http://repo1.maven.org/maven2/log4j/log4j/${log4j.version}/log4j-${log4j.version}.jar > [INFO] Unable to find resource > 'org.springframework.security:spring-security-core:jar:${spring.security.version}' > in repository central (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/springframework/security/spring-security-config/${spring.security.version}/spring-security-config-${spring.security.version}.jar > [INFO] Unable to find resource 'org.slf4j:slf4j-api:jar:${slf4j.version}' in > repository central (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/${slf4j.version}/jcl-over-slf4j-${slf4j.version}.jar > [INFO] Unable to find resource > 'commons-lang:commons-lang:jar:${commons.lang.version}' in repository > central (http://repo1.maven.org/maven2) > [INFO] Unable to find resource 'log4j:log4j:jar:${log4j.version}' in > repository central (http://repo1.maven.org/maven2) > [INFO] Unable to find resource > 'org.springframework.security:spring-security-config:jar:${spring.security.version}' > in repository central (http://repo1.maven.org/maven2) > [INFO] Unable to find resource > 'org.slf4j:jcl-over-slf4j:jar:${slf4j.version}' in repository central > (http://repo1.maven.org/maven2) > Downloading: > http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/${slf4j.version}/slf4j-log4j12-${slf4j.version}.jar > [INFO] Unable to find resource > 'org.slf4j:slf4j-log4j12:jar:${slf4j.version}' in repository central > (http://repo1.maven.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) > org.springframework.security:spring-security-core: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 -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 -Dversion=${spring.security.version} > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) RoyalSoft:core:jar:1.0-SNAPSHOT > 2) > org.springframework.security:spring-security-core:jar:${spring.security.version} > > 2) org.slf4j:slf4j-api:jar:${slf4j.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.slf4j -DartifactId=slf4j-api > -Dversion=${slf4j.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.slf4j -DartifactId=slf4j-api > -Dversion=${slf4j.version} -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) RoyalSoft:core:jar:1.0-SNAPSHOT > 2) org.slf4j:slf4j-api:jar:${slf4j.version} > > 3) 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} -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-lang > -DartifactId=commons-lang -Dversion=${commons.lang.version} -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) RoyalSoft:core:jar:1.0-SNAPSHOT > 2) commons-lang:commons-lang:jar:${commons.lang.version} > > 4) 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=/path/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) RoyalSoft:core:jar:1.0-SNAPSHOT > 2) log4j:log4j:jar:${log4j.version} > > 5) > org.springframework.security:spring-security-config: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-config -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-config -Dversion=${spring.security.version} > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) RoyalSoft:core:jar:1.0-SNAPSHOT > 2) > org.springframework.security:spring-security-config:jar:${spring.security.version} > > 6) org.slf4j:jcl-over-slf4j:jar:${slf4j.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.slf4j > -DartifactId=jcl-over-slf4j -Dversion=${slf4j.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.slf4j -DartifactId=jcl-over-slf4j > -Dversion=${slf4j.version} -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) RoyalSoft:core:jar:1.0-SNAPSHOT > 2) org.slf4j:jcl-over-slf4j:jar:${slf4j.version} > > 7) org.slf4j:slf4j-log4j12:jar:${slf4j.version} > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.slf4j > -DartifactId=slf4j-log4j12 -Dversion=${slf4j.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.slf4j -DartifactId=slf4j-log4j12 > -Dversion=${slf4j.version} -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) RoyalSoft:core:jar:1.0-SNAPSHOT > 2) org.slf4j:slf4j-log4j12:jar:${slf4j.version} > > ---------- > 7 required artifacts are missing. > > for artifact: > RoyalSoft: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: 13 seconds > [INFO] Finished at: Tue Oct 05 21:27:05 GST 2010 > [INFO] Final Memory: 27M/49M > [INFO] > ----------------------------------------------------------------------- > > -- > View this message in context: > http://appfuse.547863.n4.nabble.com/appfuse-full-source-failed-tp2529181p2956531.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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net