MPGENAPP-24:added property maven.genapp.basedir

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@328133 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
felipeal committed 2005-10-24 19:01:30 +00:00
1 parent e35e0c1c79
commit ba29a35444
9 files changed
+173 -4

No files matched your search

@@ -0,0 +1,36 @@
<!--
/*
* 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 xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:x="jelly:xml"
xmlns:assert="assert"
xmlns:j2ee="j2ee"
default="testPlugin">
<goal name="testPlugin" prereqs="test-genapp">
<attainGoal name="clean"/>
</goal>
<goal name="test-genapp" prereqs="clean">
<j:set var="maven.genapp.prompt.id" value="" scope="parent"/>
<!-- TODO: figure it out how to not ask for stuff... -->
<attainGoal name="genapp"/>
<assert:assertFileExists file="${maven.genapp.basedir}"/>
</goal>
</project>
@@ -0,0 +1,16 @@
# -------------------------------------------------------------------
# Copyright 2005 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.
# -------------------------------------------------------------------
maven.genapp.basedir=${maven.build.dir}/my_genapp
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2005 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 xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/3.0.0
http://maven.apache.org/maven-v3_0_0.xsd">
<pomVersion>3</pomVersion>
<name>Genapp Plugin - Basedir Test</name>
<artifactId>test-maven-genapp-plugin-basedirTest</artifactId>
<inceptionYear>2005</inceptionYear>
<shortDescription>Tests maven.genapp.basedir property</shortDescription>
<description>Tests maven.genapp.basedir property</description>
<url/>
<developers>
<developer>
<name>Felipe Leme</name>
<id>felipeal</id>
<email>maven@felipeal.net</email>
<organization>Falcon Informatica</organization>
</developer>
</developers>
</project>