[
https://jira.codehaus.org/browse/MCOMPILER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326505#comment-326505
]
SebbASF edited comment on MCOMPILER-205 at 6/10/13 7:38 PM:
------------------------------------------------------------
I'm seeing same with Commons builds.
Looks like it might be due to the new way of defining Javadoc for packages:
useIncrementalCompilation enabled
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\whois\package-info.java
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\imap\package-info.java
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\finger\package-info.java
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\tftp\package-info.java
Since these -never- rarely generate .class files, they will -always- usually
cause the compile to be re-run
was (Author: sebbasf):
I'm seeing same with Commons builds.
Looks like it might be due to the new way of defining Javadoc for packages:
useIncrementalCompilation enabled
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\whois\package-info.java
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\imap\package-info.java
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\finger\package-info.java
Stale source detected:
D:\eclipseworkspaces\main\commons-net\src\main\java\org\apache\commons\net\tftp\package-info.java
Since these never generate .class files, they will always cause the compile to
be re-run
> maven-compiler-plugin: incremental compilation broken
> -----------------------------------------------------
>
> Key: MCOMPILER-205
> URL: https://jira.codehaus.org/browse/MCOMPILER-205
> Project: Maven 2.x Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Lukas Fryc
> Attachments: hello.tgz, no-class-in-java-file.zip
>
>
> When we do {{clean}} -> {{compile}} -> {{compile}}, all Java sources are
> re-compiled for second compilation steps:
> {code}
> [framework]$ mvn clean
> ...
> [framework]$ mvn compile
> ...
> [INFO] --- maven-compiler-plugin:3.1:compile (precompile-sources-for-cdk) @
> richfaces-framework ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 915 source files to
> /mnt/workspace/workspaces/richfaces/richfaces5/framework/target/classes
> ...
> [framework]$ mvn compile
> ...
> [INFO] --- maven-compiler-plugin:3.1:compile (precompile-sources-for-cdk) @
> richfaces-framework ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 915 source files to
> /mnt/workspace/workspaces/richfaces/richfaces5/framework/target/classes
> ...
> {code}
> The source code of the affected project:
> https://github.com/richfaces/richfaces5/tree/077dcfc0a46d03d7ba9a7ac3e701a4adfb834c71
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira