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 2004/07/18 16:08:27 UTC

cvs commit: maven-plugins/struts/src/plugin-test project.xml maven.xml project.properties .cvsignore

dion        2004/07/18 07:08:27

  Added:       struts/src/plugin-test project.xml maven.xml
                        project.properties .cvsignore
  Log:
  Add a test project
  
  Revision  Changes    Path
  1.1                  maven-plugins/struts/src/plugin-test/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>
    <!-- the version of maven's project object model -->
  
    <pomVersion>3</pomVersion>
    <!-- a unique name for this project -->
  
    <id>test-maven-struts-plugin</id>
    <!-- a short but descriptive name for the project -->
  
    <name>Test project for Maven Struts Plugin</name>
    <!-- The version of the project under development, e.g.
         1.1, 1.2, 2.0-dev -->
  
    <currentVersion>1.0</currentVersion>
    <!-- details about the organization that 'owns' the project -->
  
    <organization>
      <name>Apache Software Foundation</name>
      <url>http://maven.apache.org/</url>
    </organization>
    <!-- the year the project started -->
  
    <inceptionYear>2004</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.struts</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-plugins/struts/</connection>
      <url>http://cvs.apache.org/viewcvs/maven-plugins/struts/</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>
        <groupId>commons-beanutils</groupId>
        <artifactId>commons-beanutils</artifactId>
        <version>1.6.1</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>2.1</version><!-- should be 2.0-->
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>commons-digester</groupId>
        <artifactId>commons-digester</artifactId>
        <version>1.5</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>commons-fileupload</groupId>
        <artifactId>commons-fileupload</artifactId>
        <version>1.0</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>2.0</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.0.3</version>
        <url>http://jakarta.apache.org/commons/logging.html</url>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>commons-validator</groupId>
        <artifactId>commons-validator</artifactId>
        <version>1.0.1</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>oro</groupId>
        <artifactId>oro</artifactId>
        <version>2.0.7</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>struts</groupId>
        <artifactId>struts</artifactId>
        <version>1.1</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      <dependency>
        <groupId>servletapi</groupId>
        <artifactId>servletapi</artifactId>
        <version>2.3</version>
        <properties><war.bundle>true</war.bundle></properties>
      </dependency>
      
    </dependencies>
    <!-- build information for the project. We have no source, tests,
         resources etc
      -->
  
    <build>
      <sourceDirectory>src/java</sourceDirectory>
    </build>
  </project>
  
  
  
  1.1                  maven-plugins/struts/src/plugin-test/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 xmlns:j="jelly:core"
           xmlns:assert="assert"
           xmlns:u="jelly:util">
  
    <goal name="testPlugin" prereqs="test-struts">
    </goal>
    
    <goal name="test-struts">
      <attainGoal name="war"/>
      <j:set var="warFile" value="${maven.build.dir}/test-maven-struts-plugin.war"/>
      <j:set var="warDir" value="${maven.build.dir}/test-maven-struts-plugin"/>
      <assert:assertFileExists file="${warFile}"/>
    </goal>
    
    <postGoal name="war">
      <attainGoal name="struts"/>
    </postGoal>
  </project>
  
  
  1.1                  maven-plugins/struts/src/plugin-test/project.properties
  
  Index: project.properties
  ===================================================================
  maven.war.manifest=${basedir}/src/MANIFEST.MF
  
  
  1.1                  maven-plugins/struts/src/plugin-test/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  maven.log
  target
  
  
  

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