desruisseaux opened a new issue, #497:
URL: https://github.com/apache/maven-resources-plugin/issues/497

   ### Affected version
   
   4.0.0-beta-2-SNAPSHOT
   
   ### Bug description
   
   The following integration test fails when Maven Resource Plugin 
4.0.0-beta-2-SNAPSHOT is tested with Maven 4.0.0-rc-6:
   
   * `src/it/MRESOURCES-131` (GitHub issue #217)
   
   This integration test has the following configuration in its `pom.xml`:
   
   ```xml
     <build>
       <pluginManagement>
         <plugins>
           <plugin>
             <artifactId>maven-resources-plugin</artifactId>
             <version>@project.version@</version>
             <configuration>
               <skip>true</skip>
             </configuration>
           </plugin>
         </plugins>
       </pluginManagement>
     </build>
   ```
   
   The `ResourcesMojo` class has the following field:
   
   ```java
       /**
        * You can skip the execution of the plugin if you need to. Its use is 
NOT RECOMMENDED, but quite convenient on
        * occasion.
        *
        * @since 3.0.0
        */
       @Parameter(property = "maven.resources.skip", defaultValue = "false")
       private boolean skip;
   ```
   
   The `TestResourcesMojo` class has the following field:
   
   ```java
       /**
        * Set this to 'true' to bypass copying of test resources.
        * Its use is NOT RECOMMENDED, but quite convenient on occasion.
        * @since 2.6
        */
       @Parameter(property = "maven.test.skip", defaultValue = "false")
       private boolean skip;
   ```
   
   I verified in the debugger that the `skip` flag is `true` in `ResourcesMojo` 
but not in `TestResourcesMojo`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to