Created
August 11, 2012 08:13
-
-
Save gree2/3322459 to your computer and use it in GitHub Desktop.
Super POM: Maven 2.0
This file contains 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
<project> | |
<modelVersion>4.0.0</modelVersion> | |
<name>Maven Default Project</name> | |
<repositories> | |
<repository> | |
<id>central</id> | |
<name>Maven Repository Switchboard</name> | |
<layout>default</layout> | |
<url>http://repo1.maven.org/maven2</url> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>central</id> | |
<name>Maven Plugin Repository</name> | |
<url>http://repo1.maven.org/maven2</url> | |
<layout>default</layout> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<releases> | |
<updatePolicy>never</updatePolicy> | |
</releases> | |
</pluginRepository> | |
</pluginRepositories> | |
<build> | |
<directory>target</directory> | |
<outputDirectory>target/classes</outputDirectory> | |
<finalName>${artifactId}-${version}</finalName> | |
<testOutputDirectory>target/test-classes</testOutputDirectory> | |
<sourceDirectory>src/main/java</sourceDirectory> | |
<scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> | |
<testSourceDirectory>src/test/java</testSourceDirectory> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
</resource> | |
</resources> | |
<testResources> | |
<testResource> | |
<directory>src/test/resources</directory> | |
</testResource> | |
</testResources> | |
</build> | |
<reporting> | |
<outputDirectory>target/site</outputDirectory> | |
</reporting> | |
<profiles> | |
<profile> | |
<id>release-profile</id> | |
<activation> | |
<property> | |
<name>performRelease</name> | |
</property> | |
</activation> | |
<build> | |
<plugins> | |
<plugin> | |
<inherited>true</inherited> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-source-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<inherited>true</inherited> | |
<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> | |
<plugin> | |
<inherited>true</inherited> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-deploy-plugin</artifactId> | |
<configuration> | |
<updateReleaseInfo>true</updateReleaseInfo> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment