parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>net.revelc.code.formatter</groupId> <artifactId>parent</artifactId> <version>2.5.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- 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. --> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.takari.tycho</groupId> <artifactId>tycho-support</artifactId> <version>0.17.0</version> </parent> <groupId>net.revelc.code.formatter</groupId> <artifactId>parent</artifactId> <version>2.5.0</version> <packaging>pom</packaging> <name>parent</name> <description>Plugin for formatting source code</description> <url>https://github.com/revelc/formatter-maven-plugin/</url> <inceptionYear>2010</inceptionYear> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <developers> <developer> <id>jecki.go</id> <name>Jecki</name> <email>jecki.go@gmail.com</email> </developer> <developer> <id>matt.blanchette</id> <name>Matt Blanchette</name> <email>matt.blanchette@gmail.com</email> </developer> <developer> <id>velo</id> <name>Marvin Froeder</name> <email>velo.br@gmail.com</email> </developer> <developer> <id>jlandis</id> <name>Jeremy Landis</name> <email>jeremylandis@hotmail.com</email> <url>https://www.linkedin.com/in/jeremy-landis-548b2719</url> <organization>hazendaz</organization> <organizationUrl>https://github.com/hazendaz</organizationUrl> <roles> <role>Developer</role> </roles> <timezone>-5</timezone> <properties> <picUrl>https://media.licdn.com/mpr/mpr/shrinknp_200_200/p/1/000/128/174/30cff69.jpg</picUrl> </properties> </developer> <developer> <name>Christopher Tubbs</name> </developer> </developers> <modules> <module>maven-plugin</module> <module>m2e-configurator/formatter</module> <module>m2e-configurator/formatter.feature</module> <module>m2e-configurator/formatter.site</module> <!-- <module>m2e-configurator/formatter.tests</module> --> </modules> <scm> <connection>scm:git:git@github.com/revelc/formatter-maven-plugin.git</connection> <developerConnection>scm:git:git@github.com/revelc/formatter-maven-plugin.git</developerConnection> <tag>formatter-maven-plugin-2.5.0</tag> <url>https://github.com/revelc/formatter-maven-plugin</url> </scm> <issueManagement> <system>Github</system> <url>https://github.com/revelc/formatter-maven-plugin/issues</url> </issueManagement> <ciManagement> <system>travis</system> <url>https://travis-ci.org/revelc/formatter-maven-plugin/</url> <!-- Do we want this? Can we have two? <system>shippable</system> <url>https://app.shippable.com/projects/54cfaf705ab6cc13528a8b4c/builds/latest</url> --> </ciManagement> <distributionManagement> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Release Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <site> <id>gh-pages</id> <name>Formatter Maven Plugin GitHub Pages</name> <url>git:ssh://git@github.com/revelc/formatter-maven-plugin.git?gh-pages#</url> </site> </distributionManagement> <properties> <autoVersionSubmodules>true</autoVersionSubmodules> <eclipse-repo.url>http://download.eclipse.org/releases/neon</eclipse-repo.url> <m2e-core.url>${repoHost}/content/sites/m2e.extras/m2e/1.9.0/N/LATEST</m2e-core.url> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.testSource>1.8</maven.compiler.testSource> <maven.compiler.testTarget>1.8</maven.compiler.testTarget> <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <tagNameFormat>formatter-maven-plugin-@{project.version}</tagNameFormat> <tychoVersion>1.0.0</tychoVersion> </properties> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>1.9.5</version> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>1.5.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.5</version> <executions> <execution> <id>default-descriptor</id> <goals> <goal>descriptor</goal> </goals> <phase>process-classes</phase> </execution> <execution> <id>help-descriptor</id> <goals> <goal>helpmojo</goal> </goals> <phase>process-classes</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.7.0</version> <configuration> <!-- ignore takari-lifecycle --> <skip>false</skip> <skipMain>false</skipMain> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <configuration> <!-- ignore takari-lifecycle --> <skip>false</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M1</version> <configuration> <rules> <requireMavenVersion> <version>[3.5.0,)</version> </requireMavenVersion> <requireJavaVersion> <version>[${maven.compiler.source},)</version> </requireJavaVersion> </rules> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> <configuration> <!-- ignore takari-lifecycle --> <skip>false</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.0.2</version> <configuration> <!-- ignore takari-lifecycle --> <skip>false</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.6</version> <dependencies> <dependency> <groupId>net.trajano.wagon</groupId> <artifactId>wagon-git</artifactId> <!-- Do not upgrade to 2.0.4 as it does not work --> <version>2.0.3</version> </dependency> <!-- For reporting only of versions --> <dependency> <groupId>org.apache.maven.skins</groupId> <artifactId>maven-fluido-skin</artifactId> <version>1.6</version> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <version>3.0.0</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.20.1</version> <configuration> <argLine>${utCoverage}</argLine> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <configuration> <!-- ignore takari-lifecycle --> <skip>false</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.0.0-M1</version> <configuration> <quiet>true</quiet> <javadocVersion>1.8.0</javadocVersion> <additionalparam>-Xdoclint:all,-Xdoclint:-missing</additionalparam> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.0.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <arguments>-Psonatype-oss-release</arguments> <goals>clean deploy</goals> <!-- Bypass build during release, and commit version changes --> <!-- Build will probably not fail during release, so test it with mvn verify first --> <preparationGoals>-Pcommit-changed-manifests clean scm:add scm:checkin</preparationGoals> <completionGoals>-Pcommit-changed-manifests clean scm:add scm:checkin</completionGoals> <localCheckout>true</localCheckout> <pushChanges>false</pushChanges> <useReleaseProfile>false</useReleaseProfile> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> </plugin> <!-- Find maven root --> <plugin> <groupId>org.commonjava.maven.plugins</groupId> <artifactId>directory-maven-plugin</artifactId> <version>0.2</version> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>3.0</version> <dependencies> <dependency> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin-git</artifactId> <version>3.0</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.9</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.20.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>target-platform-configuration</artifactId> <version>${tychoVersion}</version> <configuration> <environments> <environment> <os>win32</os> <ws>win32</ws> <arch>x86</arch> </environment> <environment> <os>linux</os> <ws>gtk</ws> <arch>x86_64</arch> </environment> <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86_64</arch> </environment> </environments> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.9</version> </plugin> <plugin> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <version>2.8.0</version> <configuration> <createBackupFile>false</createBackupFile> <expandEmptyElements>false</expandEmptyElements> <lineSeparator>\n</lineSeparator> <keepBlankLines>true</keepBlankLines> <nrOfIndentSpace>2</nrOfIndentSpace> <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> <sortDependencies>scope,groupId,artifactId</sortDependencies> <sortProperties>true</sortProperties> <verifyFail>Stop</verifyFail> </configuration> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>2.0.1</version> <configuration> <configFile>${main.basedir}/src/config/eclipse/formatter/java.xml</configFile> <configJsFile>${main.basedir}/src/config/eclipse/formatter/javascript.xml</configJsFile> <sourceDirectory>${project.basedir}</sourceDirectory> <excludes> <exclude>**/src/test/resources/**</exclude> <exclude>**/target/**</exclude> </excludes> <lineEnding>AUTO</lineEnding> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <includes> <include>**/revelc/*</include> </includes> <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> <propertyName>utCoverage</propertyName> </configuration> </execution> </executions> </plugin> <!-- Find maven root --> <plugin> <groupId>org.commonjava.maven.plugins</groupId> <artifactId>directory-maven-plugin</artifactId> <executions> <execution> <id>directories</id> <goals> <goal>highest-basedir</goal> </goals> <phase>validate</phase> <configuration> <property>main.basedir</property> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <executions> <execution> <id>license-headers</id> <goals> <goal>format</goal> </goals> <phase>compile</phase> <configuration> <header>${main.basedir}/copyright.txt</header> <excludes> <exclude>**/target/**</exclude> <exclude>**/build.properties</exclude> <exclude>**/maven-wrapper.properties</exclude> <exclude>mvnw</exclude> <exclude>mvnw.cmd</exclude> <exclude>NOTICE</exclude> </excludes> <mapping> <java>SLASHSTAR_STYLE</java> </mapping> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> </execution> <execution> <id>enforce-clean</id> <goals> <goal>enforce</goal> </goals> <phase>pre-clean</phase> </execution> <execution> <id>enforce-site</id> <goals> <goal>enforce</goal> </goals> <phase>pre-site</phase> </execution> </executions> </plugin> <plugin> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <executions> <execution> <id>sort-pom</id> <goals> <goal>sort</goal> </goals> <phase>process-sources</phase> </execution> <execution> <id>verify-pom</id> <goals> <goal>verify</goal> </goals> <phase>process-resources</phase> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <executions> <execution> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> </plugins> <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <version>3.0.0</version> </extension> </extensions> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.9</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.20.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.4</version> </plugin> </plugins> </reporting> <profiles> <profile> <id>sonatype-oss-release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <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-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>update-manifests</id> <activation> <file> <exists>META-INF/MANIFEST.MF</exists> </file> </activation> <build> <plugins> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <executions> <execution> <id>update-manifest-version-from-pom</id> <goals> <goal>replace</goal> </goals> <phase>pre-clean</phase> <configuration> <file>${project.basedir}/META-INF/MANIFEST.MF</file> <replacements> <replacement> <token>Bundle-Version:.*</token> <value>Bundle-Version: ${project.version}</value> </replacement> </replacements> </configuration> </execution> <execution> <id>version-with-snapshot-update-manifest</id> <goals> <goal>replace</goal> </goals> <phase>pre-clean</phase> <configuration> <file>${project.basedir}/META-INF/MANIFEST.MF</file> <replacements> <replacement> <token>-SNAPSHOT</token> <value>.qualifier</value> </replacement> </replacements> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>commit-changed-manifests</id> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <configuration> <includes>m2e-configurator/*/META-INF/MANIFEST.MF,m2e-configurator/formatter.feature/feature.xml,m2e-configurator/formatter.site/category.xml</includes> <message>[maven-release-plugin] increment Bundle-Version for ${project.version}</message> <pushChanges>false</pushChanges> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>coveralls</id> <build> <resources> <resource> <directory>${project.basedir}</directory> <includes> <include>**/target/classes/**/*.class</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.eluder.coveralls</groupId> <artifactId>coveralls-maven-plugin</artifactId> <version>4.3.0</version> <configuration> <scanForSources>true</scanForSources> <sourceDirectories> <sourceDirectory>${project.basedir}</sourceDirectory> </sourceDirectories> <jacocoReports> <report>${project.build.directory}/coverage-reports/jacoco.xml</report> </jacocoReports> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <configuration> <fileSets> <fileSet> <directory>${project.basedir}</directory> <includes> <include>**/*.exec</include> </includes> </fileSet> </fileSets> <includes> <include>**/revelc/**</include> </includes> <destFile>${project.build.directory}/jacoco.exec</destFile> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>eclipse</id> <activation> <property> <name>m2e.version</name> </property> </activation> <build> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>helpmojo</goal> <goal>descriptor</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.commonjava.maven.plugins</groupId> <artifactId>directory-maven-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>highest-basedir</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>enforce</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>sort</goal> <goal>verify</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>format</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> </project>