Author: sumedha Date: Sat Dec 6 23:11:25 2008 New Revision: 26030 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=26030
Log: extracting carbon-core source distribution, downloading & extracting source jars for carbon components Modified: trunk/wsas/java/carbon/distribution/pom.xml Modified: trunk/wsas/java/carbon/distribution/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/carbon/distribution/pom.xml?rev=26030&r1=26029&r2=26030&view=diff ============================================================================== --- trunk/wsas/java/carbon/distribution/pom.xml (original) +++ trunk/wsas/java/carbon/distribution/pom.xml Sat Dec 6 23:11:25 2008 @@ -15,13 +15,7 @@ <url></url> <description>WSO2 WSAS Distribution</description> - <dependencies> - <dependency> - <groupId>org.wso2.carbon</groupId> - <artifactId>wso2carbon</artifactId> - <version>${carbon.version}</version> - <type>zip</type> - </dependency> + <dependencies> <!-- TODO - need to change these to use WSAS related components --> <dependency> <groupId>org.wso2.dataservices</groupId> @@ -593,7 +587,7 @@ <artifactId>maven-dependency-plugin</artifactId> <version>2.0-alpha-4</version> <inherited>false</inherited> - <executions> + <executions> <execution> <id>unpack-wso2carbon</id> <phase>package</phase> @@ -609,12 +603,40 @@ <type>zip</type> <overWrite>true</overWrite> <outputDirectory>target</outputDirectory> - </artifactItem> + </artifactItem> + <artifactItem> + <groupId>org.wso2.carbon</groupId> + <artifactId>wso2carbon</artifactId> + <version>SNAPSHOT</version> + <type>zip</type> + <overWrite>true</overWrite> + <classifier>sources</classifier> + <outputDirectory>target/sources</outputDirectory> + </artifactItem> </artifactItems> </configuration> - </execution> + </execution> + <execution> + <id>unpack-carbon-component-sources</id> + <phase>package</phase> + <goals> + <goal>unpack-dependencies</goal> + </goals> + <configuration> + <classifier>sources</classifier> + <copyPom>true</copyPom> + <includeGroupIds>org.wso2.carbon</includeGroupIds> + <outputDirectory>target/sources/wso2-carbon-components-src-${pom.version}</outputDirectory> + <excludeTransitive>true</excludeTransitive> + <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> + <!-- <useRepositoryLayout>true</useRepositoryLayout> --> + <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact> + <stripVersion>true</stripVersion> + </configuration> + </execution> </executions> - </plugin> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> @@ -622,11 +644,11 @@ <executions> <execution> <!-- Creating sample database for data services--> - <id>create-sample-database</id> - <phase>package</phase> + <id>create-sample-database</id> + <phase>package</phase> <goals> <goal>run</goal> - </goals> + </goals> <configuration> <tasks> <property name="db.dir" value="target/samples/DataService/database"/> _______________________________________________ Wsas-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev
