Hello,
I have some Problems with the spring cartridge:
1. I checked out the projects
- fornax-cartridges-uml2-spring2-example-simple
- fornax-cartridges-uml2-spring-core
- fornax-cartridges-uml2-spring-generator
- fornax-cartridges-uml2-spring-reference
- fornax-cartridges-uml2-spring-parent
2. I did a maven install on the spring-parent's pom.xml I got following:
=================================================================
[ERROR] BUILD FAILURE
org.fornax.cartridges:fornax-cartridges-uml2-spring-core:jar:1.0.0-SNAPSHOT
( task-segment: [install] )
[INFO]
----------------------------------------------------------------------------
[INFO] Missing:
----------
1)
org.fornax.cartridges:fornax-cartridges-uml2-hibernate-generator:jar:1.4.2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.fornax.cartridges
-DartifactId=fornax-cartridges-uml2-hibernate-generator \
-Dversion=1.4.2-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.fornax.cartridges
-DartifactId=fornax-cartridges-uml2-hibernate-generator \
-Dversion=1.4.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.fornax.cartridges:fornax-cartridges-uml2-spring-core:jar:1.0.0-SNAPSHOT
2)
org.fornax.cartridges:fornax-cartridges-uml2-hibernate-generator:jar:1.4.2-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.fornax.cartridges:fornax-cartridges-uml2-spring-core:jar:1.0.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
fornax.repository (http://www.fornax-platform.org/m2/repository)
====================================================================
Ok, I have heard that 1.4.2-Version of Hibernate will be released soon.
So I tried another way: I checked out all relevant Projects
(Java-Basic-Cartrigde-Projects and Hibernate Cartridge Projects) to build my
own 1.4.2-Snapshot-Version.
After I did that, the maven install finished without errors.
Next step was to generate the code from the spring2-example-simple-project.
The result was that all Hibernate-Classes were generated but the generation
of the Spring-classes (DAOs, Services, etc.) failed without an error. the
last step was spring's constraints.check and then it stopped.
I did the same 2 or 3 weeks ago and it worked. Is it possible that the
spring projects in svn-trunk are not always synchronized/compatible with the
java basic projects and hibernate projects in svn-trunk? I recognized that
there have been many changes in the hibernate-projects but no changes in the
spring-projects in the last 2 or 3 weeks.
Who can help me? Is there a Branch in which all projects work together
correctly. I would need all Projects, because I would like to extend the
Hibernate Cartridge and the Spring Cardridge.
thanks,
daniel
--
View this message in context:
http://www.nabble.com/spring-cartridge---problems-with-svn-trunk-tp15419343s17564p15419343.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer