3cc2e0
3cc2e0
3cc2e0
3cc2e0
    Copyright 2010 FuseSource Corp. 
3cc2e0
3cc2e0
    Licensed under the Apache License, Version 2.0 (the "License");
3cc2e0
    you may not use this file except in compliance with the License.
3cc2e0
    You may obtain a copy of the License at
3cc2e0
3cc2e0
        http://www.apache.org/licenses/LICENSE-2.0
3cc2e0
3cc2e0
    Unless required by applicable law or agreed to in writing, software
3cc2e0
    distributed under the License is distributed on an "AS IS" BASIS,
3cc2e0
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3cc2e0
    See the License for the specific language governing permissions and
3cc2e0
    limitations under the License.
3cc2e0
3cc2e0
-->
3cc2e0
3cc2e0
<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">
3cc2e0
  <modelVersion>4.0.0</modelVersion>
3cc2e0
3cc2e0
  <groupId>org.fusesource</groupId>
3cc2e0
  <artifactId>fusesource-pom</artifactId>
3cc2e0
  <version>1.9</version>
3cc2e0
  <packaging>pom</packaging>
3cc2e0
3cc2e0
  <name>FuseSource POM</name>
3cc2e0
  <description>This is a shared POM parent for FuseSource Maven projects</description>
3cc2e0
3cc2e0
  <properties>
3cc2e0
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3cc2e0
  </properties>
3cc2e0
3cc2e0
  <url>http://fusesource.com/</url>
3cc2e0
  <organization>
3cc2e0
    <name>FuseSource, Corp.</name>
3cc2e0
    <url>http://fusesource.com/</url>
3cc2e0
  </organization>
3cc2e0
3cc2e0
  <licenses>
3cc2e0
    <license>
3cc2e0
      <name>The Apache Software License, Version 2.0</name>
3cc2e0
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
3cc2e0
      <distribution>repo</distribution>
3cc2e0
    </license>
3cc2e0
  </licenses>
3cc2e0
3cc2e0
  <distributionManagement>
3cc2e0
    <repository>
3cc2e0
      <id>fusesource-nexus-staging</id>
3cc2e0
      <name>FuseSource Release Repository</name>
3cc2e0
      <url>http://repo.fusesource.com/nexus/service/local/staging/deploy/maven2</url>
3cc2e0
    </repository>
3cc2e0
    <snapshotRepository>
3cc2e0
      <id>fusesource-nexus-snapshots</id>
3cc2e0
      <name>FuseSource Nexus Snapshots</name>
3cc2e0
      <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url>
3cc2e0
    </snapshotRepository>
3cc2e0
  </distributionManagement>
3cc2e0
3cc2e0
  <scm>
3cc2e0
    <connection>scm:git:git://forge.fusesource.com/mvnplugins.git</connection>
3cc2e0
    <developerConnection>scm:git:ssh://git@forge.fusesource.com/mvnplugins.git</developerConnection>
3cc2e0
    <url>http://github.com/chirino/mvnplugins/tree/master</url>
3cc2e0
  </scm>
3cc2e0
3cc2e0
  
3cc2e0
  <developers>
3cc2e0
    <developer>
3cc2e0
      <id>geeks</id>
3cc2e0
      <name>FuseSource Development Team</name>
3cc2e0
      <organization>FuseSource</organization>
3cc2e0
      <organizationUrl>http://fusesource.com/</organizationUrl>
3cc2e0
    </developer>
3cc2e0
  </developers>
3cc2e0
3cc2e0
  <build>
3cc2e0
3cc2e0
    
3cc2e0
    <extensions>
3cc2e0
      <extension>
3cc2e0
        <groupId>org.apache.maven.wagon</groupId>
3cc2e0
        <artifactId>wagon-webdav-jackrabbit</artifactId>
3cc2e0
        <version>1.0-beta-7</version>
3cc2e0
      </extension>
3cc2e0
    </extensions>
3cc2e0
3cc2e0
     <pluginManagement>
3cc2e0
      <plugins>
3cc2e0
        
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-antrun-plugin</artifactId>
3cc2e0
          <version>1.6</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-assembly-plugin</artifactId>
3cc2e0
          <version>2.2.1</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-clean-plugin</artifactId>
3cc2e0
          <version>2.4.1</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-compiler-plugin</artifactId>
