Maven cayenne-modeler:run reports missing class[CayenneProjectModule]
---------------------------------------------------------------------
Key: CAY-1527
URL: https://issues.apache.org/jira/browse/CAY-1527
Project: Cayenne
Issue Type: Bug
Components: Modeler
Affects Versions: 3.1M1
Environment: OpenSuSe 11.3
JRE v.1.6.0_23
Reporter: Gilberto C Andrade
Priority: Minor
Just a little problem, I can't run the Cayenne Modeler from maven anymore:
gilberto@SUGEP-DMASI:~/dev/netbeans-config/cip/helpdesk$ mvn
cayenne-modeler:run
<quote>
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for com.google.constructor:helpdesk-cayenne:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @ line 77, column 21
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-resources-plugin is missing. @
com.google.constructor:cip:1.0-SNAPSHOT,
/home/gilberto/dev/netbeans-config/cip/pom.xml, line 86, column 21
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:tomcat-maven-plugin is missing. @ line 99, column 21
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
com.google.constructor:cip:1.0-SNAPSHOT,
/home/gilberto/dev/netbeans-config/cip/pom.xml, line 77, column 21
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-changes-plugin is missing.
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-checkstyle-plugin is missing.
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-javadoc-plugin is missing.
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-jxr-plugin is missing.
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-pmd-plugin is missing.
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-surefire-report-plugin is missing.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Help Desk[CAYENNE] 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-cayenne-modeler-plugin:3.1M1:run (default-cli) @
helpdesk-cayenne ---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.120s
[INFO] Finished at: Mon Jan 24 10:38:44 BRT 2011
[INFO] Final Memory: 3M/52M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M1:run (default-cli)
on project helpdesk-cayenne: Execution default-cli of goal
org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M1:run failed: A
required class was missing while executing
org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M1:run:
org/apache/cayenne/project/CayenneProjectModule
[ERROR] -----------------------------------------------------
[ERROR] realm =
plugin>org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M1
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/home/gilberto/.m2/repository/org/apache/cayenne/plugins/maven-cayenne-modeler-plugin/3.1M1/maven-cayenne-modeler-plugin-3.1M1.jar
[ERROR] urls[1] =
file:/home/gilberto/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
[ERROR] urls[2] =
file:/home/gilberto/.m2/repository/org/apache/maven/maven-plugin-tools-api/2.0.5/maven-plugin-tools-api-2.0.5.jar
[ERROR] urls[3] =
file:/home/gilberto/.m2/repository/org/apache/cayenne/cayenne-modeler/3.1M1/cayenne-modeler-3.1M1.jar
[ERROR] urls[4] =
file:/home/gilberto/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar
[ERROR] urls[5] =
file:/home/gilberto/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
[ERROR] urls[6] =
file:/home/gilberto/.m2/repository/org/apache/velocity/velocity/1.6.3/velocity-1.6.3.jar
[ERROR] urls[7] =
file:/home/gilberto/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
[ERROR] urls[8] =
file:/home/gilberto/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[9] =
file:/home/gilberto/.m2/repository/jgoodies/forms/1.0.5/forms-1.0.5.jar
[ERROR] urls[10] =
file:/home/gilberto/.m2/repository/org/scopemvc/scopemvc/1.0.1/scopemvc-1.0.1.jar
[ERROR] urls[11] =
file:/home/gilberto/.m2/repository/org/apache/cayenne/cayenne-tools/3.1M1/cayenne-tools-3.1M1.jar
[ERROR] urls[12] =
file:/home/gilberto/.m2/repository/foundrylogic/vpp/vpp/2.2.1/vpp-2.2.1.jar
[ERROR] urls[13] =
file:/home/gilberto/.m2/repository/net/java/dev/inflector/inflector/0.7.0/inflector-0.7.0.jar
[ERROR] urls[14] =
file:/home/gilberto/.m2/repository/ognl/ognl/2.6.7/ognl-2.6.7.jar
[ERROR] urls[15] =
file:/home/gilberto/.m2/repository/net/sf/jedit-syntax/jedit-syntax/2.2.2/jedit-syntax-2.2.2.jar
[ERROR] urls[16] =
file:/home/gilberto/.m2/repository/jgraph/jgraph/5.13.0.0/jgraph-5.13.0.0.jar
[ERROR] urls[17] =
file:/home/gilberto/.m2/repository/org/apache/cayenne/cayenne-server/3.1M1/cayenne-server-3.1M1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent:
null]]
[ERROR]
[ERROR] -----------------------------------------------------:
org.apache.cayenne.project.CayenneProjectModule
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven 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/PluginContainerException
gilberto@SUGEP-DMASI:~/dev/netbeans-config/cip/helpdesk$
</quote>
The binary is ok.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.