maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: maven-enforcer » Apache Maven Enforcer Plugin #236
Date Sat, 14 Nov 2015 12:53:55 GMT
See <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/236/changes>

Changes:

[khmarbaise] Refactoring code.

------------------------------------------
[...truncated 215 lines...]
Caught Expected Exception:org.apache.maven.plugins.enforcer.MockEnforcerRule failed with message:
 this condition is not allowed.
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule  was found in the cache
[debug] The cached results are still valid. Skipping the rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule 2 was found in the cache
[debug] The cached results are still valid. Skipping the rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule 1 was found in the cache
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule  was found in the cache
[debug] The cached results are still valid. Skipping the rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule  was found in the cache
[debug] The cached results are still valid. Skipping the rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule  was found in the cache
[debug] The cached results are still valid. Skipping the rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule  was found in the cache
[debug] The cached results are still valid. Skipping the rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
[debug] Rule org.apache.maven.plugins.enforcer.MockEnforcerRule is cacheable.
[debug] Key org.apache.maven.plugins.enforcer.MockEnforcerRule  was found in the cache
[debug] The cached results are still valid. Skipping the rule: org.apache.maven.plugins.enforcer.MockEnforcerRule
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.177 sec - in org.apache.maven.plugins.enforcer.TestEnforceMojo
Running org.apache.maven.plugins.enforcer.TestDefaultEnforcementRuleHelper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.apache.maven.plugins.enforcer.TestDefaultEnforcementRuleHelper

