Use sample project as test bed
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114077 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
429360d4f1
commit
d4c288185f
4 files changed
+99
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<project xmlns:j="jelly:core" xmlns:u="jelly:util">
|
||||
|
||||
<goal name="testPlugin" prereqs="test-war">
|
||||
<attainGoal name="clean"/>
|
||||
</goal>
|
||||
|
||||
<goal name="test-war">
|
||||
<attainGoal name="war"/>
|
||||
|
||||
<!-- <j:set var="expectedFile"
|
||||
value="${maven.build.dir}/test-maven-ear-plugin-1.0-SNAPSHOT.ear"/>
|
||||
<attainGoal name="ear"/>
|
||||
<u:file var="file" name="${expectedFile}" />
|
||||
<j:if test="${!(file.exists())}">
|
||||
<fail>${expectedFile} not generated</fail>
|
||||
</j:if>
|
||||
-->
|
||||
</goal>
|
||||
</project>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<project>
|
||||
|
||||
<!-- the version of maven's project object model -->
|
||||
<pomVersion>3</pomVersion>
|
||||
|
||||
<!-- a unique name for this project -->
|
||||
<id>test-maven-war-plugin</id>
|
||||
|
||||
<!-- a short but descriptive name for the project -->
|
||||
<name>Test Maven War Plugin</name>
|
||||
|
||||
<!-- The version of the project under development, e.g.
|
||||
1.1, 1.2, 2.0-dev -->
|
||||
<currentVersion>1.0-SNAPSHOT</currentVersion>
|
||||
|
||||
<!-- details about the organization that 'owns' the project -->
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
<url>http://jakarta.apache.org/</url>
|
||||
</organization>
|
||||
|
||||
<!-- the year the project started -->
|
||||
<inceptionYear>2002</inceptionYear>
|
||||
|
||||
<!-- the top level of java packages that this project defines
|
||||
e.g. if your project contains the packages
|
||||
com.mycompany.accounts.reports, com.mycompany.accounts.reports
|
||||
and com.mycompany.accounts.utils, the package would be
|
||||
'com.mycompany.accounts' -->
|
||||
<package>org.apache.maven.examples.simplewebapp</package>
|
||||
|
||||
<!-- a short description of what the project does -->
|
||||
<shortDescription>A simple web app project</shortDescription>
|
||||
|
||||
<!-- the project home page -->
|
||||
<url>http://maven.apache.org/</url>
|
||||
|
||||
<!-- the version control repository and http url for online access
|
||||
the connection element has the form:
|
||||
scm:<system>:<system specific connection string> -->
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/examples/simple-webapp</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/examples/simple-webapp/</url>
|
||||
</repository>
|
||||
|
||||
<!-- any mailing lists for the project -->
|
||||
<mailingLists/>
|
||||
|
||||
<!-- who the developers are for the project -->
|
||||
<developers />
|
||||
|
||||
<!-- jar files the project is dependent on -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<id>commons-logging</id>
|
||||
<version>1.0.3</version>
|
||||
<url>http://jakarta.apache.org/commons/logging.html</url>
|
||||
<properties>
|
||||
<war.bundle>true</war.bundle>
|
||||
</properties>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- build information for the project. We have no source, tests,
|
||||
resources etc
|
||||
-->
|
||||
<build />
|
||||
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>Simple WebApp Home</h1>
|
||||
<p>
|
||||
This is a html page for Simple Web App
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -8,6 +8,7 @@
|
||||
<body>
|
||||
|
||||
<release version="1.4" date="in CVS">
|
||||
<action dev="dion" type="update">Add test project</action>
|
||||
<action dev="evenisse" type="add">
|
||||
Added maven.war.index property.
|
||||
</action>
|
||||
|
||||
Reference in new issue
Block a user