You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/09/23 16:46:05 UTC

cvs commit: maven/src/plugins-build/war/src/plugin-test/src/webapp index.html

dion        2003/09/23 07:46:05

  Added:       src/plugins-build/war/src/plugin-test maven.xml project.xml
               src/plugins-build/war/src/plugin-test/src/webapp index.html
  Log:
  Use sample project as test bed
  
  Revision  Changes    Path
  1.1                  maven/src/plugins-build/war/src/plugin-test/maven.xml
  
  Index: maven.xml
  ===================================================================
  <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>
  
  
  1.1                  maven/src/plugins-build/war/src/plugin-test/project.xml
  
  Index: project.xml
  ===================================================================
  <?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>
  
  
  
  
  1.1                  maven/src/plugins-build/war/src/plugin-test/src/webapp/index.html
  
  Index: index.html
  ===================================================================
  <html>
    <body>
      <h1>Simple WebApp Home</h1>
      <p>
        This is a html page for Simple Web App
      </p>
    </body>
  </html>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org