David Martín Nieto
2011-03-30 09:57:42 UTC
Hi,
I'm thinking to make a proposal for one of the ideas of Castor in
GSOC2011. Before make it i'm building my own test environment for Castor
and I've some doubts, maybe somebody can help me with this:
* At first in the web page of castor ideas for the gsoc2011 there
are three diferent sections: Castor XML related projects, Spring
ORM support for Castor JDO related projects, and Castor JDO
related projects. I'm interested in especially the first and the
last sections but does not identify which of the existing modules
in subversion under the names do not appear similar. The modules
in subversion are these: castor-jaxb2, castor-jpa, castor-spring,
spring-xml. I wanted to know if it's really well and are
classified ideas modules and if so to what modules under each.
* To move forward I downloaded the spring-xml module with the
intention to go riding a test environment. I run first one:
svn co http://svn.codehaus.org/castor/spring-xml/trunk
And then a mvn mvn compile and test successfully.
But after throwing a jar mvn tells the comand show to me:
[INFO] -----------------------------------------------
-------------------------
[INFO] Building Castor Spring XML abstraction for 1.2.2-SNAPSHOT
[INFO] -----------------------------------------------
-------------------------
[INFO] -----------------------------------------------
-------------------------
[INFO] BUILD FAILURE
[INFO] -----------------------------------------------
-------------------------
[INFO] Total time: 0.273s
[INFO] Finished at: Wed Mar 30 11:52:30 EST 2011
[INFO] Final Memory: 2M/91M
[INFO] -----------------------------------------------
-------------------------
[ERROR] Unknown lifecycle phase "jar. " You Must Specify a valid
lifecycle phase or in the format GOAL <plugin-prefix>: <goal>
or <plugin-group-id>: <plugin-artifact-id> [: <plugin-version>]:
<goal>. Available Phases lifecycle are: validate, initialize,
generate-sources, process-sources, generate-resources,
process-resources, compile, process-classes,
generate-test-sources, process-test-sources,
generate-test-resources, process -test-resources, test-compile,
process-test-classes, test, prepare, package, package,
pre-integration-test integration-test, post-integration-test,
verify, install, deploy, pre-clean, clean , post-clean,
pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven
with the-e switch.
[ERROR] Maven Re-run using the-X switch to enable full debug
logging.
[ERROR]
[ERROR] For more information about the errors and possible
solutions, please read the Following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
And I don't know how to fix it.
* On the other hand would be particularly interested in knowing
where information could expand on this idea for GSOC2011, which
would be the most appropriate documents to study and understand
more specifically the improvement and especially if the module to
download is the spring-xml or another.
Thanks a lot!
David Martín
Spainish student on computer sciences
I'm thinking to make a proposal for one of the ideas of Castor in
GSOC2011. Before make it i'm building my own test environment for Castor
and I've some doubts, maybe somebody can help me with this:
* At first in the web page of castor ideas for the gsoc2011 there
are three diferent sections: Castor XML related projects, Spring
ORM support for Castor JDO related projects, and Castor JDO
related projects. I'm interested in especially the first and the
last sections but does not identify which of the existing modules
in subversion under the names do not appear similar. The modules
in subversion are these: castor-jaxb2, castor-jpa, castor-spring,
spring-xml. I wanted to know if it's really well and are
classified ideas modules and if so to what modules under each.
* To move forward I downloaded the spring-xml module with the
intention to go riding a test environment. I run first one:
svn co http://svn.codehaus.org/castor/spring-xml/trunk
And then a mvn mvn compile and test successfully.
But after throwing a jar mvn tells the comand show to me:
[INFO] -----------------------------------------------
-------------------------
[INFO] Building Castor Spring XML abstraction for 1.2.2-SNAPSHOT
[INFO] -----------------------------------------------
-------------------------
[INFO] -----------------------------------------------
-------------------------
[INFO] BUILD FAILURE
[INFO] -----------------------------------------------
-------------------------
[INFO] Total time: 0.273s
[INFO] Finished at: Wed Mar 30 11:52:30 EST 2011
[INFO] Final Memory: 2M/91M
[INFO] -----------------------------------------------
-------------------------
[ERROR] Unknown lifecycle phase "jar. " You Must Specify a valid
lifecycle phase or in the format GOAL <plugin-prefix>: <goal>
or <plugin-group-id>: <plugin-artifact-id> [: <plugin-version>]:
<goal>. Available Phases lifecycle are: validate, initialize,
generate-sources, process-sources, generate-resources,
process-resources, compile, process-classes,
generate-test-sources, process-test-sources,
generate-test-resources, process -test-resources, test-compile,
process-test-classes, test, prepare, package, package,
pre-integration-test integration-test, post-integration-test,
verify, install, deploy, pre-clean, clean , post-clean,
pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven
with the-e switch.
[ERROR] Maven Re-run using the-X switch to enable full debug
logging.
[ERROR]
[ERROR] For more information about the errors and possible
solutions, please read the Following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
And I don't know how to fix it.
* On the other hand would be particularly interested in knowing
where information could expand on this idea for GSOC2011, which
would be the most appropriate documents to study and understand
more specifically the improvement and especially if the module to
download is the spring-xml or another.
Thanks a lot!
David Martín
Spainish student on computer sciences