You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Jay Bose <di...@yahoo.com> on 2008/04/30 02:49:41 UTC
mvn assembly struts-2.1+
I'm upgrading from WebWork-2 to the most recent Struts-2(.1.x) that contains a working
instance of Dojo. Following the directions on
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html and
http://struts.apache.org/2.x/docs/building-with-maven.html, I successfully ran this
command:
mvn clean install -Dmaven.test.skip=true -Pextras,plugins,xwork
Next I cd'd to assembly directory, and ran the assembly target via:
mvn assembly:assembly
I get the artifact errors below. Any ideas what may be wrong?
=============================================================================
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Struts 2 Assembly
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building Struts 2 Assembly
[INFO] ------------------------------------------------------------------------
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-core/2.1.2-SNAPSHOT/struts2-core-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-config-browser-plugin/2.1.2-SNAPSHOT/struts2-config-browser-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-jasperreports-plugin/2.1.2-SNAPSHOT/struts2-jasperreports-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-jfreechart-plugin/2.1.2-SNAPSHOT/struts2-jfreechart-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-jsf-plugin/2.1.2-SNAPSHOT/struts2-jsf-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-pell-multipart-plugin/2.1.2-SNAPSHOT/struts2-pell-multipart-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-plexus-plugin/2.1.2-SNAPSHOT/struts2-plexus-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-sitegraph-plugin/2.1.2-SNAPSHOT/struts2-sitegraph-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-sitemesh-plugin/2.1.2-SNAPSHOT/struts2-sitemesh-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-struts1-plugin/2.1.2-SNAPSHOT/struts2-struts1-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-tiles-plugin/2.1.2-SNAPSHOT/struts2-tiles-plugin-2.1.2-SNAPSHOT-jdk14.jar
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts2-rest-plugin/2.1.2-SNAPSHOT/struts2-rest-plugin-2.1.2-SNAPSHOT-jdk14.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.struts:struts2-core:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-core
-Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -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.struts -DartifactId=struts2-core
-Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-core:jar:jdk14:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-config-browser-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-config-browser-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-config-browser-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-config-browser-plugin:jar:jdk14:2.1.2-SNAPSHOT
3) org.apache.struts:struts2-jasperreports-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-jasperreports-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-jasperreports-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-jasperreports-plugin:jar:jdk14:2.1.2-SNAPSHOT
4) org.apache.struts:struts2-jfreechart-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-jfreechart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-jfreechart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-jfreechart-plugin:jar:jdk14:2.1.2-SNAPSHOT
5) org.apache.struts:struts2-jsf-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-jsf-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts -DartifactId=struts2-jsf-plugin
-Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-jsf-plugin:jar:jdk14:2.1.2-SNAPSHOT
6) org.apache.struts:struts2-pell-multipart-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-pell-multipart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-pell-multipart-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-pell-multipart-plugin:jar:jdk14:2.1.2-SNAPSHOT
7) org.apache.struts:struts2-plexus-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-plexus-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-plexus-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-plexus-plugin:jar:jdk14:2.1.2-SNAPSHOT
8) org.apache.struts:struts2-sitegraph-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-sitegraph-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-sitegraph-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-sitegraph-plugin:jar:jdk14:2.1.2-SNAPSHOT
9) org.apache.struts:struts2-sitemesh-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-sitemesh-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-sitemesh-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-sitemesh-plugin:jar:jdk14:2.1.2-SNAPSHOT
10) org.apache.struts:struts2-struts1-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-struts1-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-struts1-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-struts1-plugin:jar:jdk14:2.1.2-SNAPSHOT
11) org.apache.struts:struts2-tiles-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-tiles-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts
-DartifactId=struts2-tiles-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-tiles-plugin:jar:jdk14:2.1.2-SNAPSHOT
12) org.apache.struts:struts2-rest-plugin:jar:jdk14:2.1.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.struts
-DartifactId=struts2-rest-plugin -Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14
-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.struts -DartifactId=struts2-rest-plugin
-Dversion=2.1.2-SNAPSHOT -Dclassifier=jdk14 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
2) org.apache.struts:struts2-rest-plugin:jar:jdk14:2.1.2-SNAPSHOT
----------
12 required artifacts are missing.
for artifact:
org.apache.struts:struts2-assembly:pom:2.1.2-SNAPSHOT
from the specified remote repositories:
ggi-project.org (http://ftp.ggi-project.org/pub/packages/maven2),
apache.snapshots (http://people.apache.org/maven-snapshot-repository)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Apr 29 19:41:26 CDT 2008
[INFO] Final Memory: 10M/31M
[INFO] ------------------------------------------------------------------------
=============================================================================
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: mvn assembly struts-2.1+
Posted by Antonio Petrelli <an...@gmail.com>.
2008/5/1 Jeromy Evans <je...@blueskyminds.com.au>:
> Jay Bose wrote:
>
> > Thanks Antonio, that solved it.
> >
> >
> >
> >
> Just wondering, how does one know that before attempting "mvn
> assembly:assembly", they must run the release,all,alljars,j4 and
> pre-assembly profiles?
> Is it just a matter of digging through the pom until you find the right
> profiles?
Here it is:
http://struts.apache.org/2.x/docs/creating-and-signing-a-struts-21x-distribution.html
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: mvn assembly struts-2.1+
Posted by Jeromy Evans <je...@blueskyminds.com.au>.
Jay Bose wrote:
> Thanks Antonio, that solved it.
>
>
>
Just wondering, how does one know that before attempting "mvn
assembly:assembly", they must run the release,all,alljars,j4 and
pre-assembly profiles?
Is it just a matter of digging through the pom until you find the right
profiles?
(It's not stated in the documentation Jay referenced [1][2])
[1] http://struts.apache.org/2.x/docs/building-with-maven.html,
[2]
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: mvn assembly struts-2.1+
Posted by Jay Bose <di...@yahoo.com>.
Thanks Antonio, that solved it.
--- Antonio Petrelli <an...@gmail.com> wrote:
> 2008/4/30 Jay Bose <di...@yahoo.com>:
> > I'm upgrading from WebWork-2 to the most recent Struts-2(.1.x) that contains a
> working
> > instance of Dojo. Following the directions on
> > http://struts.apache.org/2.x/docs/building-the-framework-from-source.html and
> > http://struts.apache.org/2.x/docs/building-with-maven.html, I successfully ran this
> > command:
> >
> > mvn clean install -Dmaven.test.skip=true -Pextras,plugins,xwork
>
> Try using the "release,all,alljars,j4,pre-assembly" profiles.
>
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: mvn assembly struts-2.1+
Posted by Antonio Petrelli <an...@gmail.com>.
2008/4/30 Jay Bose <di...@yahoo.com>:
> I'm upgrading from WebWork-2 to the most recent Struts-2(.1.x) that contains a working
> instance of Dojo. Following the directions on
> http://struts.apache.org/2.x/docs/building-the-framework-from-source.html and
> http://struts.apache.org/2.x/docs/building-with-maven.html, I successfully ran this
> command:
>
> mvn clean install -Dmaven.test.skip=true -Pextras,plugins,xwork
Try using the "release,all,alljars,j4,pre-assembly" profiles.
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org