Hi, I'm back again.

I've configured Maven to automatically generate java files from the model, but 
it looks like cgen has some dependancies that aren't being met.

7/18/11 7:33:56 PM PDT: Maven Builder: AUTO_BUILD requireFullBuild
7/18/11 7:33:57 PM PDT: [WARN] The POM for 
org.apache.cayenne.unpublished:cayenne-project-unpublished:jar:3.1M2 is 
missing, no dependency information available
7/18/11 7:33:57 PM PDT: [WARN] The POM for foundrylogic.vpp:vpp:jar:2.2.1 is 
missing, no dependency information available
7/18/11 7:33:57 PM PDT: Build errors for SFS; 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.cayenne.plugins:maven-cayenne-plugin:3.1M2:cgen (cgen) on project 
SFS: Execution cgen of goal 
org.apache.cayenne.plugins:maven-cayenne-plugin:3.1M2:cgen failed: Plugin 
org.apache.cayenne.plugins:maven-cayenne-plugin:3.1M2 or one of its 
dependencies could not be resolved: The following artifacts could not be 
resolved: org.apache.cayenne.unpublished:cayenne-project-unpublished:jar:3.1M2, 
foundrylogic.vpp:vpp:jar:2.2.1: Failure to find 
org.apache.cayenne.unpublished:cayenne-project-unpublished:jar:3.1M2 in 
http://repo1.maven.org/maven2 was cached in the local repository, resolution 
will not be reattempted until the update interval of central has elapsed or 
updates are forced

I found an entry for org.apache.cayenne.unpublished, but it was for a different 
artifact ID. I can't find a maven entry for foundrylogic.vpp at all. Any 
suggestions?

Here's the configuration I'm trying. I'm assuming paths are relative to the pom 
file.

<execution>
        <id>cgen</id>
        <configuration>
                <!-- Configuration items go in here. See table, above. -->
                <map>src/main/resources/PDCADomainMap.map</map>
                <destDir>src/main/java/com/apple/mqm/db</destDir>
        </configuration>
        <goals>
                <goal>cgen</goal>
        </goals>
</execution>

Joe

Reply via email to