<build>
<nagEmailAddress/>
<sourceDirectory>src/impl</sourceDirectory>
<unitTestSourceDirectory>src/unit</unitTestSourceDirectory>
<integrationUnitTestSourceDirectory>src/integ</integrationUnitTestSourceDirectory>
...
</build>
Lester Ward wrote:
3) Compile the generated code....I'm a bit new to this myself, I believe it is just that simple. One of the
Which is where I am scratching my head...
How do I compile the generated source?
Is it as simple as attainGoal for java:jar ?
whole points of Maven is to do what would normally take you 20 lines of make
file code and do it in ZERO lines of code. I've found it difficult to shake
myself out of the mentality of blindly using the script language to build
process without first checking if a plugin already does what I want.
How do I change the src
directory (the generated code is in a dir called /gen)?
With the documentation being... spotty (and in flux), the best way to figure this stuff out (I think) is to look at the plugin code in the Maven plugin directory. In this case, check out:maven\plugins\maven-java-plugin-1.1\plugin.jelly In this file, you can see a line that says: <j:set var="source" value="${maven.compile.source}" />here, as I don't understand it that well) that if you overrideFrom this, it is a pretty good bet (and I'm just pulling this out of my ass
maven.compile.source in your build.properties file, that would probably take
care of it. It might be more complicated, but that should be a place to
start.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
