Author: gnodet
Date: Mon Jun 23 14:24:26 2008
New Revision: 670764
URL: http://svn.apache.org/viewvc?rev=670764&view=rev
Log:
Add convenient build pom
Added:
servicemix/smx4/bundles/trunk/pom.xml
Modified:
servicemix/smx4/bundles/trunk/bundles-pom/pom.xml
Modified: servicemix/smx4/bundles/trunk/bundles-pom/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/bundles-pom/pom.xml?rev=670764&r1=670763&r2=670764&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/bundles-pom/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/bundles-pom/pom.xml Mon Jun 23 14:24:26 2008
@@ -39,7 +39,39 @@
<servicemix.osgi.private.pkg />
</properties>
+ <scm>
+
<connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk</connection>
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk</developerConnection>
+ <url>http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/</url>
+ </scm>
+
<build>
+ <defaultGoal>install</defaultGoal>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+
<preparationGoals>clean,verify,install</preparationGoals>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.3.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
@@ -63,6 +95,64 @@
<unpackBundle>true</unpackBundle>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ <executions>
+ <execution>
+ <id>copy-legal</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+
<groupId>org.apache.servicemix.legal</groupId>
+ <artifactId>legal</artifactId>
+
<version>${servicemix.legal.version}</version>
+ <type>xml</type>
+
<outputDirectory>target/legal/</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix.legal</groupId>
+ <artifactId>legal</artifactId>
+ <version>${servicemix.legal.version}</version>
+ <type>xml</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+ </resourceBundles>
+ <supplementalModels>
+
<supplementalModel>target/legal/legal.xml</supplementalModel>
+ </supplementalModels>
+ <properties>
+ <addLicense>true</addLicense>
+ <addArtifact>true</addArtifact>
+ <projectName>Apache ServiceMix</projectName>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Added: servicemix/smx4/bundles/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=670764&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/pom.xml Mon Jun 23 14:24:26 2008
@@ -0,0 +1,65 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !!!!!! !!!!!!
+ !!!!!! This pom is only provided !!!!!!
+ !!!!!! for build convenience and !!!!!!
+ !!!!!! should not be released !!!!!!
+ !!!!!! !!!!!!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-pom</artifactId>
+ <version>1.0</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.pom</artifactId>
+ <version>1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>Apache ServiceMix Bundles</name>
+
+ <modules>
+ <module>bundles-pom</module>
+ <module>ant-1.7.0</module>
+ <module>aopalliance-1.0</module>
+ <module>asm-2.2.3</module>
+ <module>cglib-2.1_3</module>
+ <module>commons-io-1.3.2</module>
+ <module>commons-jxpath-1.2</module>
+ <module>howl-1.0.1-1</module>
+ <module>jasper-6.0.14</module>
+ <module>jaxb-impl-2.1.6</module>
+ <module>jencks-2.1</module>
+ <module>junit-4.4</module>
+ <module>mina-1.1.6</module>
+ <module>neethi-2.0.2</module>
+ <module>saaj-impl-1.3</module>
+ <module>woodstox-3.2.6</module>
+ <module>wsdl4j-1.6.1</module>
+ <module>xmlresolver-1.2</module>
+ <module>xmlschema-1.4.2</module>
+ </modules>
+
+</project>
\ No newline at end of file