Glen Mazza wrote:
Hello, "mvn clean install" right after an svn checkout of the jetspeed2
source is raising the below dependency error. Anyone else have this
problem? I can't find any clues on this page:
http://portals.apache.org/jetspeed-2/buildguide/index.html
http://portals.apache.org/jetspeed-2/buildguide/maven-2-build.html#Optional:_Building_and_Installing_Jetspeed-2_Maven_Plugins
So, in your case run: mvn install -P init
first *once*.
Note: this is and will only be needed for developing against the trunk.
End users building custom portals based off the latest Jetspeed 2.2.x release (available later this week) won't need to do this as the
jetspeed maven plugins will be available from Maven Central repository.
Ate
Thanks,
Glen
Missing:
----------
1) org.apache.portals.jetspeed-2:jetspeed-api:jar:2.2.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
-DartifactId=jetspeed-api -Dversion=2.2.1-SNAPSHOT -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.apache.portals.jetspeed-2
-DartifactId=jetspeed-api -Dversion=2.2.1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.portals.jetspeed-2:jetspeed-maven-utils:jar:2.2.1-SNAPSHOT
2) org.apache.portals.jetspeed-2:jetspeed-api:jar:2.2.1-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.portals.jetspeed-2:jetspeed-maven-utils:jar:2.2.1-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
repository.apache.org.portals-staging-027
(https://repository.apache.org/content/repositories/portals-staging-027),
com.bluesunrise.m2 (http://www.bluesunrise.com/maven2),
com.bluesunrise.m1 (http://www.bluesunrise.com/maven),
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 50 seconds
[INFO] Finished at: Mon May 25 22:16:49 EDT 2009
[INFO] Final Memory: 30M/142M
[INFO]
------------------------------------------------------------------------
gma...@gmazza-desktop:~/opensource/jetspeed-2$ svn update
At revision 778551.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]