3cc2e0
          <version>2.3.2</version>
3cc2e0
          <configuration>
3cc2e0
            <source>1.4</source>
3cc2e0
            <target>1.4</target>
3cc2e0
            <encoding>${project.build.sourceEncoding}</encoding>
3cc2e0
          </configuration>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-deploy-plugin</artifactId>
3cc2e0
          <version>2.6</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-docck-plugin</artifactId>
3cc2e0
          <version>1.0</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-enforcer-plugin</artifactId>
3cc2e0
          <version>1.0.1</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-gpg-plugin</artifactId>
3cc2e0
          <version>1.3</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-install-plugin</artifactId>
3cc2e0
          <version>2.3.1</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-invoker-plugin</artifactId>
3cc2e0
          <version>1.5</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-jar-plugin</artifactId>
3cc2e0
          <version>2.3.1</version>
3cc2e0
          <configuration>
3cc2e0
            <archive>
3cc2e0
              <manifest>
3cc2e0
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
3cc2e0
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
3cc2e0
              </manifest>
3cc2e0
            </archive>
3cc2e0
          </configuration>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-javadoc-plugin</artifactId>
3cc2e0
          <version>2.5</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-plugin-plugin</artifactId>
3cc2e0
          <version>2.8</version>
3cc2e0
        </plugin>
3cc2e0
        
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-remote-resources-plugin</artifactId>
3cc2e0
          <version>1.2.1</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-resources-plugin</artifactId>
3cc2e0
          <version>2.5</version>
3cc2e0
          <configuration>
3cc2e0
            <encoding>${project.build.sourceEncoding}</encoding>
3cc2e0
          </configuration>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-source-plugin</artifactId>
3cc2e0
          <version>2.1.2</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-surefire-plugin</artifactId>
3cc2e0
          <version>2.6</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.codehaus.mojo</groupId>
3cc2e0
          <artifactId>clirr-maven-plugin</artifactId>
3cc2e0
          <version>2.3</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.codehaus.plexus</groupId>
3cc2e0
          <artifactId>plexus-maven-plugin</artifactId>
3cc2e0
          <version>1.3.8</version>
3cc2e0
        </plugin>
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.codehaus.modello</groupId>
3cc2e0
          <artifactId>modello-maven-plugin</artifactId>
3cc2e0
          <version>1.5</version>
3cc2e0
        </plugin>
3cc2e0
        
3cc2e0
        <plugin>
3cc2e0
          <groupId>org.apache.maven.plugins</groupId>
3cc2e0
          <artifactId>maven-release-plugin</artifactId>
3cc2e0
          <version>2.2.1</version>
3cc2e0
          <configuration>
3cc2e0
            <pushChanges>false</pushChanges>
3cc2e0
            <localCheckout>true</localCheckout>
3cc2e0
            <autoVersionSubmodules>true</autoVersionSubmodules>
3cc2e0
            <allowTimestampedSnapshots>false</allowTimestampedSnapshots>
3cc2e0
            <preparationGoals>clean install</preparationGoals>
3cc2e0
            <goals>deploy</goals>
3cc2e0
            <arguments>-Prelease</arguments>
3cc2e0
          </configuration>
3cc2e0
        </plugin>
3cc2e0
        
3cc2e0
      </plugins>
3cc2e0
    </pluginManagement>
3cc2e0
    
3cc2e0
    <plugins>
3cc2e0
3cc2e0
      
3cc2e0
      <plugin>
3cc2e0
        <groupId>org.apache.maven.plugins</groupId>
3cc2e0
        <artifactId>maven-scm-plugin</artifactId>
3cc2e0
        <version>1.5</version>
3cc2e0
        <dependencies>
3cc2e0
          <dependency>
3cc2e0
            <groupId>org.apache.maven.scm</groupId>
3cc2e0
            <artifactId>maven-scm-provider-gitexe</artifactId>
3cc2e0
            <version>1.5</version>
3cc2e0
          </dependency>
3cc2e0
        </dependencies>
3cc2e0
      </plugin>
3cc2e0
        
3cc2e0
      
3cc2e0
      
3cc2e0
        <groupId>org.apache.maven.plugins</groupId>
3cc2e0
        <artifactId>maven-site-plugin</artifactId>
3cc2e0
        <version>2.1.1</version>
3cc2e0
        <dependencies>
