Author: rmannibucau
Date: Tue Apr 10 07:24:52 2012
New Revision: 1311608
URL: http://svn.apache.org/viewvc?rev=1311608&view=rev
Log:
getting rid of karaf-maven-plugin
Modified:
openejb/branches/openejb-4.0.0/osgi/openejb-feature/pom.xml
Modified: openejb/branches/openejb-4.0.0/osgi/openejb-feature/pom.xml
URL:
http://svn.apache.org/viewvc/openejb/branches/openejb-4.0.0/osgi/openejb-feature/pom.xml?rev=1311608&r1=1311607&r2=1311608&view=diff
==============================================================================
--- openejb/branches/openejb-4.0.0/osgi/openejb-feature/pom.xml (original)
+++ openejb/branches/openejb-4.0.0/osgi/openejb-feature/pom.xml Tue Apr 10
07:24:52 2012
@@ -41,21 +41,39 @@
</resources>
<plugins>
<plugin>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>karaf-maven-plugin</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <configuration>
- </configuration>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
- <id>compile</id>
- <phase>compile</phase>
+ <id>filter-features</id>
<goals>
- <goal>features-generate-descriptor</goal>
+ <goal>resources</goal>
</goals>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>target/classes/feature.xml</file>
+ <type>xml</type>
+ <classifier>features</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>