You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Glen Mazza <gl...@gmail.com> on 2009/05/26 04:29:09 UTC

Difficulty building Jetspeed trunk from source

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

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]
------------------------------------------------------------------------
gmazza@gmazza-desktop:~/opensource/jetspeed-2$ svn update
At revision 778551.

-- 
View this message in context: http://www.nabble.com/Difficulty-building-Jetspeed-trunk-from-source-tp23716002p23716002.html
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Re: Difficulty building Jetspeed trunk from source

Posted by Ate Douma <at...@douma.nu>.
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]
> ------------------------------------------------------------------------
> gmazza@gmazza-desktop:~/opensource/jetspeed-2$ svn update
> At revision 778551.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org