servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r667556 - /servicemix/components/components-pom/trunk/pom.xml
Date Fri, 13 Jun 2008 14:46:54 GMT
Author: chirino
Date: Fri Jun 13 07:46:54 2008
New Revision: 667556

URL: http://svn.apache.org/viewvc?rev=667556&view=rev
Log:
reduced dependencies defined in this parent pom.  The goal being to keep this pom simple so that it does not need to be released very often.

Modified:
    servicemix/components/components-pom/trunk/pom.xml

Modified: servicemix/components/components-pom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/components/components-pom/trunk/pom.xml?rev=667556&r1=667555&r2=667556&view=diff
==============================================================================
--- servicemix/components/components-pom/trunk/pom.xml (original)
+++ servicemix/components/components-pom/trunk/pom.xml Fri Jun 13 07:46:54 2008
@@ -49,28 +49,41 @@
   </modules>
 
   <properties>
-    <releases-repo-id>apache.incubating</releases-repo-id>
-    <releases-repo-name>Apache Incubating Repository</releases-repo-name>
-    <releases-repo-url>http://people.apache.org/repo/m2-incubating-repository</releases-repo-url>
-    <snapshots-repo-id>apache.snapshots</snapshots-repo-id>
-    <snapshots-repo-name>Apache Snapshots Repository</snapshots-repo-name>
-    <snapshots-repo-url>http://people.apache.org/repo/m2-snapshot-repository</snapshots-repo-url>
-    
+    <servicemix-legal-version>1.0</servicemix-legal-version>
+
+    <!-- Common runtime dependencies -->
+    <spring-version>2.0.6</spring-version>
+    <commons-logging-version>1.1</commons-logging-version>
+
+    <!-- Common XML Parsers -->
+    <stax-api-version>1.0.1</stax-api-version>
+    <jaxb-api-version>2.1</jaxb-api-version>
+    <jaxb-impl-version>2.1.6</jaxb-impl-version>
+    <jaxb-xjc-version>2.1.6</jaxb-xjc-version>
+    <woodstox-version>3.2.2</woodstox-version>
+    <xalan-version>2.7.0</xalan-version>
+    <xercesImpl-version>2.8.1</xercesImpl-version>
+    <xml-apis-version>1.3.04</xml-apis-version>
+    <xmlParserAPIs-version>2.2.1</xmlParserAPIs-version>
+    <wsdl4j-version>1.6.1</wsdl4j-version>
+
+    <!-- For testing -->
+    <junit-version>3.8.1</junit-version>
     
+    <!-- 
+      We should work on moving these dependencies down into the component poms.. 
+      leaving commented to that components can cut and paste their dependencies 
+      more easily.
+    -->
+    <!--
     <servicemix-version>3.2.1</servicemix-version>
-    <servicemix-legal-version>1.0</servicemix-legal-version>
 
     <cxf-version>2.1.1-SNAPSHOT</cxf-version>
     <activemq-version>5.1.0</activemq-version>
 
-    <jaxb.version>2.1</jaxb.version>
-    <jaxb.impl.version>2.1.6</jaxb.impl.version>
-    <jaxb.xjc.version>2.1.6</jaxb.xjc.version>
     <xbean-version>3.4.1</xbean-version>
-    <spring-version>2.0.6</spring-version>
     <jetty-version>6.1.6</jetty-version>
 
-    <!-- We should work on moving these dependencies down into the component poms -->
     <xfire-jsr181-api-version>1.0-M1</xfire-jsr181-api-version>
     <xfire-version>1.2.5</xfire-version>
     <mavenAssemblyPluginVersion>2.1</mavenAssemblyPluginVersion>
@@ -79,653 +92,200 @@
     <camel-version>1.3.0</camel-version>
     <jencks-version>2.1</jencks-version>
     <geronimo-version>2.0.1</geronimo-version>
-    <wsdl4j-version>1.6.1</wsdl4j-version>
     <commons-beanutils-version>1.7.0</commons-beanutils-version>
     <commons-fileupload-version>1.1.1</commons-fileupload-version>
-    <woodstox-version>3.2.2</woodstox-version>
     <msv-version>20050913</msv-version>
     <oro-version>2.0.8</oro-version>
     <sitemesh-version>2.2.1</sitemesh-version>
     <woden-version>1.0.0M6</woden-version>
     <derby-version>10.2.2.0</derby-version>
     <saxon-version>8.9</saxon-version>
-
+    -->
   </properties>
   
