felipeal 2004/10/18 10:19:31 Added: jar/src/plugin-test .cvsignore maven.xml project.xml jar/src/plugin-test/test01 .cvsignore maven.xml project.properties project.xml Log: MPJAR-38: added property maven.jar.final.name Revision Changes Path 1.3 +3 -0 maven-plugins/jar/src/plugin-test/.cvsignore 1.3 +4 -45 maven-plugins/jar/src/plugin-test/maven.xml 1.3 +6 -21 maven-plugins/jar/src/plugin-test/project.xml 1.1 maven-plugins/jar/src/plugin-test/test01/.cvsignore Index: .cvsignore =================================================================== *.log target 1.1 maven-plugins/jar/src/plugin-test/test01/maven.xml Index: maven.xml =================================================================== <!-- /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <project default="testPlugin" xmlns:ant="jelly:ant" xmlns:util="jelly:util" xmlns:j="jelly:core"> <goal name="testPlugin" prereqs="jar:jar"> <j:set var="jarNotFound" value="true"/> <util:available file="${maven.build.dir}/${maven.jar.final.name}"> <j:set var="jarNotFound" value="false"/> </util:available> <j:if test="${jarNotFound}"> <ant:fail>Jar with customized name (${maven.jar.final.name}) not build!</ant:fail> </j:if> </goal> </project> 1.1 maven-plugins/jar/src/plugin-test/test01/project.properties Index: project.properties =================================================================== maven.jar.final.name=whatever.jar 1.1 maven-plugins/jar/src/plugin-test/test01/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <project> <pomVersion>3</pomVersion> <id>test-maven-jar-plugin-MPJAR-38</id> <name>Maven Jar Plugin 01</name> <groupId>maven</groupId> <currentVersion>1.0</currentVersion> <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org/</url> <logo>http://maven.apache.org/images/apache-maven-project.png</logo> </organization> <inceptionYear>2001</inceptionYear> <package>org.apache.maven</package> <logo>http://maven.apache.org/images/maven.gif</logo> <description>Test for Maven Jar plugin, issue MPJAR-38</description> <shortDescription>MPJAR-38</shortDescription> <url>http://maven.apache.org/reference/plugins/jar/</url> <siteDirectory>/www/maven.apache.org/reference/plugins/jar/</siteDirectory> <repository> <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven-plugins/jar/</connection> <url>http://cvs.apache.org/viewcvs/maven-plugins/jar/</url> </repository> <developers> <developer> <name>Felipe Leme</name> <id>felipeal</id> <email>[EMAIL PROTECTED]</email> <organization>Falcon Informatica</organization> <timezone>-3</timezone> </developer> </developers> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]