3cc2e0
          <dependency>
3cc2e0
            <groupId>org.apache.maven.wagon</groupId>
3cc2e0
            <artifactId>wagon-webdav-jackrabbit</artifactId>
3cc2e0
            <version>1.0-beta-7</version>
3cc2e0
            <exclusions>
3cc2e0
              <exclusion>
3cc2e0
                <groupId>commons-logging</groupId>
3cc2e0
                <artifactId>commons-logging</artifactId>
3cc2e0
              </exclusion>
3cc2e0
            </exclusions>
3cc2e0
          </dependency>
3cc2e0
        </dependencies>
3cc2e0
      </plugin> -->
3cc2e0
      
3cc2e0
    </plugins>
3cc2e0
  </build>
3cc2e0
3cc2e0
  
3cc2e0
  
3cc2e0
    <plugins>
3cc2e0
      <plugin>
3cc2e0
        <artifactId>maven-project-info-reports-plugin</artifactId>
3cc2e0
        <version>2.1.2</version>
3cc2e0
      </plugin>
3cc2e0
    </plugins>
3cc2e0
  </reporting> -->
3cc2e0
3cc2e0
  <profiles>
3cc2e0
3cc2e0
    
3cc2e0
      Run the release /w the -P release flag to enable the release profile.
3cc2e0
    -->
3cc2e0
    <profile>
3cc2e0
      <id>release</id>
3cc2e0
      <build>
3cc2e0
        <plugins>
3cc2e0
          
3cc2e0
          
3cc2e0
          <plugin>
3cc2e0
            <groupId>org.apache.maven.plugins</groupId>
3cc2e0
            <artifactId>maven-gpg-plugin</artifactId>
3cc2e0
            <configuration>
3cc2e0
              <passphrase>${gpg.passphrase}</passphrase>
3cc2e0
            </configuration>
3cc2e0
            <executions>
3cc2e0
              <execution>
3cc2e0
                <goals>
3cc2e0
                  <goal>sign</goal>
3cc2e0
                </goals>
3cc2e0
              </execution>
3cc2e0
            </executions>
3cc2e0
          </plugin>
3cc2e0
3cc2e0
          <plugin>
3cc2e0
            <groupId>org.apache.maven.plugins</groupId>
3cc2e0
            <artifactId>maven-source-plugin</artifactId>
3cc2e0
            <executions>
3cc2e0
              <execution>
3cc2e0
                <id>attach-sources</id>
3cc2e0
                <goals>
3cc2e0
                  <goal>jar-no-fork</goal>
3cc2e0
                </goals>
3cc2e0
              </execution>
3cc2e0
            </executions>
3cc2e0
          </plugin>
3cc2e0
3cc2e0
          <plugin>
3cc2e0
            <groupId>org.apache.maven.plugins</groupId>
3cc2e0
            <artifactId>maven-javadoc-plugin</artifactId>
3cc2e0
            
3cc2e0
            <configuration>
3cc2e0
              <encoding>${project.build.sourceEncoding}</encoding>
3cc2e0
            </configuration>
3cc2e0
            
3cc2e0
            <executions>
3cc2e0
              <execution>
3cc2e0
                <id>attach-javadocs</id>
3cc2e0
                <goals>
3cc2e0
                  <goal>jar</goal>
3cc2e0
                </goals>
3cc2e0
              </execution>
3cc2e0
            </executions>
3cc2e0
          </plugin>
3cc2e0
      
3cc2e0
        </plugins>
3cc2e0
      </build>
3cc2e0
    </profile>
3cc2e0
    
3cc2e0
    <profile>
3cc2e0
      <id>enforce-no-snapshots</id>
3cc2e0
      <build>
3cc2e0
        <plugins>
3cc2e0
          <plugin>
3cc2e0
            <groupId>org.apache.maven.plugins</groupId>
3cc2e0
            <artifactId>maven-enforcer-plugin</artifactId>
3cc2e0
            <version>1.0</version>
3cc2e0
            <executions>
3cc2e0
              <execution>
3cc2e0
                <id>enforce-no-snapshots</id>
3cc2e0
                <goals><goal>enforce</goal></goals>
3cc2e0
                <configuration>
3cc2e0
                  <rules>
3cc2e0
                    <requireReleaseVersion>
3cc2e0
                      <message>No Snapshots Allowed!</message>
