[ 
https://jira.codehaus.org/browse/MCOMPILER-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317855#comment-317855
 ] 

Olivier Lamy commented on MCOMPILER-197:
----------------------------------------

@romain I'm confused :-)
I use your test project.
replace compiler version to 2.5.1
and still nothing in target/generated-sources
{code}

mbp-olamy:compiler-test olamy$ mvn clean verify
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building compiler-test 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ compiler-test ---
[INFO] Deleting /Users/olamy/tmp/compiler-test/target
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (generate-entity-metamodel) @ 
compiler-test ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, 
i.e. build is platform dependent!
[INFO] Compiling 1 source file to /Users/olamy/tmp/compiler-test/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
compiler-test ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
compiler-test ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (compile) @ compiler-test ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
compiler-test ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/Users/olamy/tmp/compiler-test/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
compiler-test ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ compiler-test ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ compiler-test ---
[INFO] Building jar: 
/Users/olamy/tmp/compiler-test/target/compiler-test-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.136s
[INFO] Finished at: Wed Jan 23 15:34:08 CET 2013
[INFO] Final Memory: 11M/759M
[INFO] ------------------------------------------------------------------------
mbp-olamy:compiler-test olamy$ ls -lrt target/generated-sources/
mbp-olamy:compiler-test olamy$ 

mbp-olamy:compiler-test olamy$ mvn -v
Apache Maven 3.1-SNAPSHOT (57d9c68e56a4bc8d825c7615534023eeda52b9c0; 2013-01-05 
00:17:48+0100)
Maven home: /Users/olamy/softs/maven/trunk
Java version: 1.6.0_37, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: fr_FR, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac"
{code}


                
> dependencies no more at classpath
> ---------------------------------
>
>                 Key: MCOMPILER-197
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-197
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Romain manni-Bucau
>         Attachments: compiler-test.zip
>
>
> before (version 2.5.1) dependencies of compiler plugin were added to javac 
> classpath, now it seems (didn't check so maybe it is wrong) it is no more the 
> case
> i attached a sample. Running "mvn compile" with version 2.5.1 you'll get a 
> file target/generated-sources/org/issue/Person_.java. With version 3.0 you 
> get a folder target/annotations and no more file.
> This is really blocking for stuff like openjpa metamodel generation where 
> with version 3.0 it needs to use an ant task which is not so straight forward.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to