Author: schor Date: Wed May 5 19:42:57 2010 New Revision: 941445 URL: http://svn.apache.org/viewvc?rev=941445&view=rev Log: [UIMA-1756] add parsedVersion info using build-helper, configure felix bundle plugin "uima-bundle" defaults
Modified: uima/build/trunk/parent-poms/parent-pom-top/pom.xml Modified: uima/build/trunk/parent-poms/parent-pom-top/pom.xml URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-poms/parent-pom-top/pom.xml?rev=941445&r1=941444&r2=941445&view=diff ============================================================================== --- uima/build/trunk/parent-poms/parent-pom-top/pom.xml (original) +++ uima/build/trunk/parent-poms/parent-pom-top/pom.xml Wed May 5 19:42:57 2010 @@ -248,6 +248,12 @@ </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.5</version> + </plugin> + <!-- set Java 1.5 as the source and target of compilation --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -343,6 +349,13 @@ <!-- version 2.0.0 fails --> <version>2.0.1</version> <extensions>true</extensions> + <executions> + <execution> + <id>uima-bundle</id> + <goals><goal>manifest</goal></goals> + <phase>process-classes</phase> + </execution> + </executions> </plugin> <plugin> @@ -380,6 +393,28 @@ </execution> </executions> </plugin> + + <!-- sets the following properties: + parsedVersion.majorVersion + parsedVersion.minorVersion + parsedVersion.incrementalVersion + parsedVersion.qualifier + parsedVersion.buildNumber + parsedVersion.osgiVersion + --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>parse-project-version</id> + <goals><goal>parse-version</goal></goals> + <configuration> + <propertyPrefix>parsedVersion</propertyPrefix> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build>