This looks suspicious:

-Dpackaging=classes

Are you running this command from the top-level?

Matt

2009/2/13 Mischa Dasberg <mis...@dasberg.nl>

>
> I just checked out appfuse using the following goal:
>
> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-modular-spring
> -DremoteRepositories=http://static.appfuse.org/releases
> -DarchetypeVersion=2.0.2<http://static.appfuse.org/releases%0A-DarchetypeVersion=2.0.2>-DgroupId=com.mycompany.app
>  -DartifactId=myproject
>
> After setting the properties I ran:
> mvn clean install to build.
>
> next I ran:
> mvn clean install site:site
>
> I keep getting the following error!!!!
>
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.appfuse:appfuse-spring:classes:2.0.2
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.appfuse
> -DartifactId=appfuse-spring -Dversion=2.0.2 -Dpackaging=classes
> -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>      mvn deploy:deploy-file -DgroupId=org.appfuse
> -DartifactId=appfuse-spring -Dversion=2.0.2 -Dpackaging=classes
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.mycompany.app:myproject-webapp:war:1.0-SNAPSHOT
>        2) org.appfuse:appfuse-spring:classes:2.0.2
>
> 2) org.appfuse:appfuse-web-common:classes:2.0.2
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.appfuse
> -DartifactId=appfuse-web-common -Dversion=2.0.2 -Dpackaging=classes
> -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>      mvn deploy:deploy-file -DgroupId=org.appfuse
> -DartifactId=appfuse-web-common -Dversion=2.0.2 -Dpackaging=classes
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.mycompany.app:myproject-webapp:war:1.0-SNAPSHOT
>        2) org.appfuse:appfuse-web-common:classes:2.0.2
>
> ----------
> 2 required artifacts are missing.
>
> for artifact:
>  com.mycompany.app:myproject-webapp:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  appfuse (http://static.appfuse.org/repository),
>  central (http://repo1.maven.org/maven2)
>
>
> Any help would be appreciated.
> --
> View this message in context:
> http://www.nabble.com/mvn-clean-install-site%3Asite-not-working-tp21991846s2369p21991846.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
>
>

Reply via email to