Skip to content

Instantly share code, notes, and snippets.

@opsb
Created March 8, 2014 02:36
Show Gist options
  • Save opsb/9424457 to your computer and use it in GitHub Desktop.
Save opsb/9424457 to your computer and use it in GitHub Desktop.
project
modelVersion 4.0.0/modelVersion
repositories
repository
id central/id
name Central Repository/name
url http://repo.maven.apache.org/maven2/url
layout default/layout
snapshots
enabled false/enabled
pluginRepositories
pluginRepository
id central/id
name Central Repository/name
url http://repo.maven.apache.org/maven2/url
layout default/layout
snapshots
enabled false/enabled
releases
updatePolicy never/updatePolicy
build
directory ${project.basedir}/target/directory
outputDirectory ${project.build.directory}/classes/outputDirectory
finalName ${project.artifactId}-${project.version}/finalName
testOutputDirectory ${project.build.directory}/test-classes/testOutputDirectory
sourceDirectory ${project.basedir}/src/main/java/sourceDirectory
scriptSourceDirectory src/main/scripts/scriptSourceDirectory
testSourceDirectory ${project.basedir}/src/test/java/testSourceDirectory
resources
resource
directory ${project.basedir}/src/main/resources/directory
testResources
testResource
directory ${project.basedir}/src/test/resources/directory
pluginManagement
!-- NOTE: These plugins will be removed from future versions of the super POM --
!-- They are kept for the moment as they are very unlikely to conflict with lifecycle mappings (MNG-4453) --
plugins
plugin
artifactId maven-antrun-plugin/artifactId
version 1.3/version
plugin
artifactId maven-assembly-plugin/artifactId
version 2.2-beta-5/version
plugin
artifactId maven-dependency-plugin/artifactId
version 2.1/version
plugin
artifactId maven-release-plugin/artifactId
version 2.0/version
reporting
outputDirectory ${project.build.directory}/site/outputDirectory
profiles
!-- NOTE: The release profile will be removed from future versions of the super POM --
profile
id release-profile/id
activation
property
name performRelease/name
value true/value
build
plugins
plugin
inherited true/inherited
artifactId maven-source-plugin/artifactId
executions
execution
id attach-sources/id
goals
goal jar/goal
plugin
inherited true/inherited
artifactId maven-javadoc-plugin/artifactId
executions
execution
id attach-javadocs/id
goals
goal jar/goal
plugin
inherited true/inherited
artifactId maven-deploy-plugin/artifactId
configuration
updateReleaseInfo true/updateReleaseInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment