servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r608107 - in /servicemix/smx4: features/trunk/ features/trunk/activemq/ features/trunk/activemq/activemq-osgi/ features/trunk/camel/ features/trunk/camel/bundles/ features/trunk/camel/bundles/jaxb-api/ features/trunk/camel/bundles/jaxb-impl...
Date Wed, 02 Jan 2008 14:14:29 GMT
Author: gnodet
Date: Wed Jan  2 06:14:24 2008
New Revision: 608107

URL: http://svn.apache.org/viewvc?rev=608107&view=rev
Log:
Move some code to the features tree

Added:
    servicemix/smx4/features/trunk/activemq/
    servicemix/smx4/features/trunk/activemq/activemq-osgi/
      - copied from r608095, servicemix/smx4/old-branch/activemq/
    servicemix/smx4/features/trunk/camel/   (with props)
    servicemix/smx4/features/trunk/camel/bundles/   (with props)
    servicemix/smx4/features/trunk/camel/bundles/jaxb-api/
      - copied from r608095, servicemix/smx4/old-branch/bundles/jaxb-api/
    servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/
      - copied from r608095, servicemix/smx4/old-branch/bundles/jaxb-impl/
    servicemix/smx4/features/trunk/camel/bundles/pom.xml
      - copied, changed from r608095, servicemix/smx4/runtime/trunk/bundles/pom.xml
    servicemix/smx4/features/trunk/camel/pom.xml
      - copied, changed from r608095, servicemix/smx4/runtime/trunk/gshell/pom.xml
    servicemix/smx4/features/trunk/camel/servicemix-camel/   (props changed)
      - copied from r608095, servicemix/smx4/old-branch/camel/
    servicemix/smx4/features/trunk/pom.xml
Removed:
    servicemix/smx4/old-branch/activemq/
    servicemix/smx4/old-branch/bundles/jaxb-api/
    servicemix/smx4/old-branch/bundles/jaxb-impl/
    servicemix/smx4/old-branch/camel/
Modified:
    servicemix/smx4/features/trunk/   (props changed)
    servicemix/smx4/features/trunk/camel/bundles/jaxb-api/pom.xml
    servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml
    servicemix/smx4/features/trunk/camel/servicemix-camel/pom.xml

Propchange: servicemix/smx4/features/trunk/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Jan  2 06:14:24 2008
@@ -0,0 +1,9 @@
+target
+*.iml
+*.ipr
+*.iws
+.classpath
+.project
+.settings
+
+

Propchange: servicemix/smx4/features/trunk/camel/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Jan  2 06:14:24 2008
@@ -0,0 +1,9 @@
+target
+*.iml
+*.ipr
+*.iws
+.classpath
+.project
+.settings
+
+

Propchange: servicemix/smx4/features/trunk/camel/bundles/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Jan  2 06:14:24 2008
@@ -0,0 +1,9 @@
+target
+*.iml
+*.ipr
+*.iws
+.classpath
+.project
+.settings
+
+

Modified: servicemix/smx4/features/trunk/camel/bundles/jaxb-api/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/bundles/jaxb-api/pom.xml?rev=608107&r1=608095&r2=608107&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/camel/bundles/jaxb-api/pom.xml (original)
+++ servicemix/smx4/features/trunk/camel/bundles/jaxb-api/pom.xml Wed Jan  2 06:14:24 2008
@@ -23,14 +23,14 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.servicemix</groupId>
+        <groupId>org.apache.servicemix.camel.bundles</groupId>
         <artifactId>bundles</artifactId>
-        <version>4.0-SNAPSHOT</version>
+        <version>1.0-SNAPSHOT</version>
     </parent>
 
     <groupId>org.apache.servicemix.bundles</groupId>
-    <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId>
-    <version>${pkgVersion}-${pomVersion}</version>
+    <artifactId>${pom.groupId}.${pkgArtifactId}-${pkgVersion}</artifactId>
+    <version>1.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>ServiceMix OSGI Common Bundles: ${pkgArtifactId}</name>
     <description>
@@ -40,7 +40,6 @@
     <properties>
         <pkgArtifactId>jaxb-api</pkgArtifactId>
         <pkgVersion>${jaxb.api.version}</pkgVersion>
