neo09 / gwt-platform

Automatically exported from code.google.com/p/gwt-platform
0 stars 0 forks source link

Missing content in META-INF when use mvn package #195

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. mvn package
2. the jar doesn't contains META-INF/service so annotation processing tool in 
ide doesn't properly work 

What is the expected output? What do you see instead?
shold be possibile use apt in ide

What version of the product are you using? On what operating system?
Latest gwtp version on ubuntu linux

To fix the problem:
add this xml fragment in pom.xml under <resources>
<resource>
         <directory>${project.basedir}/META-INF/</directory>
         <targetPath>META-INF</targetPath>
       </resource>

Original issue reported on code.google.com by antonini...@gmail.com on 7 Sep 2010 at 11:25

GoogleCodeExporter commented 9 years ago
Will do this before releasing 0.4, thanks for the fix.

Original comment by philippe.beaudoin on 7 Sep 2010 at 11:37

GoogleCodeExporter commented 9 years ago
This has landed in r263fa29504 can you confirm I did this correctly?

Original comment by philippe.beaudoin on 10 Sep 2010 at 8:04

GoogleCodeExporter commented 9 years ago
yes, it's ok.

However I think you forgot to update the artifactId (is still set to 
0.4-SNAPSHOT. The right value should be 0.5-SNAPSHOT, since you have released 
0.4 final version) Am I in error? 

Original comment by antonini...@gmail.com on 11 Sep 2010 at 7:09

GoogleCodeExporter commented 9 years ago
You are right. Can you point me to where the mistake is? I did update the ant 
file, which I use to generate the snapshots.

Original comment by philippe.beaudoin on 13 Sep 2010 at 3:56

GoogleCodeExporter commented 9 years ago
in pom.xml the "<version>" xml tag should be setted to 0.5-SNAPSHOT.

When gwtp-0.5-SNAPSHOT development will be completed remember to change the 
version value to 0.5 before relase the lib.

Original comment by antonini...@gmail.com on 13 Sep 2010 at 4:10