mabrarov opened a new pull request #18:
URL: https://github.com/apache/maven-ear-plugin/pull/18


   * Moved filtering of resources out of run-its maven profile because this 
filtering is needed not just for integration tests
   
     ```bash
     $ mvn clean install -e -DskipTests && mvn clean verify -e -Prun-its 
artifact:buildinfo -Dreference.repo=central
     ...
     [INFO] --- maven-artifact-plugin:1.0-SNAPSHOT:buildinfo (default-cli) @ 
maven-ear-plugin ---
     [WARNING] SCM source tag in buildinfo source.scm.tag=HEAD does not permit 
rebuilders reproducible source checkout
     [INFO] Saved info on build to 
xxx...\maven-ear-plugin\target\maven-ear-plugin-3.1.1-SNAPSHOT.buildinfo
     [INFO] Checking against reference build from central...
     [WARNING] Reference buildinfo file not found: it will be generated from 
downloaded reference artifacts
     [INFO] Reference build java.version: 1.8 (from MANIFEST.MF Build-Jdk-Spec)
     [INFO] Reference build os.name: Windows (from pom.properties newline)
     [INFO] Minimal buildinfo generated from downloaded artifacts: 
xxx...\maven-ear-plugin\target\reference\maven-ear-plugin-3.1.1-SNAPSHOT.buildinfo
     [INFO] Reproducible Build output summary: 1 files ok
     [INFO] 
------------------------------------------------------------------------
     [INFO] BUILD SUCCESS
     [INFO] 
------------------------------------------------------------------------
     [INFO] Total time:  06:27 min
     [INFO] Finished at: 2020-10-03T20:55:25+03:00
     [INFO] 
------------------------------------------------------------------------
     ```
   
   * Support of `invoker.it.skip` maven property (can be specified in command 
line) which can be used to skip integration tests utilizing Maven Invoker 
Plugin, i.e. to run just integration tests utilizing Maven Failsafe Plugin:
   
     ```bash
     [INFO] --- maven-invoker-plugin:3.2.1:install (integration-test) @ 
maven-ear-plugin ---
     [INFO] Installing xxx...\maven-ear-plugin\pom.xml to 
xxx...\maven-ear-plugin\target\test-classes\m2repo\org\apache\maven\plugins\maven-ear-plugin\3.1.1-SNAPSHOT\maven-ear-plugin-3.1.1-SNAPSHOT.pom
     [INFO] Installing 
xxx...\maven-ear-plugin\target\maven-ear-plugin-3.1.1-SNAPSHOT.jar to 
xxx...\maven-ear-plugin\target\test-classes\m2repo\org\apache\maven\plugins\maven-ear-plugin\3.1.1-SNAPSHOT\maven-ear-plugin-3.1.1-SNAPSHOT.jar
     Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.pom
     Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.pom
 (6.6 kB at 11 kB/s)
     ...
     [INFO] 
     [INFO] --- maven-invoker-plugin:3.2.1:integration-test (integration-test) 
@ maven-ear-plugin ---
     [INFO] Skipping invocation per configuration. If this is incorrect, ensure 
the skipInvocation parameter is not set to true.
     [INFO] 
     [INFO] --- maven-failsafe-plugin:2.22.2:integration-test (default) @ 
maven-ear-plugin ---
     [INFO] 
     [INFO] -------------------------------------------------------
     [INFO]  T E S T S
     [INFO] -------------------------------------------------------
     [INFO] Running org.apache.maven.plugins.ear.it.EarMojoIT
       Building: project-001
     ...
     [INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
275.704 s - in org.apache.maven.plugins.ear.it.EarMojoIT
     [INFO] 
     [INFO] Results:
     [INFO] 
     [INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0
     [INFO] 
     [INFO] 
     [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-ear-plugin ---
     [INFO] There are 3 errors reported by Checkstyle 6.18 with 
config/maven_checks.xml ruleset.
     [INFO] Ignored 3 errors, 0 violation remaining.
     [INFO] 
     [INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ 
maven-ear-plugin ---
     [INFO] Skipping invocation per configuration. If this is incorrect, ensure 
the skipInvocation parameter is not set to true.
     [INFO] 
     [INFO] --- maven-failsafe-plugin:2.22.2:verify (default) @ 
maven-ear-plugin ---
     [INFO] 
------------------------------------------------------------------------
     [INFO] BUILD SUCCESS
     [INFO] 
------------------------------------------------------------------------
     [INFO] Total time:  05:13 min (Wall Clock)
     [INFO] Finished at: 2020-10-03T20:48:08+03:00
     [INFO] 
------------------------------------------------------------------------
     ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to