090936
090936
090936
    Copyright (C) 2010 the original author or authors.
090936
    See the notice.md file distributed with this work for additional
090936
    information regarding copyright ownership.
090936
090936
    Licensed under the Apache License, Version 2.0 (the "License");
090936
    you may not use this file except in compliance with the License.
090936
    You may obtain a copy of the License at
090936
090936
        http://www.apache.org/licenses/LICENSE-2.0
090936
090936
    Unless required by applicable law or agreed to in writing, software
090936
    distributed under the License is distributed on an "AS IS" BASIS,
090936
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
090936
    See the License for the specific language governing permissions and
090936
    limitations under the License.
090936
090936
-->
090936
090936
<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">
090936
  <modelVersion>4.0.0</modelVersion>
090936
  <groupId>com.beust</groupId>
090936
  <artifactId>jcommander</artifactId>
090936
  <packaging>jar</packaging>
090936
  <name>JCommander</name>
090936
  <version>@VERSION@</version>
090936
  <description>A Java framework to parse command line options with annotations.</description>
090936
  <url>http://beust.com/jcommander</url>
090936
  <licenses>
090936
    <license>
090936
      <name>The Apache Software License, Version 2.0</name>
090936
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
090936
      <distribution>repo</distribution>
090936
    </license>
090936
  </licenses>
090936
  <scm>
090936
    <connection>scm:git:git@github.com:cbeust/jcommander.git</connection>
090936
    <developerConnection>scm:git:git@github.com:cbeust/jcommander.git</developerConnection>
090936
    <url>git@github.com:cbeust/jcommander.git</url>
090936
  </scm>
090936
090936
  <repositories>
090936
    <repository>
090936
      <id>jcenter</id>
090936
      <name>bintray</name>
090936
      <url>http://jcenter.bintray.com</url>
090936
    </repository>
090936
090936
    <repository>
090936
      <id>sonatype-nexus-staging</id>
090936
      <name>Nexus Staging Repository</name>
090936
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
090936
    </repository>
090936
    <repository>
090936
      <id>oss-jfrog-artifactory</id>
090936
      <name>oss-jfrog-artifactory-snapshots</name>
090936
      <url>http://oss.jfrog.org/artifactory/oss-snapshot-local</url>
090936
    </repository>
090936
-->
090936
  </repositories>
090936
090936
  <distributionManagement>
090936
    <repository>
090936
      <id>sonatype-nexus-staging</id>
090936
      <name>Nexus Staging Repository</name>
090936
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
090936
    </repository>
090936
  </distributionManagement>
090936
090936
  <developers>
090936
    <developer>
090936
      <name>Cedric Beust</name>
090936
    </developer>
090936
  </developers>
090936
090936
  <parent>
090936
    <groupId>org.sonatype.oss</groupId>
090936
    <artifactId>oss-parent</artifactId>
090936
    <version>3</version>
090936
  </parent>
090936
090936
  <build>
090936
    <plugins>
090936
      
090936
      <plugin>
090936
        <groupId>org.apache.maven.plugins</groupId>
090936
        <artifactId>maven-compiler-plugin</artifactId>
090936
        <version>2.3.1</version>
090936
        <configuration>
090936
          <source>1.8</source>
090936
          <target>1.8</target>
090936
          <encoding>UTF-8</encoding>
090936
        </configuration>
090936
      </plugin>
090936
090936
      
090936
      <plugin>
090936
        <groupId>org.apache.maven.plugins</groupId>
090936
        <artifactId>maven-resources-plugin</artifactId>
090936
        <version>2.4.1</version>
090936
        <configuration>
090936
          <encoding>UTF-8</encoding>
090936
        </configuration>
090936
      </plugin>
090936
090936
      
090936
      <plugin>
090936
        <groupId>org.apache.felix</groupId>
090936
        <artifactId>maven-bundle-plugin</artifactId>
090936
        <version>2.1.0</version>
090936
        <executions>
090936
          <execution>
090936
            <id>bundle-manifest</id>
090936
            <phase>process-classes</phase>
090936
            <goals>
090936
              <goal>manifest</goal>
090936
            </goals>
090936
            <configuration>
090936
              <instructions>
090936
                <_versionpolicy>$(@)</_versionpolicy>
090936
              </instructions>
090936
            </configuration>
090936
          </execution>
090936
        </executions>
090936
      </plugin>
090936
090936
      
090936
      <plugin>
090936
        <groupId>org.apache.maven.plugins</groupId>
090936
        <artifactId>maven-jar-plugin</artifactId>
090936
        <version>2.3.1</version>
090936
        <configuration>
