remove use of target, replace with maven.build.dir

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114976 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2004-04-04 03:38:03 +00:00
parent 576fd71ce8
commit 5a0765f243
2 changed files with 8 additions and 5 deletions

View File

@@ -51,11 +51,14 @@
(quote (jde-sourcepath (quote ("./${srcDir}"))))
<j:whitespace />
</j:if>
(quote (jde-compile-option-directory "./target/classes"))
(quote (jde-javadoc-gen-destination-directory "./target/docs/apidocs"))
<maven:makeRelativePath path="${maven.build.dest}" var="mavenBuildDest" separator="/" basedir="${basedir}" />
<maven:makeRelativePath path="${maven.build.dir}" var="mavenBuildDir" separator="/" basedir="${basedir}" />
<maven:makeRelativePath path="${maven.docs.dest}" var="mavenDocsDest" separator="/" basedir="${basedir}" />
(quote (jde-compile-option-directory "./${mavenBuildDest}"))
(quote (jde-javadoc-gen-destination-directory "./${mavenDocsDest}/apidocs"))
(quote (jde-project-file-name "${projectFile}"))
(quote (jde-javadoc-gen-window-title "${pom.name} - ${pom.organization} (${pom.inceptionYear})"))
(quote (jde-import-excluded-packages (quote ("target.*"))))
(quote (jde-import-excluded-packages (quote ("${mavenBuildDir}.*"))))
<j:set var="mainClass"
value="${context.getVariable('maven.jdee.application.class')}" />
@@ -63,7 +66,7 @@
(quote (jde-run-application-class "${mainClass}"))
<j:whitespace> </j:whitespace>
</j:if>
(quote (jde-global-classpath (quote ("./target/classes"
(quote (jde-global-classpath (quote ("./${mavenBuildDest}"
<j:if test="${unitTestSourcesPresent}">
<maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${pom.build.unitTestSourceDirectory}" />
"./${srcDir}" <j:whitespace />

View File

@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-jdee-plugin</id>
<name>Maven JDEE Plug-in</name>
<currentVersion>1.0</currentVersion>
<currentVersion>1.1-SNAPSHOT</currentVersion>
<description>A plugin to create a project file to be used within the
<!--
<a href="http://jdee.sunsite.dk/">Java Developement Enviroment for Emacw</a>