See <https://builds.apache.org/job/maven-enforcer/242/changes>

Changes:

[gboue] [MENFORCER-204] Add new rule: should be able to make sure that project 
artifact is a Snapshot

Adding a RequireSnapshotVersion rule, which is the opposite of the 
RequireReleaseVersion rule.

------------------------------------------
[...truncated 274 lines...]
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-build/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-build/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-build/pom.xml
A         maven-enforcer-plugin/src/it/projects/multimodule
A         maven-enforcer-plugin/src/it/projects/multimodule/module1
A         maven-enforcer-plugin/src/it/projects/multimodule/module1/pom.xml
A         maven-enforcer-plugin/src/it/projects/multimodule/module2
A         maven-enforcer-plugin/src/it/projects/multimodule/module2/pom.xml
A         maven-enforcer-plugin/src/it/projects/multimodule/invoker.properties
A         maven-enforcer-plugin/src/it/projects/multimodule/pom.xml
A         maven-enforcer-plugin/src/it/projects/evaluate-beanshell
AU        maven-enforcer-plugin/src/it/projects/evaluate-beanshell/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-files-exist
AU        maven-enforcer-plugin/src/it/projects/require-files-exist/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-custom-packaging
AU        
maven-enforcer-plugin/src/it/projects/require-plugin-versions-custom-packaging/pom.xml
A         maven-enforcer-plugin/src/it/projects/always-fail
AU        maven-enforcer-plugin/src/it/projects/always-fail/pom.xml
AU        maven-enforcer-plugin/src/it/projects/always-fail/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-unique_failure
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-unique_failure/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-unique_failure/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-unique_failure/pom.xml
A         maven-enforcer-plugin/src/it/projects/ban-transitive-dependencies
A         
maven-enforcer-plugin/src/it/projects/ban-transitive-dependencies/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_failure
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_failure/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_failure/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_failure/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_failure/module
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_failure/module/pom.xml
A         maven-enforcer-plugin/src/it/projects/banned-dependencies
AU        maven-enforcer-plugin/src/it/projects/banned-dependencies/pom.xml
A         maven-enforcer-plugin/src/it/projects/banned-dependencies-versionrange
A         
maven-enforcer-plugin/src/it/projects/banned-dependencies-versionrange/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-same-versions_failure
A         
maven-enforcer-plugin/src/it/projects/require-same-versions_failure/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-same-versions_failure/invoker.properties
A         maven-enforcer-plugin/src/it/projects/require-release-version
AU        maven-enforcer-plugin/src/it/projects/require-release-version/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-plugin-versions
AU        maven-enforcer-plugin/src/it/projects/require-plugin-versions/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-java-version
AU        maven-enforcer-plugin/src/it/projects/require-java-version/pom.xml
A         maven-enforcer-plugin/src/it/projects/dependencies_converge
AU        maven-enforcer-plugin/src/it/projects/dependencies_converge/pom.xml
A         maven-enforcer-plugin/src/it/projects/dependencies_converge/module
AU        
maven-enforcer-plugin/src/it/projects/dependencies_converge/module/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-release-dependencies
AU        
maven-enforcer-plugin/src/it/projects/require-release-dependencies/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-active-profile
AU        maven-enforcer-plugin/src/it/projects/require-active-profile/pom.xml
A         
maven-enforcer-plugin/src/it/projects/banned-dependencies-versionrange-fail
A         
maven-enforcer-plugin/src/it/projects/banned-dependencies-versionrange-fail/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/banned-dependencies-versionrange-fail/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/banned-dependencies-versionrange-fail/pom.xml
A         maven-enforcer-plugin/src/it/projects/banned-dependencies-wildcards
AU        
maven-enforcer-plugin/src/it/projects/banned-dependencies-wildcards/pom.xml
A         maven-enforcer-plugin/src/it/projects/dependencies_not_converging
A         
maven-enforcer-plugin/src/it/projects/dependencies_not_converging/module
AU        
maven-enforcer-plugin/src/it/projects/dependencies_not_converging/module/pom.xml
AU        
maven-enforcer-plugin/src/it/projects/dependencies_not_converging/invoker.properties
AU        
maven-enforcer-plugin/src/it/projects/dependencies_not_converging/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-release-dependencies-excludes
AU        
maven-enforcer-plugin/src/it/projects/require-release-dependencies-excludes/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-active-profile-all
A         
maven-enforcer-plugin/src/it/projects/require-active-profile-all/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-unique_success
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-unique_success/pom.xml
A         maven-enforcer-plugin/src/it/projects/resolve_collect_dependencies
A         maven-enforcer-plugin/src/it/projects/resolve_collect_dependencies/src
A         
maven-enforcer-plugin/src/it/projects/resolve_collect_dependencies/src/assembly
A         
maven-enforcer-plugin/src/it/projects/resolve_collect_dependencies/src/assembly/extjars.xml
A         
maven-enforcer-plugin/src/it/projects/resolve_collect_dependencies/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/resolve_collect_dependencies/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/resolve_collect_dependencies/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_success
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_success/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_success/module
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_success/module/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-same-versions_success
A         
maven-enforcer-plugin/src/it/projects/require-same-versions_success/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-expressions
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-expressions/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-expressions/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-release-dependencies-excludes_failure
A         
maven-enforcer-plugin/src/it/projects/require-release-dependencies-excludes_failure/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/require-release-dependencies-excludes_failure/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-managed_failure
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-managed_failure/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-managed_failure/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-managed_failure/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-maven-version
AU        maven-enforcer-plugin/src/it/projects/require-maven-version/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-snapshot-version_failure
AU        
maven-enforcer-plugin/src/it/projects/require-snapshot-version_failure/invoker.properties
AU        
maven-enforcer-plugin/src/it/projects/require-snapshot-version_failure/pom.xml
A         maven-enforcer-plugin/src/it/projects/always-pass
AU        maven-enforcer-plugin/src/it/projects/always-pass/pom.xml
A         maven-enforcer-plugin/src/it/projects/banned-plugins
AU        maven-enforcer-plugin/src/it/projects/banned-plugins/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-files-dont-exist
AU        maven-enforcer-plugin/src/it/projects/require-files-dont-exist/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-no-repositories
AU        maven-enforcer-plugin/src/it/projects/require-no-repositories/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-integration-test-lifecycle
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-integration-test-lifecycle/META-INF
AU        
maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-integration-test-lifecycle/META-INF/MANIFEST.MF
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-integration-test-lifecycle/invoker.properties
AU        
maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-integration-test-lifecycle/pom.xml
A         maven-enforcer-plugin/src/it/projects/always-fail-warn
AU        
maven-enforcer-plugin/src/it/projects/always-fail-warn/invoker.properties
AU        maven-enforcer-plugin/src/it/projects/always-fail-warn/verify.groovy
AU        maven-enforcer-plugin/src/it/projects/always-fail-warn/pom.xml
A         
maven-enforcer-plugin/src/it/projects/dependencies_not_converging_test_scope
A         
maven-enforcer-plugin/src/it/projects/dependencies_not_converging_test_scope/module
AU        
maven-enforcer-plugin/src/it/projects/dependencies_not_converging_test_scope/module/pom.xml
AU        
maven-enforcer-plugin/src/it/projects/dependencies_not_converging_test_scope/invoker.properties
AU        
maven-enforcer-plugin/src/it/projects/dependencies_not_converging_test_scope/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-managed_success
A         
maven-enforcer-plugin/src/it/projects/require-upper-bound-dependencies-managed_success/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-extensions
AU        
maven-enforcer-plugin/src/it/projects/require-plugin-versions-plugin-with-extensions/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-active-profile-from-settings
A         
maven-enforcer-plugin/src/it/projects/require-active-profile-from-settings/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-no-repositories_failure
A         
maven-enforcer-plugin/src/it/projects/require-no-repositories_failure/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/require-no-repositories_failure/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/require-no-repositories_failure/pom.xml
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-projectGAVexpressions
A         
maven-enforcer-plugin/src/it/projects/require-plugin-versions-projectGAVexpressions/pom.xml
A         maven-enforcer-plugin/src/it/projects/ban-transitive-dependencies-fail
A         
maven-enforcer-plugin/src/it/projects/ban-transitive-dependencies-fail/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/ban-transitive-dependencies-fail/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/ban-transitive-dependencies-fail/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-snapshot-version_success
AU        
maven-enforcer-plugin/src/it/projects/require-snapshot-version_success/pom.xml
A         maven-enforcer-plugin/src/it/projects/require-files-size
AU        maven-enforcer-plugin/src/it/projects/require-files-size/pom.xml
A         maven-enforcer-plugin/src/it/projects/ban-distribution-management
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management/pom.xml
A         maven-enforcer-plugin/src/it/projects/builds_a_pom_noop
AU        maven-enforcer-plugin/src/it/projects/builds_a_pom_noop/pom.xml
A         maven-enforcer-plugin/src/it/projects/builds_a_pom_noop/module
AU        maven-enforcer-plugin/src/it/projects/builds_a_pom_noop/module/pom.xml
A         maven-enforcer-plugin/src/it/projects/ban-pom-dependency-version
A         
maven-enforcer-plugin/src/it/projects/ban-pom-dependency-version/invoker.properties
A         
maven-enforcer-plugin/src/it/projects/ban-pom-dependency-version/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/ban-pom-dependency-version/pom.xml
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-except-site
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-except-site/module1
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-except-site/module1/pom.xml
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-except-site/module2
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-except-site/module2/pom.xml
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-except-site/verify.groovy
A         
maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-except-site/pom.xml
AU        maven-enforcer-plugin/src/it/pom.xml
A         maven-enforcer-plugin/src/test
A         maven-enforcer-plugin/src/test/java
A         maven-enforcer-plugin/src/test/java/org
A         maven-enforcer-plugin/src/test/java/org/apache
A         maven-enforcer-plugin/src/test/java/org/apache/maven
A         maven-enforcer-plugin/src/test/java/org/apache/maven/plugins
A         maven-enforcer-plugin/src/test/java/org/apache/maven/plugins/enforcer
AU        
maven-enforcer-plugin/src/test/java/org/apache/maven/plugins/enforcer/TestDefaultEnforcementRuleHelper.java
AU        
maven-enforcer-plugin/src/test/java/org/apache/maven/plugins/enforcer/MockEnforcerRule.java
AU        
maven-enforcer-plugin/src/test/java/org/apache/maven/plugins/enforcer/TestEnforceMojo.java
A         maven-enforcer-plugin/src/main
A         maven-enforcer-plugin/src/main/resources
A         maven-enforcer-plugin/src/main/resources/META-INF
A         maven-enforcer-plugin/src/main/resources/META-INF/m2e
A         
maven-enforcer-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
A         maven-enforcer-plugin/src/main/java
A         maven-enforcer-plugin/src/main/java/org
A         maven-enforcer-plugin/src/main/java/org/apache
A         maven-enforcer-plugin/src/main/java/org/apache/maven
A         maven-enforcer-plugin/src/main/java/org/apache/maven/plugins
A         maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer
A         
maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/util
AU        
maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/util/EnforcerUtils.java
AU        
maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/DisplayInfoMojo.java
AU        
maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
A         maven-enforcer-plugin/src/site
AU        maven-enforcer-plugin/src/site/site.xml
A         maven-enforcer-plugin/src/site/apt
AU        maven-enforcer-plugin/src/site/apt/usage.apt.vm
AU        maven-enforcer-plugin/src/site/apt/index.apt
A         maven-enforcer-plugin/src/site/fml
AU        maven-enforcer-plugin/src/site/fml/faq.fml
AU        maven-enforcer-plugin/pom.xml
A         .gitignore
 U        .
