You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by "Continuum@maven.zones.apache.org" <co...@maven.zones.apache.org> on 2007/08/07 19:23:03 UTC

[continuum] BUILD SUCCESSFUL: Maven Enforcer Plugin

Online report : http://maven.zones.apache.org/continuum/buildResult.action?buildId=12847&projectId=380

Build statistics:
  State: Ok
  Previous State: Failed
  Started at: Tue 7 Aug 2007 17:22:51 +0000
  Finished at: Tue 7 Aug 2007 17:23:02 +0000
  Total time: 10s
  Build Trigger: Schedule
  Build Number: 4
  Exit code: 0
  Building machine hostname: maven.zones.apache.org
  Operating system : SunOS(unknown)
  Java Home version : 
          java version "1.5.0_12"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
          Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
        
  Builder version :
          Maven version: 2.0.6
    
****************************************************************************
SCM Changes:
****************************************************************************
No files changed

****************************************************************************
SCM Changes since last success:
****************************************************************************
Changed: brianf @ Sun 8 Jul 2007 23:18:09 +0000
Comment: MENFORCER-8: additional fixes for new rules (needs dependencyResolution)
Files changed:
  /maven/plugins/trunk/maven-enforcer-plugin/src/it/pom.xml ( 554471 )
  /maven/plugins/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugin/enforcer/EnforceMojo.java ( 554471 )
  /maven/plugins/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugin/enforcer/EnforceOnceMojo.java ( 554471 )

Changed: brianf @ Sun 8 Jul 2007 23:45:28 +0000
Comment: bumping dependencies for release
Files changed:
  /maven/plugins/trunk/maven-enforcer-plugin/pom.xml ( 554486 )

Changed: brianf @ Sun 8 Jul 2007 23:47:02 +0000
Comment: [maven-release-plugin] prepare release maven-enforcer-plugin-1.0-alpha-3
Files changed:
  /maven/plugins/trunk/maven-enforcer-plugin/pom.xml ( 554488 )

Changed: brianf @ Sun 8 Jul 2007 23:47:11 +0000
Comment: [maven-release-plugin] prepare for next development iteration
Files changed:
  /maven/plugins/trunk/maven-enforcer-plugin/pom.xml ( 554490 )

****************************************************************************
Dependencies Changes:
****************************************************************************
No dependencies changed