-        <pomVersion>4.0-SNAPSHOT</pomVersion>
         <servicemix.osgi.export.pkg>javax.xml.bind*</servicemix.osgi.export.pkg>
         <servicemix.osgi.import.pkg>javax.xml.stream*;resolution:=optional,*</servicemix.osgi.import.pkg>
     </properties>
@@ -49,6 +48,7 @@
         <dependency>
             <groupId>javax.xml.bind</groupId>
             <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
             <optional>true</optional>
         </dependency>
     </dependencies>

Modified: servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml?rev=608107&r1=608095&r2=608107&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml (original)
+++ servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/pom.xml Wed Jan  2 06:14:24 2008
@@ -23,14 +23,14 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.servicemix</groupId>
+        <groupId>org.apache.servicemix.camel.bundles</groupId>
         <artifactId>bundles</artifactId>
-        <version>4.0-SNAPSHOT</version>
+        <version>1.0-SNAPSHOT</version>
     </parent>
 
     <groupId>org.apache.servicemix.bundles</groupId>
-    <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId>
-    <version>${pkgVersion}-${pomVersion}</version>
+    <artifactId>${pom.groupId}.${pkgArtifactId}-${pkgVersion}</artifactId>
+    <version>1.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>ServiceMix OSGI Common Bundles: ${pkgArtifactId}</name>
     <description>
@@ -40,7 +40,6 @@
     <properties>
         <pkgArtifactId>jaxb-impl</pkgArtifactId>
         <pkgVersion>${jaxb.impl.version}</pkgVersion>
-        <pomVersion>4.0-SNAPSHOT</pomVersion>
         <servicemix.osgi.export.pkg>
             com.sun.xml.bind*,
             com.sun.istack*,
@@ -58,6 +57,7 @@
         <dependency>
             <groupId>com.sun.xml.bind</groupId>
             <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
             <optional>true</optional>
         </dependency>
     </dependencies>

Copied: servicemix/smx4/features/trunk/camel/bundles/pom.xml (from r608095, servicemix/smx4/runtime/trunk/bundles/pom.xml)
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/bundles/pom.xml?p2=servicemix/smx4/features/trunk/camel/bundles/pom.xml&p1=servicemix/smx4/runtime/trunk/bundles/pom.xml&r1=608095&r2=608107&rev=608107&view=diff
==============================================================================
--- servicemix/smx4/runtime/trunk/bundles/pom.xml (original)
+++ servicemix/smx4/features/trunk/camel/bundles/pom.xml Wed Jan  2 06:14:24 2008
@@ -21,25 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.servicemix.runtime</groupId>
-        <artifactId>runtime</artifactId>
-        <version>1.0-m2-SNAPSHOT</version>
+        <groupId>org.apache.servicemix.camel</groupId>
+        <artifactId>camel</artifactId>
+        <version>1.0-SNAPSHOT</version>
     </parent>
 
-    <groupId>org.apache.servicemix.runtime.bundles</groupId>
+    <groupId>org.apache.servicemix.camel.bundles</groupId>
     <artifactId>bundles</artifactId>
     <packaging>pom</packaging>
-    <version>1.0-m2-SNAPSHOT</version>
+    <version>1.0-SNAPSHOT</version>
     <name>ServiceMix OSGI Common Bundles</name>
 
     <modules>
-        <module>ant</module>
-        <module>aopalliance</module>
-        <module>asm</module>
-        <module>cglib</module>
-        <module>junit</module>
-        <module>mina</module>
-        <module>xstream</module>
+        <module>jaxb-api</module>
+        <module>jaxb-impl</module>
     </modules>
 
     <properties>

Copied: servicemix/smx4/features/trunk/camel/pom.xml (from r608095, servicemix/smx4/runtime/trunk/gshell/pom.xml)
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/pom.xml?p2=servicemix/smx4/features/trunk/camel/pom.xml&p1=servicemix/smx4/runtime/trunk/gshell/pom.xml&r1=608095&r2=608107&rev=608107&view=diff
==============================================================================
--- servicemix/smx4/runtime/trunk/gshell/pom.xml (original)
+++ servicemix/smx4/features/trunk/camel/pom.xml Wed Jan  2 06:14:24 2008
@@ -22,23 +22,19 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.servicemix.runtime</groupId>
-        <artifactId>runtime</artifactId>
-        <version>1.0-m2-SNAPSHOT</version>
+        <groupId>org.apache.servicemix.features</groupId>
+        <artifactId>features</artifactId>
+        <version>1.0-SNAPSHOT</version>
     </parent>
 
