diff options
Diffstat (limited to 'branches/sca-equinox/distribution/features/all')
-rw-r--r-- | branches/sca-equinox/distribution/features/all/pom.xml | 52 | ||||
-rw-r--r-- | branches/sca-equinox/distribution/features/all/src/main/assembly/bin.xml | 2 |
2 files changed, 48 insertions, 6 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> diff --git a/branches/sca-equinox/distribution/features/all/src/main/assembly/bin.xml b/branches/sca-equinox/distribution/features/all/src/main/assembly/bin.xml index 5e21cc7a0f..0ae0aaa615 100644 --- a/branches/sca-equinox/distribution/features/all/src/main/assembly/bin.xml +++ b/branches/sca-equinox/distribution/features/all/src/main/assembly/bin.xml @@ -32,7 +32,7 @@ <componentDescriptors> <componentDescriptor>../core/src/main/components/bin-common.xml</componentDescriptor> - <componentDescriptor>../core/src/main/components/bin-dependencies.xml</componentDescriptor> + <componentDescriptor>../core/src/main/components/bin-modules.xml</componentDescriptor> <componentDescriptor>../core/src/main/components/bin-samples.xml</componentDescriptor> <componentDescriptor>../ejava/src/main/components/bin-samples.xml</componentDescriptor> <componentDescriptor>../manager/src/main/components/bin-samples.xml</componentDescriptor> |