Please use the google group to ask questions - thanks.

by Ilya Skorik 31 Jan 04:17
Building from source - assembly modules

I have error when do "mvn assembly:assembly", What is wrong? How I can build ebean jar package from modules?

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating assembly: Artifact: org.avaje.ebean:ebean-agent:jar:2.4.0-SNAPSHOT (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.

[INFO] ------------------------------------------------------------------------

31 Jan 21:52
by Rob

Not sure. Does mvn clean install work?

Have you looked at:
http://groups.google.com/group/ebean/web/how-to-build-ebean-from-source

31 Jan 23:32
by Ilya Skorik

set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.5.0_22
mvn clean install

[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Ebean ................................................. SUCCESS [2.046s]
[INFO] Ebean Agent ........................................... SUCCESS [6.005s]
[INFO] Ebean Ant ............................................. SUCCESS [1.307s]
[INFO] Ebean Public API ...................................... SUCCESS [3.585s]
[INFO] Ebean Core ............................................ SUCCESS [15.974s]
[INFO] Ebean Spring Integration .............................. SUCCESS [5.754s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34 seconds
[INFO] Finished at: Mon Feb 01 02:29:50 MSK 2010
[INFO] Final Memory: 21M/39M
[INFO] ------------------------------------------------------------------------

mvn assembly:assembly

[INFO] [jar:jar {execution: default-jar}]
[INFO] [assembly:assembly {execution: default-cli}]
[INFO] Reading assembly descriptor: src/assemble/main.xml
[INFO] Reading assembly descriptor: src/assemble/src.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to create assembly: Artifact: org.avaje.ebean:ebean-agent:jar:2.4.0-SNAPSHOT (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Mon Feb 01 02:30:49 MSK 2010
[INFO] Final Memory: 24M/43M
[INFO] ------------------------------------------------------------------------

01 Feb 09:20
by Rob

try:

mvn package assembly:assembly

03 Feb 02:12
by Ilya Skorik

Everything is all right, thanks! Can describe this problem in the documentation?

Create a New Topic

Title:
Body:
 
Introduction User Guide (pdf) Install/Configure Public JavaDoc Whitepapers
General Database Specific Byte Code Deployment Annotations Features
Top Bugs Top Enhancements
woResponse