-
-
Save mnrasul/58d67e4b2b4e635fa412 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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> | |
<groupId>com.example</groupId> | |
<artifactId>root-pom</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<name>Root POM</name> | |
<url>http://git.example.com/rootpom.git</url> | |
<properties> | |
<thirdPartyLib.version>2.5.1</thirdPartyLib.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.third.party</groupId> | |
<artifactId>some-artifact</artifactId> | |
<version>${thirdPartyLib.version}</version> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<distributionManagement> | |
<downloadUrl>http://artifactory.example.com/repo</downloadUrl> | |
<repository> | |
<id>example-repo</id> | |
<name>Example Repository</name> | |
<uniqueVersion>false</uniqueVersion> | |
<url>http://artifactory.example.com/local@repo</url> | |
<layout>default</layout> | |
</repository> | |
<snapshotRepository> | |
<id>example-snapshot-repo</id> | |
<name>Example Snapshot Repository</name> | |
<uniqueVersion>true</uniqueVersion> | |
<url>http://artifactory.example.com/local-snapshots@repo</url> | |
<layout>default</layout> | |
</snapshotRepository> | |
</distributionManagement> | |
<build> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>2.5</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-release-plugin</artifactId> | |
<configuration> | |
<autoVersionSubmodules>true</autoVersionSubmodules> | |
<preparationGoals>clean install</preparationGoals> | |
<useReleaseProfile>false</useReleaseProfile> | |
<remoteTagging>true</remoteTagging> | |
<arguments>-Prelease</arguments> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.17</version> | |
<configuration> | |
<argLine>-Xmx1024m</argLine> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>cobertura-maven-plugin</artifactId> | |
<configuration> | |
<formats> | |
<format>xml</format> | |
</formats> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
<scm> | |
<connection>scm:git:ssh://[email protected]/rootpom.git</connection> | |
</scm> | |
</project> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment