open-parent-pom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.vecna.parent</groupId>
<artifactId>open-parent-pom</artifactId>
<version>2.3</version>
</dependency><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">
<!-- Copyright 2011 Vecna Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may
obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License. -->
<modelVersion>4.0.0</modelVersion>
<groupId>com.vecna.parent</groupId>
<artifactId>open-parent-pom</artifactId>
<packaging>pom</packaging>
<version>2.3</version>
<name>Parent POM</name>
<description>Parent pom for all vecna open-source maven projects.</description>
<url>https://github.com/vecnatechnologies/open-parent-pom</url>
<organization>
<name>Vecna Technologies Inc.</name>
<url>http://www.vecna.com/</url>
</organization>
<developers>
<developer>
<id>vecna</id>
<name>Vecna Technologies</name>
<email>opensource@vecna.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/vecnatechnologies/open-parent-pom.git</connection>
<developerConnection>scm:git:git@github.com:vecnatechnologies/open-parent-pom.git</developerConnection>
<url>https://github.com/vecnatechnologies/open-parent-pom</url>
</scm>
<inceptionYear>2009</inceptionYear>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.maxAllowedViolations>0</checkstyle.maxAllowedViolations>
<checkstyle.logViolationsToConsole>true</checkstyle.logViolationsToConsole>
<checkstyle.violationSeverity>error</checkstyle.violationSeverity>
<checkstyle.header>open-header.txt</checkstyle.header>
<java.version>1.8</java.version>
</properties>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>checkstyle</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>default-checkstyle</id>
<phase>compile</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
<execution>
<id>default-checkstyle-check</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<failOnViolation>${checkstyle.failOnViolation}</failOnViolation>
<maxAllowedViolations>${checkstyle.maxAllowedViolations}</maxAllowedViolations>
<logViolationsToConsole>${checkstyle.logViolationsToConsole}</logViolationsToConsole>
<violationSeverity>${checkstyle.violationSeverity}</violationSeverity>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${basedir}</directory>
<filtering>false</filtering>
<includes>
<include>LICENSE</include>
<include>README</include>
<include>NOTICE</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<inherited>true</inherited>
<dependencies>
<dependency>
<groupId>com.vecna.checkstyle</groupId>
<artifactId>open-checkstyle-rules</artifactId>
<version>2.3</version>
</dependency>
</dependencies>
<configuration>
<configLocation>open-checks.xml</configLocation>
<headerLocation>${checkstyle.header}</headerLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<inherited>true</inherited>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<inherited>true</inherited>
<configuration>
<configLocation>vecna-checks.xml</configLocation>
<headerLocation>${checkstyle.header}</headerLocation>
</configuration>
</plugin>
</plugins>
</reporting>
</project>