Results :

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ maven-enforcer-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/maven-enforcer-plugin-1.4.2-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-plugin-plugin:3.3:addPluginArtifactMetadata (default-addPluginArtifactMetadata)
@ maven-enforcer-plugin ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ maven-enforcer-plugin
---
[INFO] 
[INFO] --- maven-invoker-plugin:2.0.0:install (integration-test) @ maven-enforcer-plugin ---
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/pom.xml to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer/1.4.2-SNAPSHOT/enforcer-1.4.2-SNAPSHOT.pom>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/target/enforcer-1.4.2-SNAPSHOT-site.xml
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer/1.4.2-SNAPSHOT/enforcer-1.4.2-SNAPSHOT-site.xml>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/enforcer-api/pom.xml
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer-api/1.4.2-SNAPSHOT/enforcer-api-1.4.2-SNAPSHOT.pom>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/enforcer-api/target/enforcer-api-1.4.2-SNAPSHOT.jar
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer-api/1.4.2-SNAPSHOT/enforcer-api-1.4.2-SNAPSHOT.jar>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/enforcer-api/pom.xml
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer-api/1.4.2-SNAPSHOT/enforcer-api-1.4.2-SNAPSHOT.pom>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/enforcer-rules/pom.xml
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer-rules/1.4.2-SNAPSHOT/enforcer-rules-1.4.2-SNAPSHOT.pom>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/enforcer-rules/target/enforcer-rules-1.4.2-SNAPSHOT.jar
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer-rules/1.4.2-SNAPSHOT/enforcer-rules-1.4.2-SNAPSHOT.jar>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/enforcer-rules/pom.xml
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer-rules/1.4.2-SNAPSHOT/enforcer-rules-1.4.2-SNAPSHOT.pom>
[INFO] Installing /home/jenkins/jenkins-slave/workspace/maven-enforcer/enforcer-rules/target/enforcer-rules-1.4.2-SNAPSHOT-tests.jar
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/enforcer/enforcer-rules/1.4.2-SNAPSHOT/enforcer-rules-1.4.2-SNAPSHOT-tests.jar>
[INFO] Installing <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/pom.xml>
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/plugins/maven-enforcer-plugin/1.4.2-SNAPSHOT/maven-enforcer-plugin-1.4.2-SNAPSHOT.pom>
[INFO] Installing <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/maven-enforcer-plugin-1.4.2-SNAPSHOT.jar>
to <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/target/local-repo/org/apache/maven/plugins/maven-enforcer-plugin/1.4.2-SNAPSHOT/maven-enforcer-plugin-1.4.2-SNAPSHOT.jar>
[INFO] 
[INFO] --- mrm-maven-plugin:1.0-beta-2:start (default) @ maven-enforcer-plugin ---
[INFO] Configuring Mock Repository Manager...
[INFO]   Mock content (source: <https://builds.apache.org/job/maven-enforcer/org.apache.maven.plugins$maven-enforcer-plugin/ws/src/it/mrm/repository)>
[INFO]   Proxy (source: this Maven session)
[INFO] Starting Mock Repository Manager
[INFO] Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
[INFO] jetty-6.1.5
[INFO] Started SocketConnector@0.0.0.0:42673
[INFO] Mock Repository Manager http://localhost:42673 is started.
[INFO] Setting property 'repository.proxy.url' to 'http://localhost:42673'.
[INFO] 
[INFO] --- maven-invoker-plugin:2.0.0:run (integration-test) @ maven-enforcer-plugin ---
[INFO] Building: banned-dependencies-versionrange/pom.xml
[INFO] snapshot org.apache.maven.plugins:maven-enforcer-plugin:1.4.2-SNAPSHOT: checking for
updates from Nexus
[INFO] artifact org.apache.maven.plugins.maven-enforcer-plugin:1.4.2-SNAPSHOT: checking for
updates from central
[INFO] org.apache.maven.plugins.maven-enforcer-plugin.1.4.2-SNAPSHOT: checking for updates
from central
[INFO] artifact org.apache.maven.enforcer.enforcer:1.4.2-SNAPSHOT: checking for updates from
central
[INFO] org.apache.maven.enforcer.enforcer.1.4.2-SNAPSHOT: checking for updates from central
[INFO] artifact org.apache.maven.enforcer.enforcer-api:1.4.2-SNAPSHOT: checking for updates
from central
[INFO] org.apache.maven.enforcer.enforcer-api.1.4.2-SNAPSHOT: checking for updates from central
[INFO] artifact org.apache.maven.enforcer.enforcer-rules:1.4.2-SNAPSHOT: checking for updates
from central
[INFO] org.apache.maven.enforcer.enforcer-rules.1.4.2-SNAPSHOT: checking for updates from
central
[INFO] ..SUCCESS (5.4 s)
[INFO] Building: require-property/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-same-versions_failure/pom.xml
[INFO] ..SUCCESS (2.9 s)
[INFO] Building: ban-distribution-management-multi-module-except-site/pom.xml
[INFO] snapshot org.apache.maven.its.enforcer:module1:1.0-SNAPSHOT: checking for updates from
Nexus
[INFO] artifact org.apache.maven.its.enforcer.module1:1.0-SNAPSHOT: checking for updates from
central
[INFO] run script verify.groovy
[INFO] ..SUCCESS (3.7 s)
[INFO] Building: require-plugin-versions-plugin-with-extensions/pom.xml
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-deploy-plugin: checking for updates from central
[INFO] ..SUCCESS (3.9 s)
[INFO] Building: dependencies_converge/pom.xml
[INFO] ..SUCCESS (3.0 s)
[INFO] Building: require-upper-bound-dependencies-unique_success/pom.xml
[INFO] snapshot org.apache.maven.plugins.enforcer.its:menforcer134_project:1.0-SNAPSHOT: checking
for updates from Nexus
[INFO] artifact org.apache.maven.plugins.enforcer.its.menforcer134_project:1.0-SNAPSHOT: checking
for updates from central
[INFO] snapshot org.apache.maven.plugins.enforcer.its:menforcer134_modelbuilder:1.0-SNAPSHOT:
checking for updates from Nexus
[INFO] artifact org.apache.maven.plugins.enforcer.its.menforcer134_modelbuilder:1.0-SNAPSHOT:
checking for updates from central
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.044324-5,638/menforcer134_model-1.0-20130423.044324-5,638.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.044324-5,638/menforcer134_model-1.0-20130423.044324-5,638.pom
[INFO] snapshot org.apache.maven.plugins.enforcer.its:menforcer134_model:1.0-SNAPSHOT: checking
for updates from Nexus
[INFO] artifact org.apache.maven.plugins.enforcer.its.menforcer134_model:1.0-SNAPSHOT: checking
for updates from central
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.042904-7,222/menforcer134_model-1.0-20130423.042904-7,222.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.042904-7,222/menforcer134_model-1.0-20130423.042904-7,222.pom
[INFO] ..SUCCESS (3.8 s)
[INFO] Building: require-plugin-versions-custom-packaging/pom.xml
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from
central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from
central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from
central
[INFO] ..SUCCESS (3.7 s)
[INFO] Building: require-release-dependencies/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: require-files-size/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-upper-bound-deps_failure/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.8 s)
[INFO] Building: ban-transitive-dependencies/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: require-upper-bound-dependencies-unique_failure/pom.xml
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.044324-5,638/menforcer134_model-1.0-20130423.044324-5,638.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.044324-5,638/menforcer134_model-1.0-20130423.044324-5,638.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.042904-7,222/menforcer134_model-1.0-20130423.042904-7,222.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/enforcer/its/menforcer134_model/1.0-20130423.042904-7,222/menforcer134_model-1.0-20130423.042904-7,222.pom
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.9 s)
[INFO] Building: require-java-version/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: always-fail-warn/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: builds_a_pom_noop/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-files-dont-exist/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-same-versions_success/pom.xml
[INFO] ..SUCCESS (2.9 s)
[INFO] Building: multimodule/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: evaluate-beanshell/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-maven-version/pom.xml
[INFO] ..SUCCESS (3.0 s)
[INFO] Building: ban-distribution-management/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: banned-dependencies-wildcards/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: require-upper-bound-deps_success/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: require-files-exist/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-active-profile-from-settings/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: banned-plugins/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: dependencies_not_converging/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-plugin-versions/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: banned-dependencies/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: always-pass/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: require-upper-bound-dependencies-managed_success/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: resolve_collect_dependencies/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (4.5 s)
[INFO] Building: require-active-profile/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: banned-dependencies-versionrange-fail/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (3.1 s)
[INFO] Building: require-release-version/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-plugin-versions-projectGAVexpressions/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: dependencies_not_converging_test_scope/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-plugin-versions-expressions/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: require-no-repositories_failure/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-active-profile-all/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: ban-transitive-dependencies-fail/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: always-fail/pom.xml
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: require-plugin-versions-plugin-with-integration-test-lifecycle/pom.xml
[INFO] ..SUCCESS (7.3 s)
[INFO] Building: require-no-repositories/pom.xml
[INFO] ..SUCCESS (2.9 s)
[INFO] Building: require-release-dependencies-excludes_failure/pom.xml
[INFO] snapshot org.apache.maven.plugins.enforcer.its:menforcer85_api:1.0-SNAPSHOT: checking
for updates from Nexus
[INFO] artifact org.apache.maven.plugins.enforcer.its.menforcer85_api:1.0-SNAPSHOT: checking
for updates from central
[INFO] ..SUCCESS (3.0 s)
[INFO] Building: require-upper-bound-dependencies-managed_failure/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: ban-distribution-management-multi-module-build/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: ban-pom-dependency-version/pom.xml
[INFO] run script verify.groovy
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: require-release-dependencies-excludes/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 50, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] 
[INFO] --- mrm-maven-plugin:1.0-beta-2:stop (default) @ maven-enforcer-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:42673
[INFO] Mock Repository Manager http://localhost:42673 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (checkstyle-check) @ maven-enforcer-plugin ---
[INFO] 
[INFO] There are 1 checkstyle errors.
[ERROR] EnforceMojo.java[55] (sizes) LineLength: Line is longer than 120 characters (found
137).

Mime
View raw message