diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-26 21:04:15 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-26 21:04:15 +0000 |
commit | a9f8132e8f8cca356917328a67ff88cfc496dbf6 (patch) | |
tree | 7cb40cca1bf4fc55e77645d78761eb6987f1b95a /sca-java-2.x/trunk/pom.xml | |
parent | 3566e4b599bcc88382ad81433229b6f2cccdb899 (diff) |
Adding eclipse-mac profile to configure tools.jar property in mac os environment... and adding some comments on what the sections/profiles are used for...
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916815 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/pom.xml | 137 |
1 files changed, 98 insertions, 39 deletions
diff --git a/sca-java-2.x/trunk/pom.xml b/sca-java-2.x/trunk/pom.xml index 874f994f0d..7247c44944 100644 --- a/sca-java-2.x/trunk/pom.xml +++ b/sca-java-2.x/trunk/pom.xml @@ -25,6 +25,9 @@ <version>4</version> </parent> + <!-- ====================================================================== --> + <!-- Project description and basic configuration --> + <!-- ====================================================================== --> <groupId>org.apache.tuscany.sca</groupId> <artifactId>tuscany-sca</artifactId> <packaging>pom</packaging> @@ -51,6 +54,9 @@ <url>http://issues.apache.org/jira/browse/TUSCANY</url> </issueManagement> + <!-- ====================================================================== --> + <!-- Maven Repositories --> + <!-- ====================================================================== --> <repositories> <repository> <id>maven.central</id> @@ -159,9 +165,11 @@ <enabled>false</enabled> </snapshots> </repository> - </repositories> + <!-- ====================================================================== --> + <!-- Maven Plugin-Repositories --> + <!-- ====================================================================== --> <pluginRepositories> <!-- Apache repository for artifacts released by Apache TLP projects --> <pluginRepository> @@ -230,9 +238,11 @@ <enabled>false</enabled> </snapshots> </pluginRepository> - </pluginRepositories> - + + <!-- ====================================================================== --> + <!-- Distribution Management configuration --> + <!-- ====================================================================== --> <distributionManagement> <repository> <id>apache.releases</id> @@ -248,6 +258,9 @@ </distributionManagement> <profiles> + <!-- ====================================================================== --> + <!-- Default profile --> + <!-- ====================================================================== --> <profile> <id>default</id> <activation> @@ -267,6 +280,10 @@ </modules> </profile> + <!-- ====================================================================== --> + <!-- Default profile to be used in Mac OS environment --> + <!-- Note that this set tools.jar property based on the JDK used in Mac --> + <!-- ====================================================================== --> <profile> <id>default-mac</id> <activation> @@ -288,6 +305,84 @@ </modules> </profile> + <!-- ====================================================================== --> + <!-- Profile used to generate OSGi based Eclipse IDE project artifacts --> + <!-- ====================================================================== --> + <profile> + <id>eclipse</id> + <properties> + <tools.jar>${java.home}/../lib/tools.jar</tools.jar> + </properties> + <modules> + <module>modules</module> + <module>samples</module> + <module>itest</module> + <module>features</module> + <module>distribution</module> + </modules> + <build> + <defaultGoal>org.apache.tuscany.maven.plugins:maven-bundle-plugin:eclipse</defaultGoal> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.tuscany.maven.plugins</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>1.0.5</version> + <extensions>true</extensions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + + <!-- ====================================================================== --> + <!-- Profile used to generate OSGi based Eclipse IDE project artifacts --> + <!-- Note that this set tools.jar property based on the JDK used in Mac --> + <!-- ====================================================================== --> + <profile> + <id>eclipse-mac</id> + <properties> + <tools.jar>${java.home}/../Classes/classes.jar</tools.jar> + </properties> + <modules> + <module>modules</module> + <module>samples</module> + <module>itest</module> + <module>features</module> + <module>distribution</module> + </modules> + <build> + <defaultGoal>org.apache.tuscany.maven.plugins:maven-bundle-plugin:eclipse</defaultGoal> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.tuscany.maven.plugins</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>1.0.5</version> + <extensions>true</extensions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + + <!-- ====================================================================== --> + <!-- Profile to build release distribution --> + <!-- ====================================================================== --> <profile> <id>distribution</id> <modules> @@ -357,42 +452,6 @@ </profile> <profile> - <id>eclipse</id> - <properties> - <tools.jar>${java.home}/../lib/tools.jar</tools.jar> - </properties> - <modules> - <module>modules</module> - <module>samples</module> - <module>itest</module> - <!--module>vtest</module--> - <!--module>tutorials</module--> - <!--module>demos</module--> - <module>features</module> - <module>distribution</module> - </modules> - <build> - <defaultGoal>org.apache.tuscany.maven.plugins:maven-bundle-plugin:eclipse</defaultGoal> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.tuscany.maven.plugins</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>1.0.5</version> - <extensions>true</extensions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - </profile> - <profile> <id>osgi</id> <activation> <activeByDefault>false</activeByDefault> |