cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Senecal <sene...@apple.com>
Subject Not able to get maven to generate java source from model
Date Tue, 19 Jul 2011 19:30:26 GMT
I can now get the plugin to run, but it doesn't seem to be doing anything. I found some mistakes
in my configuration. I figure there must be something else simple that I'm missing, but I'm
just not seeing it. I'm not getting any error messages, but I'm not getting generated java
files either. Here is the plugin configuration I'm using:
<plugin>
	<groupId>org.apache.cayenne.plugins</groupId>
	<artifactId>maven-cayenne-plugin</artifactId>
	<version>3.1M2</version>
	<executions>
		<execution>
			<id>cgen</id>
			<configuration>
				<!-- Configuration items go in here. See table, above. -->
				<map>src/main/resources/PDCADomainMap.map.xml</map>
				<destDir>src/main/java/com/apple/mqm/db</destDir>
			</configuration>
			<phase>generate-sources</phase>
			<goals>
				<goal>cgen</goal>
			</goals>
		</execution>
	</executions>
</plugin>
getting

And here's what I get after a clean project:
7/19/11 12:26:16 PM PDT: Maven Builder: FULL_BUILD requireFullBuild
7/19/11 12:26:16 PM PDT: [WARN] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
7/19/11 12:26:16 PM PDT: [INFO] Copying 2 resources
7/19/11 12:26:16 PM PDT: [INFO] Nothing to compile - all classes are up to date
7/19/11 12:26:16 PM PDT: [WARN] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
7/19/11 12:26:16 PM PDT: [INFO] Copying 0 resource


Any suggestions as to what I should try next?

Joe



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message