felipeal    2004/10/13 20:25:20

  Added:       integration/maven/src/plugin-test/test03 maven.xml
                        project.properties project.xml
               integration/maven/src/plugin-test/test04 maven.xml
                        project.properties project.xml
  Log:
  new testcases for CACTUS-146
  
  Revision  Changes    Path
  1.1                  
jakarta-cactus/integration/maven/src/plugin-test/test03/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">
          
    <goal name="testPlugin">
      <attainGoal name="cactus:test"/>
    </goal>
  
    <goal name="cactus:test-war">
      <fail>catus:test-war should have been skipped</fail>
    </goal>
  
  </project>
  
  
  
  1.1                  
jakarta-cactus/integration/maven/src/plugin-test/test03/project.properties
  
  Index: project.properties
  ===================================================================
  maven.test.skip=true
  cactus.src.dir=${basedir}/../../../../../src/sample/servlet23/
  
  
  
  1.1                  
jakarta-cactus/integration/maven/src/plugin-test/test03/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-cactus-maven-plugin-03</id>
    <name>CACTUS-146-war</name>
    <description>Test case for issue CACTUS-146:cactus:test should skip tests if 
maven.test.skip is true</description>
    <extend>../project.xml</extend>
  </project>
  
  
  
  1.1                  
jakarta-cactus/integration/maven/src/plugin-test/test04/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">
          
    <goal name="testPlugin">
      <attainGoal name="cactus:test"/>
    </goal>
  
    <goal name="cactus:test-ear">
      <fail>catus:test-ear should have been skipped</fail>
    </goal>
  
  </project>
  
  
  
  1.1                  
jakarta-cactus/integration/maven/src/plugin-test/test04/project.properties
  
  Index: project.properties
  ===================================================================
  maven.test.skip=true
  cactus.src.dir=${basedir}/../../../../../src/sample/servlet23/
  cactus.is.ear=true
  
  
  
  1.1                  
jakarta-cactus/integration/maven/src/plugin-test/test04/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-cactus-maven-plugin-04</id>
    <name>CACTUS-146-ear</name>
    <description>Test case for issue CACTUS-146:cactus:test should skip tests if 
maven.test.skip is true</description>
    <extend>../project.xml</extend>
  </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to