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