Mykel Alvis
2006-06-28 18:30:52 UTC
Sorry if this is a repeat, but I haven't located an answer on the web
anywhere.
I found http://jira.codehaus.org/browse/MCOMPILER-26 but it appears closed.
In the pom of a module, I have included the following:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<includes>
<include>src/generated/java/**/*.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
This particular module has no code to compile in src/main/java.
During a compile, I get :
[DEBUG] (f) compileSourceRoots =
[/home/malvis/code/test-checkout/orm/src/main/java]
[DEBUG] (f) compilerId = javac
[DEBUG] (f) debug = true
[DEBUG] (f) fork = false
[DEBUG] (f) includes = [src/generated/java/**/*.java]
[DEBUG] (f) optimize = false
[DEBUG] (f) outputDirectory =
/home/malvis/code/test-checkout/orm/target/classes
.
.
.
[DEBUG] Output directory: /home/malvis/code/test-checkout/orm/target/classes
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
Why would the compiler not recognize the need to compile the included
sources?
Is this a continuing compiler problem or am I configuring it wrong?
Thanks,
Mykel
anywhere.
I found http://jira.codehaus.org/browse/MCOMPILER-26 but it appears closed.
In the pom of a module, I have included the following:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<includes>
<include>src/generated/java/**/*.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
This particular module has no code to compile in src/main/java.
During a compile, I get :
[DEBUG] (f) compileSourceRoots =
[/home/malvis/code/test-checkout/orm/src/main/java]
[DEBUG] (f) compilerId = javac
[DEBUG] (f) debug = true
[DEBUG] (f) fork = false
[DEBUG] (f) includes = [src/generated/java/**/*.java]
[DEBUG] (f) optimize = false
[DEBUG] (f) outputDirectory =
/home/malvis/code/test-checkout/orm/target/classes
.
.
.
[DEBUG] Output directory: /home/malvis/code/test-checkout/orm/target/classes
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
Why would the compiler not recognize the need to compile the included
sources?
Is this a continuing compiler problem or am I configuring it wrong?
Thanks,
Mykel
--
Never wear anything that panics the cat. -- P. J. O'Rourke
Never wear anything that panics the cat. -- P. J. O'Rourke