3cc2e0
                    </requireReleaseVersion>                
3cc2e0
                    <requireReleaseDeps>
3cc2e0
                      <message>No Snapshots Allowed!</message>
3cc2e0
                    </requireReleaseDeps>
3cc2e0
                  </rules>
3cc2e0
                </configuration>
3cc2e0
              </execution>
3cc2e0
            </executions>
3cc2e0
          </plugin>
3cc2e0
        </plugins>
3cc2e0
      </build>
3cc2e0
    </profile> 
3cc2e0
    
3cc2e0
    
3cc2e0
    <profile>
3cc2e0
      <id>download</id>
3cc2e0
      <repositories>
3cc2e0
        <repository>
3cc2e0
          <id>fusesource-releases</id>
3cc2e0
          <name>FuseSource Release Repository</name>
3cc2e0
          <url>http://repo.fusesource.com/nexus/content/groups/public</url>
3cc2e0
          <releases><enabled>true</enabled></releases>
3cc2e0
          <snapshots><enabled>false</enabled></snapshots>
3cc2e0
        </repository>
3cc2e0
        <repository>
3cc2e0
          <id>fusesource-snapshots</id>
3cc2e0
          <name>FuseSource Snapshot Repository</name>
3cc2e0
          <url>http://repo.fusesource.com/nexus/content/groups/public-snapshots</url>
3cc2e0
          <releases><enabled>false</enabled></releases>
3cc2e0
          <snapshots><enabled>true</enabled></snapshots>
3cc2e0
        </repository>
3cc2e0
      </repositories>
3cc2e0
      <pluginRepositories>
3cc2e0
        <pluginRepository>
3cc2e0
          <id>fusesource-releases</id>
3cc2e0
          <name>FuseSource Release Repository</name>
3cc2e0
          <url>http://repo.fusesource.com/nexus/content/groups/public</url>
3cc2e0
          <releases><enabled>true</enabled></releases>
3cc2e0
          <snapshots><enabled>false</enabled></snapshots>
3cc2e0
        </pluginRepository>
3cc2e0
        <pluginRepository>
3cc2e0
          <id>fusesource-snapshots</id>
3cc2e0
          <name>FuseSource Snapshot Repository</name>
3cc2e0
          <url>http://repo.fusesource.com/nexus/content/groups/public-snapshots</url>
3cc2e0
          <releases><enabled>false</enabled></releases>
3cc2e0
          <snapshots><enabled>true</enabled></snapshots>
3cc2e0
        </pluginRepository>
3cc2e0
      </pluginRepositories>
3cc2e0
    </profile>  
3cc2e0
    
3cc2e0
    
3cc2e0
    <profile>
3cc2e0
      <id>fusesource-proxy</id>
3cc2e0
      <repositories>
3cc2e0
        <repository>
3cc2e0
          <id>fusesource-proxy</id>
3cc2e0
          <name>FuseSource Proxy Repository</name>
3cc2e0
          <url>http://repo.fusesource.com/nexus/content/groups/m2-proxy</url>
3cc2e0
        </repository>
3cc2e0
      </repositories>
3cc2e0
      <pluginRepositories>
3cc2e0
        <pluginRepository>
3cc2e0
          <id>fusesource-proxy</id>
3cc2e0
          <name>FuseSource Proxy Repository</name>
3cc2e0
          <url>http://repo.fusesource.com/nexus/content/groups/m2-proxy</url>
3cc2e0
        </pluginRepository>
3cc2e0
      </pluginRepositories>
3cc2e0
    </profile>  
3cc2e0
    
3cc2e0
    
3cc2e0
      To generate a graph of the project dependencies, run: mvn -P graph
3cc2e0
      graph:project
3cc2e0
    -->
3cc2e0
    <profile>
3cc2e0
      <id>graph</id>
3cc2e0
      <build>
3cc2e0
        <plugins>
3cc2e0
          <plugin>
3cc2e0
            <groupId>org.fusesource.mvnplugins</groupId>
3cc2e0
            <artifactId>maven-graph-plugin</artifactId>
3cc2e0
            <version>1.15</version>
3cc2e0
          </plugin>
3cc2e0
        </plugins>
3cc2e0
      </build>
3cc2e0
    </profile>    
3cc2e0
3cc2e0
  </profiles>
3cc2e0
</project>