Cayenne
  1. Cayenne
  2. CAY-1580

Maven 2 Modeler - missing dependencies

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0, 3.0.1, 3.1M1, 3.1M2
    • Fix Version/s: None
    • Component/s: Modeler
    • Labels:
    • Environment:

      Description

      Trying to run mvn cayenne-modeler:run always failed since the missing dependencies aren't found in any public repository:
      gilberto@SUGEP-DMASI:~/dev/netbeans-config/cip/park-cayenne$ mvn cayenne-modeler:run
      [INFO] Scanning for projects...
      [WARNING]
      [WARNING] Some problems were encountered while building the effective model for com.google.constructor:park-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.codehaus.mojo:tomcat-maven-plugin is missing. @ line 99, column 21
      [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]
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/plugins/maven-cayenne-modeler-plugin/3.0.1/maven-cayenne-modeler-plugin-3.0.1.pom
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/plugins/maven-cayenne-modeler-plugin/3.0.1/maven-cayenne-modeler-plugin-3.0.1.pom (3 KB at 4.2 KB/sec)
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-parent/3.0.1/cayenne-parent-3.0.1.pom
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-parent/3.0.1/cayenne-parent-3.0.1.pom (24 KB at 35.6 KB/sec)
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/plugins/maven-cayenne-modeler-plugin/3.0.1/maven-cayenne-modeler-plugin-3.0.1.jar
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/plugins/maven-cayenne-modeler-plugin/3.0.1/maven-cayenne-modeler-plugin-3.0.1.jar (6 KB at 9.8 KB/sec)
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Parking Control[CAYENNE] 1.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-cayenne-modeler-plugin:3.0.1:run (default-cli) @ park-cayenne —
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-modeler/3.0.1/cayenne-modeler-3.0.1.pom
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-modeler/3.0.1/cayenne-modeler-3.0.1.pom (5 KB at 10.9 KB/sec)
      Downloading: http://repo1.maven.org/maven2/velocity/velocity/1.3/velocity-1.3.pom
      Downloaded: http://repo1.maven.org/maven2/velocity/velocity/1.3/velocity-1.3.pom (148 B at 0.3 KB/sec)
      Downloading: http://repo1.maven.org/maven2/org/objectstyle/ashwood/ashwood/2.0/ashwood-2.0.pom
      Downloaded: http://repo1.maven.org/maven2/org/objectstyle/ashwood/ashwood/2.0/ashwood-2.0.pom (2 KB at 3.0 KB/sec)
      Downloading: http://repo1.maven.org/maven2/jgoodies/looks/1.3.1/looks-1.3.1.pom
      [WARNING] The POM for jgoodies:looks:jar:1.3.1 is missing, no dependency information available
      [WARNING] The POM for org.scopemvc:scopemvc:jar:1.0.1 is missing, no dependency information available
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-tools/3.0.1/cayenne-tools-3.0.1.pom
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-tools/3.0.1/cayenne-tools-3.0.1.pom (6 KB at 7.8 KB/sec)
      [WARNING] The POM for foundrylogic.vpp:vpp:jar:2.2.1 is missing, no dependency information available
      Downloading: http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.4/hsqldb-1.8.0.4.pom
      Downloaded: http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.4/hsqldb-1.8.0.4.pom (599 B at 1.3 KB/sec)
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-server/3.0.1/cayenne-server-3.0.1.pom
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-server/3.0.1/cayenne-server-3.0.1.pom (5 KB at 9.2 KB/sec)
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-modeler/3.0.1/cayenne-modeler-3.0.1.jar
      Downloading: http://repo1.maven.org/maven2/velocity/velocity/1.3/velocity-1.3.jar
      Downloading: http://repo1.maven.org/maven2/org/objectstyle/ashwood/ashwood/2.0/ashwood-2.0.jar
      Downloading: http://repo1.maven.org/maven2/jgoodies/looks/1.3.1/looks-1.3.1.jar
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-tools/3.0.1/cayenne-tools-3.0.1.jar
      Downloading: http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.4/hsqldb-1.8.0.4.jar
      Downloaded: http://repo1.maven.org/maven2/org/objectstyle/ashwood/ashwood/2.0/ashwood-2.0.jar (137 KB at 65.5 KB/sec)
      Downloading: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-server/3.0.1/cayenne-server-3.0.1.jar
      Downloaded: http://repo1.maven.org/maven2/velocity/velocity/1.3/velocity-1.3.jar (340 KB at 131.9 KB/sec)
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-tools/3.0.1/cayenne-tools-3.0.1.jar (93 KB at 32.9 KB/sec)
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-modeler/3.0.1/cayenne-modeler-3.0.1.jar (1212 KB at 358.5 KB/sec)
      Downloaded: http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.4/hsqldb-1.8.0.4.jar (624 KB at 226.4 KB/sec)
      Downloaded: http://repo1.maven.org/maven2/org/apache/cayenne/cayenne-server/3.0.1/cayenne-server-3.0.1.jar (1999 KB at 811.9 KB/sec)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 11.270s
      [INFO] Finished at: Wed Jun 08 11:39:02 BRT 2011
      [INFO] Final Memory: 3M/51M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.0.1:run (default-cli) on project park-cayenne: Execution default-cli of goal org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.0.1:run failed: Plugin org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.0.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: jgoodies:looks:jar:1.3.1, org.scopemvc:scopemvc:jar:1.0.1, foundrylogic.vpp:vpp:jar:2.2.1: Could not find artifact jgoodies:looks:jar:1.3.1 in central (http://repo1.maven.org/maven2) -> [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/PluginResolutionException

        Activity

        Hide
        Gilberto C Andrade added a comment -

        Adding Objectstyle repo to my pom helped for me:
        <quote>
        <pluginRepositories>
        <pluginRepository>
        <id>objectstyle</id>
        <name>Objectstyle Repository</name>
        <url>http://objectstyle.org/maven2</url>
        </pluginRepository>
        </pluginRepositories>

        </quote>

        After that I've got another problem:
        <quote>
        Downloaded: http://objectstyle.org/maven2/foundrylogic/vpp/vpp/2.2.1/vpp-2.2.1.jar (518 KB at 252.5 KB/sec)
        [WARNING] Checksum validation failed, no checksums available from the repository for http://objectstyle.org/maven2/org/scopemvc/scopemvc/1.0.1/scopemvc-1.0.1.jar
        Downloaded: http://objectstyle.org/maven2/org/scopemvc/scopemvc/1.0.1/scopemvc-1.0.1.jar (215 KB at 88.6 KB/sec)
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 7.072s
        [INFO] Finished at: Wed Jun 08 14:54:59 BRT 2011
        [INFO] Final Memory: 4M/77M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2:run (default-cli) on project park-cayenne: Execution default-cli of goal org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2:run failed: A required class was missing while executing org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2:run: org/apache/cayenne/project/CayenneProjectModule
        [ERROR] -----------------------------------------------------
        [ERROR] realm = plugin>org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2
        [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.1M2/maven-cayenne-modeler-plugin-3.1M2.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.1M2/cayenne-modeler-3.1M2.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.1M2/cayenne-tools-3.1M2.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.1M2/cayenne-server-3.1M2.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/park-cayenne$
        </quote>

        Show
        Gilberto C Andrade added a comment - Adding Objectstyle repo to my pom helped for me: <quote> <pluginRepositories> <pluginRepository> <id>objectstyle</id> <name>Objectstyle Repository</name> <url> http://objectstyle.org/maven2 </url> </pluginRepository> </pluginRepositories> </quote> After that I've got another problem: <quote> Downloaded: http://objectstyle.org/maven2/foundrylogic/vpp/vpp/2.2.1/vpp-2.2.1.jar (518 KB at 252.5 KB/sec) [WARNING] Checksum validation failed, no checksums available from the repository for http://objectstyle.org/maven2/org/scopemvc/scopemvc/1.0.1/scopemvc-1.0.1.jar Downloaded: http://objectstyle.org/maven2/org/scopemvc/scopemvc/1.0.1/scopemvc-1.0.1.jar (215 KB at 88.6 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.072s [INFO] Finished at: Wed Jun 08 14:54:59 BRT 2011 [INFO] Final Memory: 4M/77M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2:run (default-cli) on project park-cayenne: Execution default-cli of goal org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2:run failed: A required class was missing while executing org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2:run: org/apache/cayenne/project/CayenneProjectModule [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.apache.cayenne.plugins:maven-cayenne-modeler-plugin:3.1M2 [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.1M2/maven-cayenne-modeler-plugin-3.1M2.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.1M2/cayenne-modeler-3.1M2.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.1M2/cayenne-tools-3.1M2.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.1M2/cayenne-server-3.1M2.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/park-cayenne$ </quote>

          People

          • Assignee:
            Unassigned
            Reporter:
            Gilberto C Andrade
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development