diff options
Diffstat (limited to 'branches/sca-equinox/distribution/features/all/pom.xml')
-rw-r--r-- | branches/sca-equinox/distribution/features/all/pom.xml | 52 |
1 files changed, 47 insertions, 5 deletions
diff --git a/branches/sca-equinox/distribution/features/all/pom.xml b/branches/sca-equinox/distribution/features/all/pom.xml index 061a4659b7..7fbc5f0730 100644 --- a/branches/sca-equinox/distribution/features/all/pom.xml +++ b/branches/sca-equinox/distribution/features/all/pom.xml @@ -108,15 +108,29 @@ <profiles> - <!-- Default build profile that can be used to build the distro packages --> + <!-- Build profile that can be used to build the distro packages --> <profile> - <id>default</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> + <id>distribution</id> <build> <plugins> <plugin> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-maven-bundle-plugin</artifactId> + <executions> + <execution> + <id>distribution-modules</id> + <phase>generate-resources</phase> + <goals> + <goal>generate-modules</goal> + </goals> + <configuration> + <targetDirectory>target/modules</targetDirectory> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> @@ -141,6 +155,34 @@ </build> </profile> + <!-- Build profile that can be used to configure your Eclipse environment --> + <profile> + <id>eclipse</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-maven-bundle-plugin</artifactId> + <executions> + <execution> + <id>distribution-modules</id> + <phase>generate-resources</phase> + <goals> + <goal>generate-modules</goal> + </goals> + <configuration> + <targetDirectory>target/pdetarget</targetDirectory> + <excludeGroupIds> + <excludeGroupId>org.apache.tuscany.sca</excludeGroupId> + </excludeGroupIds> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <!-- Profile that can be used to build the modules included in the distro --> <profile> <id>modules</id> |