090936
          <archive>
090936
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
090936
          </archive>
090936
        </configuration>
090936
      </plugin>
090936
090936
      
090936
      <plugin>
090936
        <groupId>org.apache.maven.plugins</groupId>
090936
        <artifactId>maven-surefire-plugin</artifactId>
090936
        <version>2.10</version>
090936
        <configuration>
090936
          <skipTests>false</skipTests>
090936
        </configuration>
090936
      </plugin>
090936
090936
      
090936
      <plugin>
090936
        <groupId>org.apache.maven.plugins</groupId>
090936
        <artifactId>maven-javadoc-plugin</artifactId>
090936
        <version>2.7</version>
090936
        <configuration>
090936
          <excludePackageNames>*.internal</excludePackageNames>
090936
        </configuration>
090936
      </plugin>
090936
    </plugins>
090936
    <pluginManagement>
090936
        <plugins>
090936
            
090936
            <plugin>
090936
                <groupId>org.eclipse.m2e</groupId>
090936
                <artifactId>lifecycle-mapping</artifactId>
090936
                <version>1.0.0</version>
090936
                <configuration>
090936
                    <lifecycleMappingMetadata>
090936
                        <pluginExecutions>
090936
                            <pluginExecution>
090936
                                <pluginExecutionFilter>
090936
                                    <groupId>org.apache.felix</groupId>
090936
                                    <artifactId>
090936
                                        maven-bundle-plugin
090936
                                    </artifactId>
090936
                                    <versionRange>
090936
                                        [2.1.0,)
090936
                                    </versionRange>
090936
                                    <goals>
090936
                                        <goal>manifest</goal>
090936
                                    </goals>
090936
                                </pluginExecutionFilter>
090936
                                <action>
090936
                                    <ignore />
090936
                                </action>
090936
                            </pluginExecution>
090936
                        </pluginExecutions>
090936
                    </lifecycleMappingMetadata>
090936
                </configuration>
090936
            </plugin>
090936
        </plugins>
090936
    </pluginManagement>
090936
  </build>
090936
090936
  <dependencies>
090936
  	<dependency>
090936
  		<groupId>org.testng</groupId>
090936
  		<artifactId>testng</artifactId>
090936
  		<version>6.8.21</version>
090936
  		<type>jar</type>
090936
  		<scope>test</scope>
090936
        <exclusions>
090936
            <exclusion>
090936
                <artifactId>jcommander</artifactId>
090936
                <groupId>com.beust</groupId>
090936
            </exclusion>
090936
        </exclusions>
090936
  	</dependency>
090936
  </dependencies>
090936
090936
  <profiles>
090936
    
090936
    
090936
        Do a license check by running       : mvn -P license license:check
090936
        UPdate the license check by running : mvn -P license license:format
090936
      -->
090936
    <profile>
090936
      <id>license</id>
090936
      <build>
090936
        <plugins>
090936
          <plugin>
090936
            <groupId>com.mycila.maven-license-plugin</groupId>
090936
            <artifactId>maven-license-plugin</artifactId>
090936
            <version>1.7.0</version>
090936
            <configuration>
090936
              <quiet>false</quiet>
090936
              <header>src/main/license/license-header.txt</header>
090936
              <includes>
090936
                  <include>src/**</include>
090936
                  <include>pom.xml</include>
090936
              </includes>
090936
              <excludes>
090936
                <exclude>**/.git/**</exclude>
090936
                
090936
                <exclude>**/target/**</exclude>
090936
              </excludes>
090936
              <useDefaultExcludes>false</useDefaultExcludes>
090936
            </configuration>
090936
            <executions>
090936
              <execution>
090936
                <goals>
090936
                  <goal>check</goal>
090936
                </goals>
090936
              </execution>
090936
            </executions>
090936
          </plugin>
090936
        </plugins>
090936
      </build>
090936
    </profile>
090936
    
090936
    
090936
    Sign the artifacts by calling
090936
    mvn -P sign [..]
090936
    -->
090936
    <profile>
090936
      <id>sign</id>
090936
      <build>
090936
        <plugins>
090936
          <plugin>
090936
            <artifactId>maven-gpg-plugin</artifactId>
090936
            <version>1.4</version>
090936
            <executions>
090936
              <execution>
090936
                <id>sign-artifacts</id>
090936
                <phase>verify</phase>
090936
                <goals>
090936
                  <goal>sign</goal>
090936
                </goals>
090936
              </execution>
090936
            </executions>
090936
          </plugin>
090936
        </plugins>
090936
      </build>
090936
    </profile>
090936
  </profiles>
090936
090936
</project>