At revision 1761639

ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-us...@googlegroups.com
java.lang.IllegalArgumentException: 
/home/jenkins/tools/maven/apache-maven-3.0.5 doesn't have a 'lib' subdirectory 
- thus cannot be a valid maven installation!
        at 
hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:83)
        at 
hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188)
        at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:70)
        at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:42)
        at hudson.remoting.UserRequest.perform(UserRequest.java:153)
        at hudson.remoting.UserRequest.perform(UserRequest.java:50)
        at hudson.remoting.Request$2.run(Request.java:332)
        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
        at ......remote call to jenkins-test-15a(Native Method)
        at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
        at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
        at hudson.remoting.Channel.call(Channel.java:781)
        at hudson.FilePath.act(FilePath.java:1102)
        at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:629)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
        at hudson.model.Run.execute(Run.java:1741)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
        at hudson.model.ResourceController.execute(ResourceController.java:98)
        at hudson.model.Executor.run(Executor.java:410)
project=hudson.maven.MavenModuleSet@5a51b009[maven-enforcer]
project.getModules()=[hudson.maven.MavenModule@11ad2590[maven-enforcer/org.apache.maven.enforcer:enforcer][maven-enforcer/org.apache.maven.enforcer:enforcer][relativePath:],
 
hudson.maven.MavenModule@17e960de[maven-enforcer/org.apache.maven.enforcer:enforcer-api][maven-enforcer/org.apache.maven.enforcer:enforcer-api][relativePath:enforcer-api],
 
hudson.maven.MavenModule@73d31263[maven-enforcer/org.apache.maven.enforcer:enforcer-rules][maven-enforcer/org.apache.maven.enforcer:enforcer-rules][relativePath:enforcer-rules],
 
hudson.maven.MavenModule@34977249[maven-enforcer/org.apache.maven.plugins:maven-enforcer-plugin][maven-enforcer/org.apache.maven.plugins:maven-enforcer-plugin][relativePath:maven-enforcer-plugin]]
project.getRootModule()=hudson.maven.MavenModule@11ad2590[maven-enforcer/org.apache.maven.enforcer:enforcer][maven-enforcer/org.apache.maven.enforcer:enforcer][relativePath:]
FATAL: /home/jenkins/tools/maven/apache-maven-3.0.5 doesn't have a 'lib' 
subdirectory - thus cannot be a valid maven installation!
java.lang.IllegalArgumentException: 
/home/jenkins/tools/maven/apache-maven-3.0.5 doesn't have a 'lib' subdirectory 
- thus cannot be a valid maven installation!
        at 
hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:83)
        at 
hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188)
        at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:70)
        at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:42)
        at hudson.remoting.UserRequest.perform(UserRequest.java:153)
        at hudson.remoting.UserRequest.perform(UserRequest.java:50)
        at hudson.remoting.Request$2.run(Request.java:332)
        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
        at ......remote call to jenkins-test-15a(Native Method)
        at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
        at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
        at hudson.remoting.Channel.call(Channel.java:781)
        at hudson.FilePath.act(FilePath.java:1102)
        at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:629)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
        at hudson.model.Run.execute(Run.java:1741)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
        at hudson.model.ResourceController.execute(ResourceController.java:98)
        at hudson.model.Executor.run(Executor.java:410)
Updating MENFORCER-204

Reply via email to