Hi,
i am trying to build and run hupa project, but i have problems with maven. I
am new to maven so please excuse me if my question is stupid.
When i try to build the project i get the following output:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hupa:hupa-parent:
pom:0.0.1-SNAPSHOT
[WARNING] 'repositories.repository.layout = legacy' is deprecated: lib-repo
@ org.apache.hupa:hupa-parent:0.0.1-SNAPSHOT,
/home/mnenchev/workspace/hupa/pom.xml
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hupa:hupa-shared:jar:0.0.1-SNAPSHOT
[WARNING] 'repositories.repository.layout = legacy' is deprecated: lib-repo
@ org.apache.hupa:hupa-shared:0.0.1-SNAPSHOT,
/home/mnenchev/workspace/hupa/shared/pom.xml
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hupa:hupa-client:war:0.0.1-SNAPSHOT
[WARNING] 'repositories.repository.layout = legacy' is deprecated: lib-repo
@ org.apache.hupa:hupa-client:0.0.1-SNAPSHOT,
/home/mnenchev/workspace/hupa/client/pom.xml
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hupa:hupa-server:jar:0.0.1-SNAPSHOT
[WARNING] 'repositories.repository.layout = legacy' is deprecated: lib-repo
@ org.apache.hupa:hupa-server:0.0.1-SNAPSHOT,
/home/mnenchev/workspace/hupa/server/pom.xml
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hupa:hupa-widgets:jar:0.0.1-SNAPSHOT
[WARNING] 'repositories.repository.layout = legacy' is deprecated: lib-repo
@ org.apache.hupa:hupa-widgets:0.0.1-SNAPSHOT,
/home/mnenchev/workspace/hupa/widgets/pom.xml
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] hupa-parent
[INFO] hupa-shared
[INFO] hupa-server
[INFO] hupa-widgets
[INFO] hupa
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building hupa-parent 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ hupa-parent ---
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building hupa-shared 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] hupa-parent ....................................... SUCCESS [0.373s]
[INFO] hupa-shared ....................................... FAILURE [0.009s]
[INFO] hupa-server ....................................... SKIPPED
[INFO] hupa-widgets ...................................... SKIPPED
[INFO] hupa .............................................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.648s
[INFO] Finished at: Fri Nov 27 15:10:03 EET 2009
[INFO] Final Memory: 2M/87M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin org.codehaus.mojo:gwt-maven-plugin:1.3.1 or one of its
dependencies could not be resolved: Missing:
----------
1) org.codehaus.mojo:gwt-maven-plugin:maven-plugin:1.3.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.codehaus.mojo
-DartifactId=gwt-maven-plugin -Dversion=1.3.1 -Dpackaging=maven-plugin
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.codehaus.mojo
-DartifactId=gwt-maven-plugin -Dversion=1.3.1 -Dpackaging=maven-plugin
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
----------
1 required artifact is missing.
for artifact:
org.codehaus.mojo:gwt-maven-plugin:maven-plugin:1.3.1
from the specified remote repositories:
gwt-maven (http://gwt-maven.googlecode.com/svn/trunk/mavenrepo,
releases=true, snapshots=true),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Regards.