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