Clean up usage of other plugins' properties
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112764 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
01e17e8027
commit
13630ccccf
@ -26,6 +26,9 @@
|
||||
<j:set var="maven.mode.online" value="true" />
|
||||
</j:if>
|
||||
|
||||
<j:set var="factory"
|
||||
value="${pom.getPluginContext('maven-changelog-plugin').getVariable('maven.changelog.factory')}"/>
|
||||
|
||||
<j:choose>
|
||||
<j:when test="${maven.mode.online}">
|
||||
<j:set var="_connection">${pom.repository.connection}</j:set>
|
||||
@ -47,7 +50,7 @@
|
||||
<changelog:changelog
|
||||
basedir="${basedir}"
|
||||
developers="${pom.developers}"
|
||||
factory="${maven.changelog.factory}"
|
||||
factory="${factory}"
|
||||
output="${maven.build.dir}/changelog.xml"
|
||||
outputEncoding="${maven.docs.outputencoding}"
|
||||
range="${maven.activitylog.range}"
|
||||
|
||||
@ -4,11 +4,8 @@
|
||||
# Activity log plugin.
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
maven.src.dir = ${basedir}/src
|
||||
maven.build.dir = ${basedir}/target
|
||||
|
||||
maven.docs.dest = ${maven.build.dir}/docs
|
||||
maven.docs.outputencoding = ISO-8859-1
|
||||
|
||||
maven.activitylog.range = 30
|
||||
maven.changelog.factory = org.apache.maven.cvslib.CvsChangeLogFactory
|
||||
|
||||
@ -23,8 +23,11 @@
|
||||
<pathelement path="${plugin.getDependencyPath('xml-apis')}"/>
|
||||
</classpath>
|
||||
</taskdef>
|
||||
|
||||
<j:set var="warBuildDir"
|
||||
value="${pom.getPluginContext('maven-war-plugin').getVariable('maven.war.build.dir')}"/>
|
||||
|
||||
<warvalidator warFileName="${maven.war.build.dir}/${pom.artifactId}.war">
|
||||
<warvalidator warFileName="${warBuildDir}/${pom.artifactId}.war">
|
||||
<formatter type="plain" usefile="false"/>
|
||||
</warvalidator>
|
||||
</goal>
|
||||
@ -36,8 +39,11 @@
|
||||
description="Create an EAR file from the project">
|
||||
|
||||
<echo>Building EAR ${pom.artifactId}</echo>
|
||||
<mkdir dir="${maven.war.build.dir}" />
|
||||
<ear earfile="${maven.war.build.dir}/${pom.artifactId}.ear"
|
||||
<j:set var="warBuildDir"
|
||||
value="${pom.getPluginContext('maven-war-plugin').getVariable('maven.war.build.dir')}"/>
|
||||
|
||||
<mkdir dir="${warBuildDir}" />
|
||||
<ear earfile="${warBuildDir}/${pom.artifactId}.ear"
|
||||
appxml="${maven.j2ee.ear.appxml}">
|
||||
|
||||
<!-- include the actual project files -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user