+ Error stacktraces are turned on. Maven version: 2.0.8 Java version: 1.5.0_11 OS name: "linux" version: "2.6.20-15-server" arch: "i386" Family: "unix" [DEBUG] Building Maven user-level plugin registry from: '/usr/share/tomcat5/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/usr/local/maven-2.0.8/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building How to use maven-architecture-rules-plugin sample project [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-site-plugin:maven-plugin:2.0-beta-5 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] maven-architecture-rules-plugin: resolved to version 0.0-SNAPSHOT from local repository [DEBUG] Skipping disabled repository central [DEBUG] maven-architecture-rules-plugin: using locally installed snapshot [DEBUG] maven-architecture-rules-plugin: using locally installed snapshot [DEBUG] info.manandbytes:maven-architecture-rules-plugin:maven-plugin:0.0-SNAPSHOT:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.1 from the repository. [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-project:jar:2.0 from the repository. [DEBUG] Adding managed dependencies for unknown:maven-project [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime) [DEBUG] Adding managed dependencies for unknown:maven-profile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime) [DEBUG] Adding managed dependencies for org.apache.maven:maven-model [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime) [DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact-manager [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime) [DEBUG] Adding managed dependencies for org.apache.maven:maven-repository-metadata [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime) [DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime) [DEBUG] Skipping disabled repository central [DEBUG] Skipping disabled repository central [DEBUG] architecture-rules: using locally installed snapshot [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom [DEBUG] com.seventytwomiles:architecture-rules:jar:2.0.4-SNAPSHOT:runtime (selected for runtime) [DEBUG] commons-digester:commons-digester:jar:1.8:runtime (selected for runtime) [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:runtime (selected for runtime) [DEBUG] commons-logging:commons-logging:jar:1.0.3:runtime (selected for runtime) [DEBUG] commons-logging:commons-logging:jar:1.0.3:runtime (removed - nearer found: 1.1) [DEBUG] commons-logging:commons-logging:jar:1.1:runtime (selected for runtime) [DEBUG] log4j:log4j:jar:1.2.12:runtime (selected for runtime) [DEBUG] logkit:logkit:jar:1.0.1:runtime (selected for runtime) [DEBUG] avalon-framework:avalon-framework:jar:4.1.3:runtime (selected for runtime) [DEBUG] javax.servlet:servlet-api:jar:2.3:runtime (selected for runtime) [DEBUG] commons-logging:commons-logging:jar:1.1:runtime (selected for runtime) [DEBUG] log4j:log4j:jar:1.2.12:runtime (selected for runtime) [DEBUG] jdepend:jdepend:jar:2.9.1:runtime (selected for runtime) [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) [DEBUG] springmodules:springmodules-validation:jar:0.4:runtime (selected for runtime) [DEBUG] antlr:antlr:jar:2.7.6:runtime (selected for runtime) [DEBUG] commons-digester:commons-digester:jar:1.7:runtime (removed - nearer found: 1.8) [DEBUG] commons-validator:commons-validator:jar:1.3.0:runtime (selected for runtime) [DEBUG] commons-digester:commons-digester:jar:1.6:runtime (removed - nearer found: 1.8) [DEBUG] commons-logging:commons-logging:jar:1.0.4:runtime (removed - nearer found: 1.1) [DEBUG] oro:oro:jar:2.0.8:runtime (selected for runtime) [DEBUG] While downloading xml-apis:xml-apis:2.0.2 This artifact has been relocated to xml-apis:xml-apis:1.0.b2. [DEBUG] xml-apis:xml-apis:jar:1.0.b2:runtime (selected for runtime) [DEBUG] jboss:javassist:jar:3.0:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven.reporting:maven-reporting::2.0 for project: null:maven-reporting-impl:jar:2.0 from the repository. [DEBUG] Adding managed dependencies for unknown:maven-reporting-impl [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven.reporting:maven-reporting-impl:jar:2.0:runtime (selected for runtime) [DEBUG] commons-validator:commons-validator:jar:1.3.0:runtime (removed - nearer found: 1.1.4) [DEBUG] commons-validator:commons-validator:jar:1.1.4:runtime (selected for runtime) [DEBUG] oro:oro:jar:2.0.7:runtime (selected for runtime) [DEBUG] Adding managed dependencies for unknown:maven-reporting-api [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0:runtime (selected for runtime) [DEBUG] doxia:doxia-sink-api:jar:1.0-alpha-4:runtime (selected for runtime) [DEBUG] doxia:doxia-core:jar:1.0-alpha-4:runtime (selected for runtime) [DEBUG] architecture-rules: using locally installed snapshot [DEBUG] Configuring mojo 'info.manandbytes:maven-architecture-rules-plugin:0.0-SNAPSHOT:assert' --> [DEBUG] (f) configurationFileName = architecture-rules.xml [DEBUG] (f) mavenProject = MavenProject: info.manandbytes.architecture-rules:maven-architecture-rules-plugin-sample:0.0-SNAPSHOT @ /usr/share/tomcat5/.hudson/jobs/maven-architecture-rules-plugin/workspace/maven-architecture-rules-plugin/src/test/resources/multimodule-empty/interpolated-pom.xml [DEBUG] (f) reactorProjects = [MavenProject: info.manandbytes.architecture-rules:maven-architecture-rules-plugin-sample:0.0-SNAPSHOT @ /usr/share/tomcat5/.hudson/jobs/maven-architecture-rules-plugin/workspace/maven-architecture-rules-plugin/src/test/resources/multimodule-empty/interpolated-pom.xml] [DEBUG] (f) skipRoot = true [DEBUG] -- end configuration -- [INFO] [architecture-rules:assert {execution: default}] [DEBUG] architecture-rules.xml not found [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] could not load resource /usr/share/tomcat5/.hudson/jobs/maven-architecture-rules-plugin/workspace/maven-architecture-rules-plugin/src/test/resources/multimodule-empty/src/test/resources/architecture-rules.xml from classpath. File not found. [INFO] ------------------------------------------------------------------------ [DEBUG] Trace java.lang.IllegalArgumentException: could not load resource /usr/share/tomcat5/.hudson/jobs/maven-architecture-rules-plugin/workspace/maven-architecture-rules-plugin/src/test/resources/multimodule-empty/src/test/resources/architecture-rules.xml from classpath. File not found. at com.seventytwomiles.architecturerules.configuration.AbstractConfigurationFactory.getConfigurationAsXml(AbstractConfigurationFactory.java:142) at com.seventytwomiles.architecturerules.configuration.xml.DigesterConfigurationFactory.(DigesterConfigurationFactory.java:67) at info.manandbytes.architecturerules.mojo.MojoArchitectureRulesConfigurationTest.(MojoArchitectureRulesConfigurationTest.java:49) at info.manandbytes.architecturerules.mojo.ArchitectureRulesMojo.execute(ArchitectureRulesMojo.java:107) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14 seconds [INFO] Finished at: Wed Apr 02 16:01:54 EDT 2008 [INFO] Final Memory: 3M/6M [INFO] ------------------------------------------------------------------------