****************************************************************************
Test Summary:
****************************************************************************
Tests: 13
Failures: 0
Total time: 253

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Enforcer Plugin
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /export/home/build/data/continuum/checkouts/380/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 3 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist: /export/home/build/data/continuum/checkouts/380/src/main/resources
[INFO] [compiler:compile]
[INFO] Compiling 15 source files to /export/home/build/data/continuum/checkouts/380/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist: /export/home/build/data/continuum/checkouts/380/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Compiling 16 source files to /export/home/build/data/continuum/checkouts/380/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /export/home/build/data/continuum/checkouts/380/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugin.enforcer.TestBannedDependencies
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec
Running org.apache.maven.plugin.enforcer.TestRequireJavaVersion
[debug] Detected Java String: 1.5.0_12
[debug] Normalized Java String: 1.5.0-12
[debug] Parsed Version: Major: 1 Minor: 5 Incremental: 0 Build: 12 Qualifier: null
[debug] Detected JDK Version: 1.5.0-12 is allowed in the range 1.5.0-12.
[debug] Detected Java String: 1.5.0_12
[debug] Normalized Java String: 1.5.0-12
[debug] Parsed Version: Major: 1 Minor: 5 Incremental: 0 Build: 12 Qualifier: null
[debug] Detected Java String: 1.5.0_12
[debug] Normalized Java String: 1.5.0-12
[debug] Parsed Version: Major: 1 Minor: 5 Incremental: 0 Build: 12 Qualifier: null
[debug] Detected JDK Version: 1.5.0-12 is allowed in the range 1.5.0_12.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.maven.plugin.enforcer.TestMavenVersion
[debug] Detected Maven Version: 2.0.5
[debug] Detected Maven Version: 2.0.5 is allowed in the range 2.0.5.
[debug] Detected Maven Version: 2.0.5
[debug] Detected Maven Version: 2.0.5
[debug] Detected Maven Version: 2.0.5 is allowed in the range 1.5.0_12.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.maven.plugin.enforcer.TestRequireProperty
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.maven.plugin.enforcer.TestDefaultEnforcementRuleHelper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.maven.plugin.enforcer.TestNoSnapshots
[debug] Test Message
Found Banned Dependency: testGroupId:snapshot:jar:2.0-SNAPSHOT

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.maven.plugin.enforcer.TestEvaluateBeanshell
[debug] Retrieved Target Folder: null
[debug] Retrieved ArtifactId: null
[debug] Retrieved Project: org.apache.maven.plugin.enforcer.MockProject@0
[debug] Retrieved RuntimeInfo: org.apache.maven.plugin.enforcer.MockRuntimeInformation@704baa
[debug] Retrieved Session: org.apache.maven.execution.MavenSession@77a7f9
[debug] Retrieved Resolver: null
[debug] Echo condition : ${env} == "This is a test."
[debug] Echo script : "This is a test." == "This is a test."
[debug] Echo evaluating : true
[debug] Retrieved Target Folder: null
[debug] Retrieved ArtifactId: null
[debug] Retrieved Project: org.apache.maven.plugin.enforcer.MockProject@0
[debug] Retrieved RuntimeInfo: org.apache.maven.plugin.enforcer.MockRuntimeInformation@c7b00c
[debug] Retrieved Session: org.apache.maven.execution.MavenSession@77a7f9
[debug] Retrieved Resolver: null
[debug] Echo condition : ${env} == null
[debug] Echo script : "This is a test." == null
[debug] Echo evaluating : false
Caught expected exception:Unable to lookup a component
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec
Running org.apache.maven.plugin.enforcer.TestAbstractVersionEnforcer
[debug] Detected test Version: 2.0.5 is allowed in the range [2.0.5,).
[debug] Detected test Version: 2.0.5 is allowed in the range [2.0.4,).
[debug] Detected test Version: 2.0.5 is allowed in the range [2.0.4,2.0.5].
[debug] Detected test Version: 2.0.5 is allowed in the range [2.0.4,2.0.6].
[debug] Detected test Version: 2.0.5 is allowed in the range [2.0.4,2.0.6).
[debug] Detected test Version: 2.0.5 is allowed in the range [2.0,).
[debug] Detected test Version: 2.0.5 is allowed in the range [2.0.0,).
[debug] Detected test Version: 2.0.5 is allowed in the range 2.0.
[debug] Detected test Version: 2.0.5 is allowed in the range 2.0.4.
[debug] Detected test Version: 2.0.5 is allowed in the range 2.0.5.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.maven.plugin.enforcer.TestRequireOS
[info] OS Info: Arch: x86 Family: unix Name: sunos Version: 5.10
[info] Testing Mojo Using Valid Family: unix Invalid Family: win9x
[debug] OS Info: Arch: x86 Family: unix Name: sunos Version: 5.10
[info] Caught Expected Exception:Invalid Family type used. Valid family types are: os/400, windows, tandem, netware, z/os, win9x, unix, os/2, mac, dos,
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.maven.plugin.enforcer.TestEnforceMojo
Caught Expected Exception:No rules are configured. Use the skip flag if you want to disable execution.
[debug] Executing rule: org.apache.maven.plugin.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugin.enforcer.MockEnforcerRule
[warn] Rule 0: org.apache.maven.plugin.enforcer.MockEnforcerRule failed with message:  this condition is not allowed.
[warn] Rule 1: org.apache.maven.plugin.enforcer.MockEnforcerRule failed with message:  this condition is not allowed.
[debug] Executing rule: org.apache.maven.plugin.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugin.enforcer.MockEnforcerRule
[warn] Rule 0: org.apache.maven.plugin.enforcer.MockEnforcerRule failed with message:  this condition is not allowed.
[warn] Rule 1: org.apache.maven.plugin.enforcer.MockEnforcerRule failed with message:  this condition is not allowed.
Caught Expected Exception:Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
[debug] Executing rule: org.apache.maven.plugin.enforcer.MockEnforcerRule
Caught Expected Exception:org.apache.maven.plugin.enforcer.MockEnforcerRule failed with message:  this condition is not allowed.
[debug] Executing rule: org.apache.maven.plugin.enforcer.MockEnforcerRule
[debug] Executing rule: org.apache.maven.plugin.enforcer.MockEnforcerRule
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec

Results :

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

[INFO] [jar:jar]
[INFO] Building jar: /export/home/build/data/continuum/checkouts/380/target/maven-enforcer-plugin-1.0-alpha-4-SNAPSHOT.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing /export/home/build/data/continuum/checkouts/380/target/maven-enforcer-plugin-1.0-alpha-4-SNAPSHOT.jar to /export/home/build/.m2/repository/org/apache/maven/plugins/maven-enforcer-plugin/1.0-alpha-4-SNAPSHOT/maven-enforcer-plugin-1.0-alpha-4-SNAPSHOT.jar
[INFO] [plugin:updateRegistry]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Aug 07 17:23:01 GMT+00:00 2007
[INFO] Final Memory: 15M/332M
[INFO] ------------------------------------------------------------------------

****************************************************************************