-    <groupId>org.apache.servicemix.runtime.gshell</groupId>
-    <artifactId>gshell</artifactId>
+    <groupId>org.apache.servicemix.camel</groupId>
+    <artifactId>camel</artifactId>
     <packaging>pom</packaging>
-    <version>1.0-m2-SNAPSHOT</version>
-    <name>ServiceMix Runtime :: GShell</name>
+    <version>1.0-SNAPSHOT</version>
+    <name>ServiceMix Runtime :: Camel</name>
 
     <modules>
-        <module>gshell-core</module>
-        <module>gshell-osgi</module>
-        <module>gshell-obr</module>
-        <module>gshell-wrapper</module>
-        <module>gshell-features</module>
+        <module>bundles</module>
     </modules>
 
 </project>

Propchange: servicemix/smx4/features/trunk/camel/servicemix-camel/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Jan  2 06:14:24 2008
@@ -0,0 +1,9 @@
+target
+*.iml
+*.ipr
+*.iws
+.classpath
+.project
+.settings
+
+

Modified: servicemix/smx4/features/trunk/camel/servicemix-camel/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/camel/servicemix-camel/pom.xml?rev=608107&r1=608095&r2=608107&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/camel/servicemix-camel/pom.xml (original)
+++ servicemix/smx4/features/trunk/camel/servicemix-camel/pom.xml Wed Jan  2 06:14:24 2008
@@ -23,22 +23,22 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>servicemix</artifactId>
-        <version>4.0-SNAPSHOT</version>
+        <groupId>org.apache.servicemix.camel</groupId>
+        <artifactId>camel</artifactId>
+        <version>1.0-SNAPSHOT</version>
     </parent>
 
-    <groupId>org.apache.servicemix</groupId>
-    <artifactId>org.apache.servicemix.camel</artifactId>
+    <groupId>org.apache.servicemix.camel</groupId>
+    <artifactId>org.apache.servicemix.camel.component</artifactId>
     <packaging>bundle</packaging>
-    <version>4.0-SNAPSHOT</version>
-    <name>ServiceMix Camel</name>
+    <version>1.0-SNAPSHOT</version>
+    <name>ServiceMix Camel Component</name>
 
     <dependencies>
         <dependency>
             <groupId>org.apache.servicemix.nmr</groupId>
             <artifactId>org.apache.servicemix.nmr.osgi</artifactId>
