summaryrefslogtreecommitdiffstats
path: root/branches/sca-equinox
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-10-22 00:36:31 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-10-22 00:36:31 +0000
commit85c97ce64b4b1866869c6704154182735addd0c5 (patch)
tree0ce5cb8ffedae3e4b20c7ae25b5851c34ed32b7e /branches/sca-equinox
parent499fab874b29bb31c063f4841a3a5d2610e24b39 (diff)
Add the plugin to produce eclipse distro, target config and plugin.xml
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706821 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox')
-rw-r--r--branches/sca-equinox/modules/thirdparty-library/pom.xml105
1 files changed, 58 insertions, 47 deletions
diff --git a/branches/sca-equinox/modules/thirdparty-library/pom.xml b/branches/sca-equinox/modules/thirdparty-library/pom.xml
index b4650a9dff..166850ddcb 100644
--- a/branches/sca-equinox/modules/thirdparty-library/pom.xml
+++ b/branches/sca-equinox/modules/thirdparty-library/pom.xml
@@ -44,54 +44,65 @@
</dependency>
</dependencies>
- <profiles>
- <profile>
- <id>eclipse</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>${basedir}/lib</directory>
- <includes>
- <include>*</include>
- </includes>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-bundle-plugin</artifactId>
- <executions>
- <execution>
- <id>assemble-thirdparty-bundle</id>
- <phase>process-resources</phase>
- <goals>
- <goal>assemble-thirdparty-bundle</goal>
- </goals>
- <configuration>
- <symbolicName>org.apache.tuscany.sca.thirdparty.library
- </symbolicName>
- </configuration>
- </execution>
- <execution>
- <id>generate-pde-classpath</id>
- <phase>process-resources</phase>
- <goals>
- <goal>generate-pde-classpath</goal>
- </goals>
- </execution>
+ <configuration>
+ <instructions>
+ <Bundle-Version>1.4</Bundle-Version>
+ <Bundle-SymbolicName>org.apache.tuscany.sca.thirdparty.library;singleton:=true</Bundle-SymbolicName>
+ <Bundle-Description>${pom.description}</Bundle-Description>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${basedir}/eclipse</directory>
+ <includes>
+ <include>*</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <plugin>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-maven-bundle-plugin</artifactId>
+ <executions>
+ <!--
+ <execution> <id>assemble-thirdparty-bundle</id> <phase>process-resources</phase> <goals>
+ <goal>assemble-thirdparty-bundle</goal> </goals> <configuration>
+ <symbolicName>org.apache.tuscany.sca.thirdparty.library </symbolicName> </configuration>
+ </execution>
+ -->
+ <execution>
+ <id>build-thirdparty-distro</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>build-thirdparty-distro</goal>
+ </goals>
+ </execution>
+
+<!--
+ <execution>
+ <id>generate-pde-classpath</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>generate-pde-classpath</goal>
+ </goals>
+ </execution>
+-->
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>