-  <build>
-    <defaultGoal>install</defaultGoal>
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <includes>
-          <include>**/*</include>
-        </includes>
-      </resource>
-      <resource>
-        <directory>target/generated</directory>
-        <includes>
-          <include>**/*</include>
-        </includes>
-      </resource>
-    </resources>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.3.1</version>
-          <configuration>
-            <useFile>true</useFile>
-            <forkMode>once</forkMode>
-            <childDelegation>false</childDelegation>
-            <argLine>-Xmx512M</argLine>
-            <workingDirectory>${basedir}</workingDirectory>
-            <systemProperties>
-              <property>
-                <name>log4j.configuration</name>
-                <value>log4j-tests.properties</value>
-              </property>
-            </systemProperties>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.servicemix.tooling</groupId>
-          <artifactId>jbi-maven-plugin</artifactId>
-          <version>${servicemix-version}</version>
-          <extensions>true</extensions>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-war-plugin</artifactId>
-          <version>2.1-alpha-1</version>
-          <configuration>
-            <warSourceDirectory>src/webapp/</warSourceDirectory>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.1</version>
-          <configuration>
-            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.xbean</groupId>
-          <artifactId>maven-xbean-plugin</artifactId>
-          <version>${xbean-version}</version>
-        </plugin>
-        <plugin>
-          <groupId>org.mortbay.jetty</groupId>
-          <artifactId>maven-jetty-plugin</artifactId>
-          <version>${jetty-version}</version>
-        </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>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-eclipse-plugin</artifactId>
-          <version>2.3</version>
-          <configuration>
-            <downloadSources>true</downloadSources>
-            <downloadJavadocs>false</downloadJavadocs>
-            <outputDirectory>${basedir}/eclipse-classes</outputDirectory>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-    <plugins>
-      <!-- Is this plugin REALLY needed? the <goal>spring.schemas</goal> was not released in the 3.2.1 version -->
-      <plugin>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>servicemix-build</artifactId>
-        <version>1.0</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>spring.schemas</goal>
-            </goals>
-          </execution>
-        </executions>
-      </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>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.servicemix</groupId>
-            <artifactId>servicemix-build</artifactId>
-            <version>1.0</version>
-          </dependency>
-        </dependencies>
-        <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>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <version>1.4.1</version>
-        <configuration>
-          <instructions>
-            <Bundle-Name>${project.name}</Bundle-Name>
-            <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
-            <Export-Package>org.apache.servicemix*</Export-Package>
-            <Import-Package>*</Import-Package>
-            <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
-          </instructions>
-          <supportedProjectTypes>
-            <supportedProjectType>jbi-component</supportedProjectType>
-          </supportedProjectTypes>
-        </configuration>
-        <executions>
-          <execution>
-            <id>bundle-manifest</id>
-            <phase>process-classes</phase>
-            <goals>
-              <goal>manifest</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.2</version>
-        <configuration>
-          <minmemory>128m</minmemory>
-          <maxmemory>512</maxmemory>
-          <breakiterator>true</breakiterator>
-          <quiet>true</quiet>
-          <verbose>false</verbose>
-          <source>1.5</source>
-<!--
-          FIXME: This worked in m1, but m2 complains about it being an invalid flag
-          <additionalparam>-J-Djava.awt.headless=true</additionalparam>
--->
-          <linksource>true</linksource>
-          <links>
-            <!-- JSE -->
-            <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
-            <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
-            <link>http://java.sun.com/j2se/1.3/docs/api/</link>
-            <!-- JEE -->
-            <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
-            <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link>
-            <!-- Libraries -->
-            <link>http://jakarta.apache.org/commons/collections/apidocs</link>
-            <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
-            <link>http://www.junit.org/junit/javadoc/</link>
-            <link>http://logging.apache.org/log4j/docs/api/</link>
-            <link>http://jakarta.apache.org/regexp/apidocs/</link>
-            <link>http://jakarta.apache.org/velocity/api/</link>
-          </links>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jxr-plugin</artifactId>
-        <version>2.0</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-report-plugin</artifactId>
-        <version>2.0</version>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.1</version>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <version>1.0.0</version>
-      </plugin>
-    </plugins>
-  </reporting>
-  <profiles>
-    <profile>
-      <id>release</id>
-      <build>
-        <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>
-          <!-- If we want to disable tests during a release 	
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <test>false</test>
-            </configuration>
-          </plugin>
-          -->
-          <!-- We want a source jar -->
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <version>2.0.4</version>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <!-- We want the JavaDoc JAR published with the release -->
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <version>2.4</version>
-            <inherited>true</inherited>
-            <configuration>
-              <source>1.5</source>
-            </configuration>
-            <executions>
-              <execution>
-                <id>attach-javadocs</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <!-- We want to sign the artifact, the POM, and all attached artifacts -->
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-gpg-plugin</artifactId>
-            <version>1.0-alpha-4</version>
-            <inherited>true</inherited>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <!-- We want to deploy the artifact to a staging location for perusal -->
-          <plugin>
-            <inherited>true</inherited>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-deploy-plugin</artifactId>
-            <version>2.3</version>
-            <configuration>
-              <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
-              <updateReleaseInfo>true</updateReleaseInfo>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <!-- default profile enables checkstyle and Xlint stuff -->
-      <id>sourcecheck</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-checkstyle-plugin</artifactId>
-            <version>2.2</version>
-            <dependencies>
-              <dependency>
-                <groupId>org.apache.servicemix</groupId>
-                <artifactId>servicemix-build</artifactId>
-                <version>1.0</version>
-              </dependency>
-            </dependencies>
-            <executions>
-              <execution>
-                <id>validate</id>
-                <phase>validate</phase>
-                <configuration>
-                  <configLocation>smx-checkstyle.xml</configLocation>
-                  <consoleOutput>true</consoleOutput>
-                  <failsOnError>true</failsOnError>
-                  <linkXRef>false</linkXRef>
-                  <suppressionsLocation>smx-checkstyle-suppressions.xml</suppressionsLocation>
-                  <sourceDirectory>${basedir}/src</sourceDirectory>
-                  <headerLocation>smx-checkstyle-header.txt</headerLocation>
-                </configuration>
-                <goals>
-                  <goal>checkstyle</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-pmd-plugin</artifactId>
-            <version>2.4</version>
-            <dependencies>
-              <dependency>
-                <groupId>org.apache.servicemix</groupId>
-                <artifactId>servicemix-build</artifactId>
-                <version>1.0</version>
-              </dependency>
-            </dependencies>
-            <configuration>
-              <rulesets>
-                <ruleset>smx-pmd-ruleset.xml</ruleset>
-              </rulesets>
-              <targetJdk>1.5</targetJdk>
-              <linkXRef>false</linkXRef>
-              <includeTests>true</includeTests>
-              <verbose>true</verbose>
-              <excludeRoots>
-                <excludeRoot>${basedir}/src/main/generated</excludeRoot>
-              </excludeRoots>
-            </configuration>
-            <executions>
-              <execution>
-                <id>validate</id>
-                <phase>validate</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>setup.eclipse</id>
-      <build>
-        <defaultGoal>process-test-sources</defaultGoal>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-eclipse-plugin</artifactId>
-            <configuration>
-              <buildcommands>
-                <java.lang.String>org.eclipse.jdt.core.javabuilder</java.lang.String>
-                <java.lang.String>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</java.lang.String>
-                <java.lang.String>net.sourceforge.pmd.runtime.pmdBuilder</java.lang.String>
-              </buildcommands>
-              <projectnatures>
-                <nature>org.eclipse.jdt.core.javanature</nature>
-                <nature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</nature>
-                <nature>net.sourceforge.pmd.runtime.pmdNature</nature>
-              </projectnatures>
-            </configuration>
-            <executions>
-              <execution>
-                <id>setup.eclipse.project</id>
-                <phase>process-test-sources</phase>
-                <goals>
-                  <goal>eclipse</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.1</version>
-            <dependencies>
-              <dependency>
-                <groupId>org.apache.servicemix</groupId>
-                <artifactId>servicemix-build</artifactId>
-                <version>1.0</version>
-              </dependency>
-            </dependencies>
-            <executions>
-              <execution>
-                <id>setup.workspace</id>
-                <phase>validate</phase>
-                <configuration>
-                  <tasks>
-                    <whichresource resource="/smx-eclipse-pmd" property="pmd.url"/>
-                    <whichresource resource="/smx-pmd-ruleset.xml" property="pmdruleset.url"/>
-                    <whichresource resource="/smx-eclipse-checkstyle" property="eclipse.checkstyle.url"/>
-                    <get src="${pmdruleset.url}" dest=".ruleset"/>
-                    <get src="${pmd.url}" dest=".pmd"/>
-                    <get src="${eclipse.checkstyle.url}" dest=".checkstyle"/>
-                  </tasks>
-                </configuration>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </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>
-<!-- left around after creating the site -->
-                <exclude>**/cobertura.ser</exclude>
-<!-- left around after some unit tests -->
-                <exclude>**/derby.log</exclude>
-                <exclude>**/camel-ftp/res/**/*</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>
-      <repositories>
-        <repository>
-          <releases>
-            <enabled>false</enabled>
-          </releases>
-          <snapshots/>
-          <id>Codehaus Snapshots</id>
-          <url>http://snapshots.repository.codehaus.org/</url>
-        </repository>
-      </repositories>
-      <pluginRepositories>
-        <pluginRepository>
-          <releases>
-            <enabled>false</enabled>
-          </releases>
-          <snapshots/>
-          <id>Codehaus Snapshots</id>
-          <url>http://snapshots.repository.codehaus.org/</url>
-        </pluginRepository>
-      </pluginRepositories>
-    </profile>
-  </profiles>
-  
-<!-- 
-  Most components should build fine just using the central maven repo.. adding all the possible 
-  repo location in this parent pom just slows down the dowloads for other components since 
-  it's going to check all the repos listed.  Keep this section commented out, and only enable
-  if a dependency does not download from the central repo. Use it to fine the repo that has the 
-  dependency and add that repo to just that component so only that component pays the price of checking
-  multiple repos. 
--->
-  <repositories>
-      <repository>
-          <id>apache-snapshots</id>
-          <name>Apache Snapshot repository</name>
-          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-          <releases>
-              <enabled>false</enabled>
-          </releases>
-          <snapshots>
-              <enabled>true</enabled>
-          </snapshots>
-      </repository>
-<!--      
-      <repository>
-          <id>servicemix-m2-repo</id>
-          <name>Servicemix Maven2 Repository</name>
-          <url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
-      </repository>
-      <repository>
-          <id>apache-incubating</id>
-          <name>Apache Incubating Repository</name>
-          <url>http://people.apache.org/repo/m2-incubating-repository</url>
-          <releases>
-              <enabled>true</enabled>
-          </releases>
-          <snapshots>
-              <enabled>false</enabled>
-          </snapshots>
-      </repository>
-      <repository>
-          <id>codehaus</id>
-          <name>Codehaus repository</name>
-          <url>http://repository.codehaus.org</url>
-          <releases>
-              <enabled>true</enabled>
-          </releases>
-          <snapshots>
-              <enabled>true</enabled>
-          </snapshots>
-      </repository>
-      <repository>
-          <id>java.net</id>
-          <url>http://download.java.net/maven/1</url>
-          <layout>legacy</layout>
-      </repository>
--->        
-  </repositories>
-  <pluginRepositories>
-      <pluginRepository>
-          <id>apache-snapshots</id>
-          <name>Apache Snapshot repository</name>
-          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-          <releases>
-              <enabled>false</enabled>
-          </releases>
-          <snapshots>
-              <enabled>true</enabled>
-          </snapshots>
-      </pluginRepository>
-<!--      
-      <pluginRepository>
-          <id>apache-releases</id>
-          <name>Apache Releases repository</name>
-          <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
-          <releases>
-              <enabled>true</enabled>
-          </releases>
-          <snapshots>
-              <enabled>false</enabled>
-          </snapshots>
-      </pluginRepository>
-      <pluginRepository>
-          <id>servicemix-m2-repo</id>
-          <name>Servicemix Maven2 Repository</name>
-          <url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
-      </pluginRepository>
-      <pluginRepository>
-          <id>apache-incubating</id>
-          <name>Apache Incubating Repository</name>
-          <url>http://people.apache.org/repo/m2-incubating-repository</url>
-          <releases>
-              <enabled>true</enabled>
-          </releases>
-          <snapshots>
-              <enabled>false</enabled>
-          </snapshots>
-      </pluginRepository>
--->        
-  </pluginRepositories>
-  
-  <dependencyManagement>
-    <dependencies>
-      
-      <!-- The ServiceMix Dependencies, Only here so we can test against them? -->
-      <dependency>
+  <dependencyManagement>
+    <dependencies>
+      
+      <!-- Keep the most common dependencies here to help avoid conflicts across components -->
+      <!-- But if we put too much stuff here we will have to release this pom often, since we would need
+           a release every time a dependency changes -->
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>${commons-logging-version}</version>
+        <optional>true</optional>
+        <scope>provided</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>avalon-framework</groupId>
+            <artifactId>avalon-framework</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>logkit</groupId>
+            <artifactId>logkit</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring</artifactId>
+        <version>${spring-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-support</artifactId>
+        <version>${spring-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-aop</artifactId>
+        <version>${spring-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-jmx</artifactId>
+        <version>${spring-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-context</artifactId>
+        <version>${spring-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>${spring-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-core</artifactId>
+        <version>${spring-version}</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>stax</groupId>
+        <artifactId>stax-api</artifactId>
+        <version>${stax-api-version}</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>javax.xml.bind</groupId>
+        <artifactId>jaxb-api</artifactId>
+        <version>${jaxb-api-version}</version>
+        <scope>provided</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>javax.xml</groupId>
+            <artifactId>jsr173</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>javax.activation</groupId>
+            <artifactId>activation</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>com.sun.xml.bind</groupId>
+        <artifactId>jaxb-impl</artifactId>
+        <version>${jaxb-impl-version}</version>
+        <scope>provided</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>javax.xml</groupId>
+            <artifactId>jsr173</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>javax.jws</groupId>
+            <artifactId>jsr181-api</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>javax.activation</groupId>
+            <artifactId>activation</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>com.sun.xml.bind</groupId>
+        <artifactId>jaxb-xjc</artifactId>
+        <version>${jaxb-xjc-version}</version>
+        <scope>provided</scope>
+        <exclusions>
+          <exclusion>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jsr173_api</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+
+      <dependency>
+        <groupId>org.codehaus.woodstox</groupId>
+        <artifactId>wstx-asl</artifactId>
+        <version>${woodstox-version}</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>wsdl4j</groupId>
+        <artifactId>wsdl4j</artifactId>
+        <version>${wsdl4j-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      
+      <dependency>
+        <groupId>xalan</groupId>
+        <artifactId>xalan</artifactId>
+        <version>${xalan-version}</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>xerces</groupId>
+        <artifactId>xercesImpl</artifactId>
+        <version>${xercesImpl-version}</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>xml-apis</groupId>
+        <artifactId>xml-apis</artifactId>
+        <version>${xml-apis-version}</version>
+        <scope>provided</scope>
+      </dependency>
+      
+      <dependency>
+        <groupId>xerces</groupId>
+        <artifactId>xmlParserAPIs</artifactId>
+        <version>${xmlParserAPIs-version}</version>
+        <scope>provided</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${junit-version}</version>
+        <scope>test</scope>
+      </dependency>
+
+      <!-- 
+        We should work on moving these dependencies down into the component poms.. 
+        leaving commented to that components can cut and paste their dependencies 
+        more easily.
+      -->
+      <!--
+      <dependency>
         <groupId>org.apache.servicemix</groupId>
         <artifactId>servicemix-jbi</artifactId>
         <version>${servicemix-version}</version>
@@ -943,51 +503,6 @@
         <version>2.0.1_IB3</version>
       </dependency>
       <dependency>
-        <groupId>com.sun.xml.bind</groupId>
-        <artifactId>jaxb-impl</artifactId>
-        <version>${jaxb.impl.version}</version>
-        <exclusions>
-          <exclusion>
-            <groupId>javax.xml</groupId>
-            <artifactId>jsr173</artifactId>
-          </exclusion>
-          <exclusion>
-            <groupId>javax.jws</groupId>
-            <artifactId>jsr181-api</artifactId>
-          </exclusion>
-          <exclusion>
-            <groupId>javax.activation</groupId>
-            <artifactId>activation</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
-      <dependency>
-        <groupId>com.sun.xml.bind</groupId>
-        <artifactId>jaxb-xjc</artifactId>
-        <version>${jaxb.xjc.version}</version>
-        <exclusions>
-          <exclusion>
-            <groupId>javax.xml.bind</groupId>
-            <artifactId>jsr173_api</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
-      <dependency>
-        <groupId>javax.xml.bind</groupId>
-        <artifactId>jaxb-api</artifactId>
-        <version>${jaxb.version}</version>
-        <exclusions>
-          <exclusion>
-            <groupId>javax.xml</groupId>
-            <artifactId>jsr173</artifactId>
-          </exclusion>
-          <exclusion>
-            <groupId>javax.activation</groupId>
-            <artifactId>activation</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
-      <dependency>
         <groupId>javax.xml.ws</groupId>
         <artifactId>jaxws-api</artifactId>
         <version>2.0</version>
@@ -1117,7 +632,6 @@
         <groupId>commons-attributes</groupId>
         <artifactId>commons-attributes-plugin</artifactId>
         <version>2.1</version>
-<!--type>plugin</type-->
       </dependency>
       <dependency>
         <groupId>commons-beanutils</groupId>
@@ -1176,25 +690,6 @@
         <version>2.1</version>
       </dependency>
       <dependency>
-        <groupId>commons-logging</groupId>
-        <artifactId>commons-logging</artifactId>
-        <version>1.1</version>
-        <exclusions>
-          <exclusion>
-            <groupId>avalon-framework</groupId>
-            <artifactId>avalon-framework</artifactId>
-          </exclusion>
-          <exclusion>
-            <groupId>logkit</groupId>
-            <artifactId>logkit</artifactId>
-          </exclusion>
-          <exclusion>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
-      <dependency>
         <groupId>commons-net</groupId>
         <artifactId>commons-net</artifactId>
         <version>1.4.1</version>
@@ -1527,11 +1022,6 @@
         <version>1.1.1</version>
       </dependency>
       <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>3.8.1</version>
-      </dependency>
-      <dependency>
         <groupId>org.logicblaze.lingo</groupId>
         <artifactId>lingo</artifactId>
         <version>1.3</version>
@@ -1657,33 +1147,11 @@
         <version>${spring-version}</version>
       </dependency>
       <dependency>
-        <groupId>stax</groupId>
-        <artifactId>stax-api</artifactId>
-        <version>1.0.1</version>
-      </dependency>
-      <dependency>
         <groupId>taglibs</groupId>
         <artifactId>standard</artifactId>
         <version>1.1.2</version>
       </dependency>
       <dependency>
-        <groupId>org.codehaus.woodstox</groupId>
-        <artifactId>wstx-asl</artifactId>
-        <version>${woodstox-version}</version>
-      </dependency>
-      <dependency>
-        <groupId>wsdl4j</groupId>
-        <artifactId>wsdl4j</artifactId>
-        <version>${wsdl4j-version}</version>
-      </dependency>
-      <dependency>
-        <groupId>xalan</groupId>
-        <artifactId>xalan</artifactId>
-        <version>2.7.0</version>
-        <exclusions>
-                </exclusions>
-      </dependency>
-      <dependency>
         <groupId>org.apache.xbean</groupId>
         <artifactId>xbean-spring</artifactId>
         <version>${xbean-version}</version>
@@ -1700,11 +1168,6 @@
         <version>${xbean-version}</version>
       </dependency>
       <dependency>
-        <groupId>xerces</groupId>
-        <artifactId>xercesImpl</artifactId>
-        <version>2.8.1</version>
-      </dependency>
-      <dependency>
         <groupId>org.codehaus.xfire</groupId>
         <artifactId>xfire-all</artifactId>
         <version>${xfire-version}</version>
@@ -1848,16 +1311,6 @@
         <version>${xfire-version}</version>
       </dependency>
       <dependency>
-        <groupId>xml-apis</groupId>
-        <artifactId>xml-apis</artifactId>
-        <version>1.3.04</version>
-      </dependency>
-      <dependency>
-        <groupId>xerces</groupId>
-        <artifactId>xmlParserAPIs</artifactId>
-        <version>2.2.1</version>
-      </dependency>
-      <dependency>
         <groupId>xmlbeans</groupId>
         <artifactId>xbean</artifactId>
         <version>2.1.0</version>
@@ -1991,9 +1444,639 @@
           </exclusion>
         </exclusions>
       </dependency>
+    -->
     </dependencies>
   </dependencyManagement>
+
+  
+  <build>
+    <defaultGoal>install</defaultGoal>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>target/generated</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.3.1</version>
+          <configuration>
+            <useFile>true</useFile>
+            <forkMode>once</forkMode>
+            <childDelegation>false</childDelegation>
+            <argLine>-Xmx512M</argLine>
+            <workingDirectory>${basedir}</workingDirectory>
+            <systemProperties>
+              <property>
+                <name>log4j.configuration</name>
+                <value>log4j-tests.properties</value>
+              </property>
+            </systemProperties>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.servicemix.tooling</groupId>
+          <artifactId>jbi-maven-plugin</artifactId>
+          <version>3.2.1</version>
+          <extensions>true</extensions>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-war-plugin</artifactId>
+          <version>2.1-alpha-1</version>
+          <configuration>
+            <warSourceDirectory>src/webapp/</warSourceDirectory>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.1</version>
+          <configuration>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.xbean</groupId>
+          <artifactId>maven-xbean-plugin</artifactId>
+          <version>3.4.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>maven-jetty-plugin</artifactId>
+          <version>6.1.6</version>
+        </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>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-eclipse-plugin</artifactId>
+          <version>2.3</version>
+          <configuration>
+            <downloadSources>true</downloadSources>
+            <downloadJavadocs>false</downloadJavadocs>
+            <outputDirectory>${basedir}/eclipse-classes</outputDirectory>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+    <plugins>
+      <!-- Is this plugin REALLY needed? the <goal>spring.schemas</goal> was not released in the 3.2.1 version -->
+      <plugin>
+        <groupId>org.apache.servicemix</groupId>
+        <artifactId>servicemix-build</artifactId>
+        <version>1.0</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>spring.schemas</goal>
+            </goals>
+          </execution>
+        </executions>
+      </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>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-build</artifactId>
+            <version>1.0</version>
+          </dependency>
+        </dependencies>
+        <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>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>1.4.1</version>
+        <configuration>
+          <instructions>
+            <Bundle-Name>${project.name}</Bundle-Name>
+            <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
+            <Export-Package>org.apache.servicemix*</Export-Package>
+            <Import-Package>*</Import-Package>
+            <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
+          </instructions>
+          <supportedProjectTypes>
+            <supportedProjectType>jbi-component</supportedProjectType>
+          </supportedProjectTypes>
+        </configuration>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+          <minmemory>128m</minmemory>
+          <maxmemory>512</maxmemory>
+          <breakiterator>true</breakiterator>
+          <quiet>true</quiet>
+          <verbose>false</verbose>
+          <source>1.5</source>
+<!--
+          FIXME: This worked in m1, but m2 complains about it being an invalid flag
+          <additionalparam>-J-Djava.awt.headless=true</additionalparam>
+-->
+          <linksource>true</linksource>
+          <links>
+            <!-- JSE -->
+            <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+            <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
+            <link>http://java.sun.com/j2se/1.3/docs/api/</link>
+            <!-- JEE -->
+            <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
+            <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link>
+            <!-- Libraries -->
+            <link>http://jakarta.apache.org/commons/collections/apidocs</link>
+            <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
+            <link>http://www.junit.org/junit/javadoc/</link>
+            <link>http://logging.apache.org/log4j/docs/api/</link>
+            <link>http://jakarta.apache.org/regexp/apidocs/</link>
+            <link>http://jakarta.apache.org/velocity/api/</link>
+          </links>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jxr-plugin</artifactId>
+        <version>2.0</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+        <version>2.0</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <version>2.1</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>1.0.0</version>
+      </plugin>
+    </plugins>
+  </reporting>
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <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>
+          <!-- If we want to disable tests during a release 	
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <test>false</test>
+            </configuration>
+          </plugin>
+          -->
+          <!-- We want a source jar -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <version>2.0.4</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want the JavaDoc JAR published with the release -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.4</version>
+            <inherited>true</inherited>
+            <configuration>
+              <source>1.5</source>
+            </configuration>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.0-alpha-4</version>
+            <inherited>true</inherited>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want to deploy the artifact to a staging location for perusal -->
+          <plugin>
+            <inherited>true</inherited>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <version>2.3</version>
+            <configuration>
+              <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+              <updateReleaseInfo>true</updateReleaseInfo>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <!-- default profile enables checkstyle and Xlint stuff -->
+      <id>sourcecheck</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-checkstyle-plugin</artifactId>
+            <version>2.2</version>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.servicemix</groupId>
+                <artifactId>servicemix-build</artifactId>
+                <version>1.0</version>
+              </dependency>
+            </dependencies>
+            <executions>
+              <execution>
+                <id>validate</id>
+                <phase>validate</phase>
+                <configuration>
+                  <configLocation>smx-checkstyle.xml</configLocation>
+                  <consoleOutput>true</consoleOutput>
+                  <failsOnError>true</failsOnError>
+                  <linkXRef>false</linkXRef>
+                  <suppressionsLocation>smx-checkstyle-suppressions.xml</suppressionsLocation>
+                  <sourceDirectory>${basedir}/src</sourceDirectory>
+                  <headerLocation>smx-checkstyle-header.txt</headerLocation>
+                </configuration>
+                <goals>
+                  <goal>checkstyle</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-pmd-plugin</artifactId>
+            <version>2.4</version>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.servicemix</groupId>
+                <artifactId>servicemix-build</artifactId>
+                <version>1.0</version>
+              </dependency>
+            </dependencies>
+            <configuration>
+              <rulesets>
+                <ruleset>smx-pmd-ruleset.xml</ruleset>
+              </rulesets>
+              <targetJdk>1.5</targetJdk>
+              <linkXRef>false</linkXRef>
+              <includeTests>true</includeTests>
+              <verbose>true</verbose>
+              <excludeRoots>
+                <excludeRoot>${basedir}/src/main/generated</excludeRoot>
+              </excludeRoots>
+            </configuration>
+            <executions>
+              <execution>
+                <id>validate</id>
+                <phase>validate</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>setup.eclipse</id>
+      <build>
+        <defaultGoal>process-test-sources</defaultGoal>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-eclipse-plugin</artifactId>
+            <configuration>
+              <buildcommands>
+                <java.lang.String>org.eclipse.jdt.core.javabuilder</java.lang.String>
+                <java.lang.String>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</java.lang.String>
+                <java.lang.String>net.sourceforge.pmd.runtime.pmdBuilder</java.lang.String>
+              </buildcommands>
+              <projectnatures>
+                <nature>org.eclipse.jdt.core.javanature</nature>
+                <nature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</nature>
+                <nature>net.sourceforge.pmd.runtime.pmdNature</nature>
+              </projectnatures>
+            </configuration>
+            <executions>
+              <execution>
+                <id>setup.eclipse.project</id>
+                <phase>process-test-sources</phase>
+                <goals>
+                  <goal>eclipse</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.1</version>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.servicemix</groupId>
+                <artifactId>servicemix-build</artifactId>
+                <version>1.0</version>
+              </dependency>
+            </dependencies>
+            <executions>
+              <execution>
+                <id>setup.workspace</id>
+                <phase>validate</phase>
+                <configuration>
+                  <tasks>
+                    <whichresource resource="/smx-eclipse-pmd" property="pmd.url"/>
+                    <whichresource resource="/smx-pmd-ruleset.xml" property="pmdruleset.url"/>
+                    <whichresource resource="/smx-eclipse-checkstyle" property="eclipse.checkstyle.url"/>
+                    <get src="${pmdruleset.url}" dest=".ruleset"/>
+                    <get src="${pmd.url}" dest=".pmd"/>
+                    <get src="${eclipse.checkstyle.url}" dest=".checkstyle"/>
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </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>
+<!-- left around after creating the site -->
+                <exclude>**/cobertura.ser</exclude>
+<!-- left around after some unit tests -->
+                <exclude>**/derby.log</exclude>
+                <exclude>**/camel-ftp/res/**/*</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>
+      <repositories>
+        <repository>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots/>
+          <id>Codehaus Snapshots</id>
+          <url>http://snapshots.repository.codehaus.org/</url>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots/>
+          <id>Codehaus Snapshots</id>
+          <url>http://snapshots.repository.codehaus.org/</url>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+  </profiles>
   
+<!-- 
+  Most components should build fine just using the central maven repo.. adding all the possible 
+  repo location in this parent pom just slows down the dowloads for other components since 
+  it's going to check all the repos listed.  Keep this section commented out, and only enable
+  if a dependency does not download from the central repo. Use it to fine the repo that has the 
+  dependency and add that repo to just that component so only that component pays the price of checking
+  multiple repos. 
+-->
+  <repositories>
+      <repository>
+          <id>apache-snapshots</id>
+          <name>Apache Snapshot repository</name>
+          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+          <releases>
+              <enabled>false</enabled>
+          </releases>
+          <snapshots>
+              <enabled>true</enabled>
+          </snapshots>
+      </repository>
+<!--      
+      <repository>
+          <id>servicemix-m2-repo</id>
+          <name>Servicemix Maven2 Repository</name>
+          <url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
+      </repository>
+      <repository>
+          <id>apache-incubating</id>
+          <name>Apache Incubating Repository</name>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+          <releases>
+              <enabled>true</enabled>
+          </releases>
+          <snapshots>
+              <enabled>false</enabled>
+          </snapshots>
+      </repository>
+      <repository>
+          <id>codehaus</id>
+          <name>Codehaus repository</name>
+          <url>http://repository.codehaus.org</url>
+          <releases>
+              <enabled>true</enabled>
+          </releases>
+          <snapshots>
+              <enabled>true</enabled>
+          </snapshots>
+      </repository>
+      <repository>
+          <id>java.net</id>
+          <url>http://download.java.net/maven/1</url>
+          <layout>legacy</layout>
+      </repository>
+-->        
+  </repositories>
+  <pluginRepositories>
+      <pluginRepository>
+          <id>apache-snapshots</id>
+          <name>Apache Snapshot repository</name>
+          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+          <releases>
+              <enabled>false</enabled>
+          </releases>
+          <snapshots>
+              <enabled>true</enabled>
+          </snapshots>
+      </pluginRepository>
+<!--      
+      <pluginRepository>
+          <id>apache-releases</id>
+          <name>Apache Releases repository</name>
+          <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
+          <releases>
+              <enabled>true</enabled>
+          </releases>
+          <snapshots>
+              <enabled>false</enabled>
+          </snapshots>
+      </pluginRepository>
+      <pluginRepository>
+          <id>servicemix-m2-repo</id>
+          <name>Servicemix Maven2 Repository</name>
+          <url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
+      </pluginRepository>
+      <pluginRepository>
+          <id>apache-incubating</id>
+          <name>Apache Incubating Repository</name>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+          <releases>
+              <enabled>true</enabled>
+          </releases>
+          <snapshots>
+              <enabled>false</enabled>
+          </snapshots>
+      </pluginRepository>
+-->        
+  </pluginRepositories>  
   
   <!--
   <distributionManagement>



Mime
View raw message