-            <version>${project.version}</version>
+            <version>${servicemix.nmr.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
@@ -52,10 +52,10 @@
             <type>test-jar</type>
         </dependency>
         <dependency>
-	    <groupId>org.apache.camel</groupId>
-	    <artifactId>camel-spring</artifactId>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-spring</artifactId>
             <version>${camel.version}</version>
-	</dependency>
+        </dependency>
 
         <dependency>
             <groupId>org.apache.camel</groupId>
@@ -63,18 +63,18 @@
             <version>${camel.version}</version>
         </dependency>
 
-	<dependency>
+        <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-http</artifactId>
             <version>${camel.version}</version>
         </dependency>
 
-	<dependency>
-	    <groupId>org.apache.camel</groupId>
-	    <artifactId>camel-spring</artifactId>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-spring</artifactId>
             <version>${camel.version}</version>
-	    <type>test-jar</type>
-	</dependency>
+            <type>test-jar</type>
+        </dependency>
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
@@ -83,14 +83,14 @@
         </dependency>
         <dependency>
             <groupId>org.apache.servicemix.bundles</groupId>
-	    <artifactId>org.apache.servicemix.bundles.jaxb-impl</artifactId>
-	    <version>${jaxb.impl.version}-${pom.version}</version>
+            <artifactId>org.apache.servicemix.bundles.jaxb-impl-${jaxb.impl.version}</artifactId>
+            <version>${pom.version}</version>
         </dependency>
         
         <dependency>
             <groupId>org.apache.servicemix.bundles</groupId>
-            <artifactId>org.apache.servicemix.bundles.jaxb-api</artifactId>
-            <version>${jaxb.api.version}-${pom.version}</version>
+            <artifactId>org.apache.servicemix.bundles.jaxb-api-${jaxb.api.version}</artifactId>
+            <version>${pom.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.servicemix.bundles</groupId>

Added: servicemix/smx4/features/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=608107&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/pom.xml (added)
+++ servicemix/smx4/features/trunk/pom.xml Wed Jan  2 06:14:24 2008
@@ -0,0 +1,367 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.
+  -->
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>4</version>
+  </parent>
+
+  <groupId>org.apache.servicemix.features</groupId>
+  <artifactId>features</artifactId>
+  <packaging>pom</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>Apache ServiceMix Features</name>
+
+  <modules>
+    <module>camel</module>
+  </modules>
+
+  <scm>
+      <connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/smx4/features/trunk</connection>
+      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/smx4/features/trunk</developerConnection>
+      <url>http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/</url>
+
+  </scm>
+  <issueManagement>
+      <system>jira</system>
+      <url>http://issues.apache.org/activemq/browse/SM</url>
+  </issueManagement>
+
+  <prerequisites>
+      <maven>2.0.7</maven>
+  </prerequisites>
+
+  <properties>
+      <camel.version>1.3-SNAPSHOT</camel.version>
+      <cxf.version>2.0.3-incubator</cxf.version>
+      <felix.plugin.version>1.1.0-r605854</felix.plugin.version>
+      <jaxb.api.version>2.0</jaxb.api.version>
+      <jaxb.impl.version>2.0.3</jaxb.impl.version>
+      <junit.version>4.4</junit.version>
+      <servicemix.nmr.version>1.0-SNAPSHOT</servicemix.nmr.version>
+      <spring.version>2.5</spring.version>
+  </properties>
+
+   <repositories>
+       <!-- Default repository -->
+       <repository>
+           <id>central</id>
+           <name>Default maven repo</name>
+           <url>http://repo1.maven.org/maven2</url>
+       </repository>
+       <!-- ServiceMix repo -->
+       <repository>
+           <id>servicemix</id>
+           <name>ServiceMix Repository</name>
+           <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
+       </repository>
+   </repositories>
+
+  <pluginRepositories>
+      <!-- ServiceMix repo -->
+      <pluginRepository>
+          <id>servicemix</id>
+          <name>ServiceMix Repository</name>
+          <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
+      </pluginRepository>
+  </pluginRepositories>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+          <groupId>org.springframework</groupId>
+          <artifactId>spring-aop</artifactId>
+          <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.springframework</groupId>
+          <artifactId>spring-beans</artifactId>
+          <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.springframework</groupId>
+          <artifactId>spring-core</artifactId>
+          <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.springframework</groupId>
+          <artifactId>spring-context</artifactId>
+          <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.springframework</groupId>
+          <artifactId>spring-test</artifactId>
+          <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.mina</groupId>
+          <artifactId>mina-core</artifactId>
+          <version>${mina.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.mina</groupId>
+          <artifactId>mina-filter-ssl</artifactId>
+          <version>${mina.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>junit</groupId>
+          <artifactId>junit</artifactId>
+          <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>log4j</groupId>
+          <artifactId>log4j</artifactId>
+          <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>jline</groupId>
+          <artifactId>jline</artifactId>
+          <version>${jline.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+          <version>${commons.logging.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <build>
+      <defaultGoal>install</defaultGoal>
+
+      <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-eclipse-plugin</artifactId>
+              <version>2.4</version>
+              <configuration>
+                <outputDirectory>${basedir}/eclipse-classes</outputDirectory>
+                <downloadSources>true</downloadSources>
+                <downloadJavadocs>true</downloadJavadocs>
+              </configuration>
+            </plugin>              
+              <plugin>
+                  <groupId>org.apache.felix</groupId>
+                  <artifactId>maven-bundle-plugin</artifactId>
+                  <version>${felix.plugin.version}</version>
+                  <extensions>true</extensions>
+              </plugin>
+              <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-compiler-plugin</artifactId>
+                  <version>2.0.2</version>
+                  <configuration>
+                      <source>1.5</source>
+                      <target>1.5</target>
+                      <maxmem>256M</maxmem>
+                      <fork>${compiler.fork}</fork>
+                  </configuration>
+              </plugin>
+              <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-idea-plugin</artifactId>
+                  <version>2.1</version>
+                  <configuration>
+                      <downloadSources>true</downloadSources>
+                      <downloadJavadocs>true</downloadJavadocs>
+                  </configuration>
+              </plugin>
+          </plugins>
+      </pluginManagement>
+      <plugins>
+          <plugin>
+              <artifactId>maven-remote-resources-plugin</artifactId>
+              <version>1.0-beta-2</version>
+              <executions>
+                  <execution>
+                      <goals>
+                          <goal>process</goal>
+                      </goals>
+                      <configuration>
+                          <resourceBundles>
+                              <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
+                          </resourceBundles>
+                          <properties>
+                              <addLicense>true</addLicense>
+                              <projectName>Apache ServiceMix</projectName>
+                          </properties>
+                      </configuration>
+                  </execution>
+              </executions>
+          </plugin>
+      </plugins>
+  </build>
+
+  <reporting>
+      <plugins>
+          <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <version>2.3</version>
+          </plugin>
+          <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-jxr-plugin</artifactId>
+              <version>2.0</version>
+          </plugin>
+      </plugins>
+  </reporting>
+
+  <profiles>
+      <profile>
+          <id>fastinstall</id>
+          <properties>
+              <maven.test.skip>true</maven.test.skip>
+          </properties>
+      </profile>
+      <profile>
+          <id>rat</id>
+          <build>
+              <plugins>
+                  <plugin>
+                      <groupId>org.codehaus.mojo</groupId>
+                      <artifactId>rat-maven-plugin</artifactId>
+                      <version>1.0-alpha-3</version>
+                      <executions>
+                          <execution>
+                              <phase>verify</phase>
+                              <goals>
+                                  <goal>check</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                      <configuration>
+                          <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
+                          <excludes>
+                              <exclude>**/target/**/*</exclude>
+                              <!-- IDEA files -->
+                              <exclude>**/*.iml</exclude>
+                              <exclude>**/*.ipr</exclude>
+                              <exclude>**/*.iws</exclude>
+                              <!-- Eclipse files -->
+                              <exclude>**/.*</exclude>
+                              <exclude>**/eclipse-classes/**/*</exclude>
+                          </excludes>
+                      </configuration>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+      <profile>
+          <id>release</id>
+          <build>
+              <plugins>
+                  <!-- We want to deploy the artifact to a staging location for perusal
-->
+                  <plugin>
+                      <inherited>true</inherited>
+                      <artifactId>maven-deploy-plugin</artifactId>
+                      <version>2.3</version>
+                      <configuration>
+                          <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+                          <updateReleaseInfo>true</updateReleaseInfo>
+                      </configuration>
+                  </plugin>
+                  <!-- We want to sign the artifact, the POM, and all attached artifacts
-->
+                  <plugin>
+                      <artifactId>maven-gpg-plugin</artifactId>
+                      <version>1.0-alpha-4</version>
+                      <executions>
+                          <execution>
+                              <goals>
+                                  <goal>sign</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+      <profile>
+          <id>setup.eclipse</id>
+          <modules>
+              <module>assembly</module>
+          </modules>
+          <properties>
+              <eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir>
+          </properties>
+          <build>
+              <defaultGoal>eclipse:eclipse</defaultGoal>
+              <plugins>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-eclipse-plugin</artifactId>
+                      <inherited>false</inherited>
+                      <executions>
+                          <execution>
+                              <id>setup.eclipse.workspace</id>
+                              <phase>process-test-sources</phase>
+                              <goals>
+                                  <goal>add-maven-repo</goal>
+                              </goals>
+                              <configuration>
+                                  <workspace>${eclipse.workspace.dir}</workspace>
+                              </configuration>
+                          </execution>
+                      </executions>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+      <profile>
+          <id>deploy</id>
+          <build>
+              <defaultGoal>deploy</defaultGoal>
+              <plugins>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-source-plugin</artifactId>
+                      <version>2.0.4</version>
+                      <executions>
+                          <execution>
+                              <id>attach-sources</id>
+                              <goals>
+                                  <goal>jar</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-javadoc-plugin</artifactId>
+                      <executions>
+                          <execution>
+                              <id>attach-javadocs</id>
+                              <goals>
+                                  <goal>jar</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+  </profiles>
+
+</project>



Mime
View raw message