You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by ma...@cedac.com on 2009/04/21 11:19:31 UTC
jetspeed-2.2 maven plugin
Hello to all.
I have a problem with the new jetspeed-2.2 maven plugin.
I've create a new project following the instruction on the web site using
maven-archetype-plugin and the jetspeed-2.2 archetype.
The project creation is ok and no problem occours.
After that, I try to deploy the portal and invoke a "mvn jetspeed:mvn
-Dtarget=all".
The build then fails on the database creation: it seems that the build
can't fund the org.apache.pluto:pluto-container-api:1.0.1:jar.
I checked many times and the ${org.apache.pluto.version} property is set
to 2.0.0-SNAPSHOT.
I paste the output for the build
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.pluto:pluto-container-api:jar:1.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.pluto
-DartifactId=pluto-container-api -Dversion=1.0.1 -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.pluto
-DartifactId=pluto-container-api -Dversion=1.0.1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2-SNAPSHOT
2)
org.apache.portals.jetspeed-2:jetspeed-db-tools:jar:2.2-SNAPSHOT
3) org.apache.pluto:pluto-container-api:jar:1.0.1
----------
1 required artifact is missing.
for artifact:
org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2-SNAPSHOT
from the specified remote repositories:
hippocms (http://repository.hippocms.org/maven2/),
org.apache (http://repo1.maven.org/maven),
com.bluesunrise.m2 (http://www.bluesunrise.com/maven2),
com.bluesunrise.m1 (http://www.bluesunrise.com/maven),
org.codehaus.m2 (http://repository.codehaus.org),
bluesunrise (http://bluesunrise.com/maven2),
central (http://repo1.maven.org/maven2),
org.codehaus (http://dist.codehaus.org)
Someone can help me?
Thank you very much.
Mauro
Re: jetspeed-2.2 maven plugin
Posted by Niels van Kampenhout <n....@onehippo.com>.
On Tue, Apr 21, 2009 at 2:19 AM, <ma...@cedac.com> wrote:
> Hello to all.
>
> I have a problem with the new jetspeed-2.2 maven plugin.
> I've create a new project following the instruction on the web site using
> maven-archetype-plugin and the jetspeed-2.2 archetype.
> The project creation is ok and no problem occours.
> After that, I try to deploy the portal and invoke a "mvn jetspeed:mvn
> -Dtarget=all".
> The build then fails on the database creation: it seems that the build
> can't fund the org.apache.pluto:pluto-container-api:1.0.1:jar.
> I checked many times and the ${org.apache.pluto.version} property is set
> to 2.0.0-SNAPSHOT.
>
> I paste the output for the build
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.pluto:pluto-container-api:jar:1.0.1
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.pluto
> -DartifactId=pluto-container-api -Dversion=1.0.1 -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.pluto
> -DartifactId=pluto-container-api -Dversion=1.0.1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1)
> org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2-SNAPSHOT
> 2)
> org.apache.portals.jetspeed-2:jetspeed-db-tools:jar:2.2-SNAPSHOT
> 3) org.apache.pluto:pluto-container-api:jar:1.0.1
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>
> org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2-SNAPSHOT
>
> from the specified remote repositories:
> hippocms (http://repository.hippocms.org/maven2/),
> org.apache (http://repo1.maven.org/maven),
> com.bluesunrise.m2 (http://www.bluesunrise.com/maven2),
> com.bluesunrise.m1 (http://www.bluesunrise.com/maven),
> org.codehaus.m2 (http://repository.codehaus.org),
> bluesunrise (http://bluesunrise.com/maven2),
> central (http://repo1.maven.org/maven2),
> org.codehaus (http://dist.codehaus.org)
>
> Someone can help me?
> Thank you very much.
>
> Mauro
Hi Mauro,
Try checking out the Pluto trunk from SVN and building it on your
machine, then try to build Jetspeed again.
HTH,
Niels
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org