You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2006/03/19 21:22:27 UTC

Need help with , , etc.

OK, I'm getting very twisted up on configuration.

I want to compile my production code for JDK 1.3, and my test code for JDK 1.5.

As I understand it, the following should do that:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <executions>
                    <execution>
                        <id>compile-main</id>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                        <configuration>
                            <source>1.3</source>
                            <target>1.5</target>
                             <optimize>true</optimize>
                        </configuration>
                    </execution>
                    <execution>
                        <id>compile-tests</id>
                        <goals>
                            <goal>testCompile</goal>
                        </goals>
                        <configuration>
                            <source>1.5</source>
                            <target>1.5</target>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

I'm interpreting this as:

"when the goal is compile:compile, use source 1.3, etc." and
"when the goal is "compile:testCompile, user source 1.5, etc."

However, that's isn't quite what I see when I build:

bash-3.00$ mvn -X install
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\Howard\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'c:\work\maven-2.0.2\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Using parent-POM from the project hierarchy at:
'../pom-common/pom.xml' for project: hivemind:hivemind-lib:jar:1.2.1
[DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
[DEBUG] wagon-ftp: resolved to version 1.0-alpha-6 from repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:wagon-ftp:jar:1.0-alpha-6
[DEBUG] Retrieving parent-POM from the repository for project:
null:wagon-providers:pom:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ftp:jar:RELEASE (selected for runtime)
[DEBUG]     commons-net:commons-net:jar:1.4.1 (selected for runtime)
[DEBUG]       oro:oro:jar:2.0.8 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]     org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
(selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] wagon-ftp: resolved to version 1.0-alpha-6 from repository central
[INFO] ----------------------------------------------------------------------------
[INFO] Building HiveMind standard library
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[DEBUG] maven-resources-plugin: resolved to version 2.1 from repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-resources-plugin:maven-plugin:2.1
[DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-compiler-plugin:maven-plugin:2.0
[DEBUG] maven-surefire-plugin: resolved to version 2.1.2 from repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-surefire-plugin:maven-plugin:2.1.2
[DEBUG] maven-jar-plugin: resolved to version 2.0 from repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-jar-plugin:maven-plugin:2.0
[DEBUG] maven-install-plugin: resolved to version 2.1 from repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-install-plugin:maven-plugin:2.1
[DEBUG] maven-site-plugin: resolved to version 2.0-beta-4 from
repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-site-plugin:maven-plugin:2.0-beta-4
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.1
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-model:jar:2.0
[DEBUG]   org.apache.maven:maven-model:jar:2.0 (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-project:jar:2.0
[DEBUG]   org.apache.maven:maven-project:jar:2.0 (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact:jar:2.0
[DEBUG]     org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0 (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0
(selected for runtime)
[DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-profile:jar:2.0
[DEBUG]     org.apache.maven:maven-profile:jar:2.0 (selected for runtime)
[DEBUG]   commons-io:commons-io:jar:1.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.1:resources' -->
[DEBUG]   (f) filters = []
[DEBUG]   (f) outputDirectory =
c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@193d8d51
[DEBUG]   (f) resources = [org.apache.maven.model.Resource@facf0b,
org.apache.maven.model.Resource@2f0df1]
[DEBUG] -- end configuration --
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
[DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
[DEBUG]   junit:junit:jar:3.8.1 (selected for test)
[DEBUG] Retrieving parent-POM from the repository for project:
hivemind:hivemind:jar:1.2.1
[DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
[DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
[DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
[DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
[DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
[DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
[DEBUG]   easymock:easymock:jar:1.1 (selected for test)
[DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0
(selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.1 (selected
for runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG]     classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-compiler-manager:jar:1.5.1
(selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.1
(selected for runtime)
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0:compile' -->
[DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
[DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
[DEBUG]   (f) classpathElements =
[c:\workspace\jakarta-hivemind\library\target\classes, C:\Documents
and Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
, C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar,
C:\Documen
ts and Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar,
C:\Documents
and Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar,
C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
C:\Documents and Settings\Howard\.m2\r
epository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar,
C:\Documents and
Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
[DEBUG]   (f) compileSourceRoots =
[c:\workspace\jakarta-hivemind\library\src\java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory =
c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
[DEBUG]   (f) projectArtifact = hivemind:hivemind-lib:jar:1.2.1
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:compile]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\java]
[DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
 C:\Documents and
Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
 C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
 C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
 C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
 C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
[DEBUG] Output directory: c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG] Classpath:
[DEBUG]  c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
[DEBUG] Source roots:
[DEBUG]  c:\workspace\jakarta-hivemind\library\src\java
Compiling 53 source files to
c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
[DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
[DEBUG]   junit:junit:jar:3.8.1 (selected for test)
[DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
[DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
[DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
[DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
[DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
[DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
[DEBUG]   easymock:easymock:jar:1.1 (selected for test)
[DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0:compile' -->
[DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
[DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
[DEBUG]   (f) classpathElements =
[c:\workspace\jakarta-hivemind\library\target\classes, C:\Documents
and Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
, C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar,
C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
C:\Documen
ts and Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar,
C:\Documents a
nd Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar,
C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
C:\Documents and Settings\Howard\.m2\r
epository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar,
C:\Documents and
Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
[DEBUG]   (f) compileSourceRoots =
[c:\workspace\jakarta-hivemind\library\src\java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = true
[DEBUG]   (f) outputDirectory =
c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
[DEBUG]   (f) projectArtifact = hivemind:hivemind-lib:jar:1.2.1
[DEBUG]   (f) source = 1.3
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.5
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:compile {execution: compile-main}]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\java]
[DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
 C:\Documents and
Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
 C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
 C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
 C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
 C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
[DEBUG] Output directory: c:\workspace\jakarta-hivemind\library\target\classes
[INFO] Nothing to compile - all classes are up to date
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.1:testResources'
-->
[DEBUG]   (f) filters = []
[DEBUG]   (f) outputDirectory =
c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@193d8d51
[DEBUG]   (f) resources = [org.apache.maven.model.Resource@1557c0,
org.apache.maven.model.Resource@1342a67]
[DEBUG] -- end configuration --
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
[DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
[DEBUG]   junit:junit:jar:3.8.1 (selected for test)
[DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
[DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
[DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
[DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
[DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
[DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
[DEBUG]   easymock:easymock:jar:1.1 (selected for test)
[DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0:testCompile' -->
[DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
[DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
[DEBUG]   (f) classpathElements =
[c:\workspace\jakarta-hivemind\library\target\classes,
c:\workspace\jakarta-hivemind\library\target\test-classes,
C:\Documents and Settings\Howard\.m2\repository\comm
ons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar,
C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
C:\Documents and Settings\Howard\.m2\repos
itory\javassist\javassist\3.0\javassist-3.0.jar, C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
C:\Documents and Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2
.1\jboss-j2ee-3.2.1.jar, C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1
\hivemind-1.2.1.jar, C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
C:\Documents and
Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar,
C:\Docum
ents and Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar,
C:\Documents and
Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
[DEBUG]   (f) compileSourceRoots =
[c:\workspace\jakarta-hivemind\library\src\test]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory =
c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:testCompile]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\test]
[DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
 c:\workspace\jakarta-hivemind\library\target\test-classes
 C:\Documents and
Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
 C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
 C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
 C:\Documents and
Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
 C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
[DEBUG] Output directory:
c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG] Classpath:
[DEBUG]  c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG]  c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
[DEBUG]  C:\Documents and
Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
[DEBUG] Source roots:
[DEBUG]  c:\workspace\jakarta-hivemind\library\src\test
Compiling 50 source files to
c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
[DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
[DEBUG]   junit:junit:jar:3.8.1 (selected for test)
[DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
[DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
[DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
[DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
[DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
[DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
[DEBUG]   easymock:easymock:jar:1.1 (selected for test)
[DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0:testCompile' -->
[DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
[DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
[DEBUG]   (f) classpathElements =
[c:\workspace\jakarta-hivemind\library\target\classes,
c:\workspace\jakarta-hivemind\library\target\test-classes,
C:\Documents and Settings\Howard\.m2\repository\comm
ons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar,
C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar,
C:\Documents and Settings\Howard\.m2\repository\
aopalliance\aopalliance\1.0\aopalliance-1.0.jar, C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
C:\Documents and Settings\Howard\.m2\repository\hivemind\hivemind\1.
2.1\hivemind-1.2.1.jar, C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\j
boss-j2ee-3.2.1.jar, C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
C:\Documents and
Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar,
C:\Docum
ents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar,
C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar]
[DEBUG]   (f) compileSourceRoots =
[c:\workspace\jakarta-hivemind\library\src\test]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory =
c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
[DEBUG]   (f) source = 1.5
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.5
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:testCompile {execution: compile-tests}]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\test]
[DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
 c:\workspace\jakarta-hivemind\library\target\test-classes
 C:\Documents and
Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
 C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
 C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
 C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
 C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
 C:\Documents and
Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
 C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
 C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar]
[DEBUG] Output directory:
c:\workspace\jakarta-hivemind\library\target\test-classes
[INFO] Nothing to compile - all classes are up to date
[DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
[DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
[DEBUG]   junit:junit:jar:3.8.1 (selected for test)
[DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
[DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
[DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
[DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
[DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
[DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
[DEBUG]   easymock:easymock:jar:1.1 (selected for test)
[DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
[DEBUG] org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.1.2
(selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG]   junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:surefire:jar:1.5.2
[DEBUG]   org.apache.maven.surefire:surefire:jar:1.5.2 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:plexus-utils:jar:1.0.5
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5 (removed -
nearer found: 1.0.4)
[DEBUG] Retrieving parent-POM from the repository for project:
null:surefire-booter:jar:1.5.2
[DEBUG]   org.apache.maven.surefire:surefire-booter:jar:1.5.2
(selected for runtime)
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-surefire-plugin:2.1.2:test' -->
[DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
[DEBUG]   (f) childDelegation = true
[DEBUG]   (f) classesDirectory =
c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG]   (f) classpathElements =
[c:\workspace\jakarta-hivemind\library\target\classes,
c:\workspace\jakarta-hivemind\library\target\test-classes,
C:\Documents and Settings\Howard\.m2\repository\comm
ons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar,
C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
C:\Documents and Settings\Howard\.m2\repos
itory\javassist\javassist\3.0\javassist-3.0.jar, C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
C:\Documents and Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2
.1\jboss-j2ee-3.2.1.jar, C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1
\hivemind-1.2.1.jar, C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
C:\Documents and
Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar,
C:\Docum
ents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar,
C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar]
[DEBUG]   (f) forkMode = none
[DEBUG]   (f) jvm = java
[DEBUG]   (f) localRepository = [local] -> file://C:\Documents and
Settings\Howard\.m2\repository
[DEBUG]   (f) pluginArtifacts = [junit:junit:jar:3.8.1,
org.apache.maven.surefire:surefire:jar:1.5.2,
org.apache.maven.surefire:surefire-booter:jar:1.5.2,
org.codehaus.plexus:plexus-utils:jar:1.0.4, o
rg.apache.maven:maven-plugin-api:jar:2.0,
org.apache.maven:maven-artifact:jar:2.0]
[DEBUG]   (f) printSummary = true
[DEBUG]   (f) reportFormat = brief
[DEBUG]   (f) reportsDirectory =
c:\workspace\jakarta-hivemind\library\target/surefire-reports
[DEBUG]   (f) testClassesDirectory =
c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG]   (f) useFile = true
[DEBUG] -- end configuration --
[INFO] [surefire:test]
[INFO] Setting reports dir:
c:\workspace\jakarta-hivemind\library\target/surefire-reports
[DEBUG] Test Classpath :
[DEBUG] c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG] c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG] c:\workspace\jakarta-hivemind\library\target\classes
[DEBUG] c:\workspace\jakarta-hivemind\library\target\test-classes
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
[DEBUG] C:\Documents and
Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
[DEBUG] Adding to surefire test classpath: C:\Documents and
Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
[DEBUG] Adding to surefire test classpath: C:\Documents and
Settings\Howard\.m2\repository\org\apache\maven\surefire\surefire\1.5.2\surefire-1.5.2.jar
[DEBUG] Adding to surefire test classpath: C:\Documents and
Settings\Howard\.m2\repository\org\apache\maven\surefire\surefire-booter\1.5.2\surefire-booter-1.5.2.jar
[DEBUG] Adding to surefire test classpath:
c:\work\maven-2.0.2\core\plexus-utils-1.1.jar



So, what I'm seeing is that the compile executes TWICE.  Once with
default behavior, then a second (useless) time with my desired source
and optimization.

The same thing happens for the test compile.


So my problem is:

How do I configure this?

Is this caused by the fact that I'm inheriting the plugin
configuration from my parent POM?
I don't want to have to cut-n-paste that configuration into every
pom.xml in my multi-module project.

Further, how am I expected to know the correct goal/phase/whatever
from the documentation?  Sometimes Maven feels like an exclusive club
that leaves a lot of people, people not initmately familiar with the
source code and implications thereof, out in the cold!


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need help with , , etc.

Posted by Howard Lewis Ship <hl...@gmail.com>.
When you get a chance, you can pull the latest HiveMind source from
SVN and build and experiment.

On 3/19/06, Brett Porter <br...@gmail.com> wrote:
> On 3/20/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> > Does <skip>true</skip> mean skip the normal mojo?  I can't quite track
> > why one <skip> is false, the other true.
>
> It's a gross hack to work around it. The test mojo takes a skip
> parameter to honour -Dmaven.test.skip=true. So, in this definition,
> the default is to skip it (skipping the built in one), then add a
> second goal with your new configuration that is not skipped.
>
> > It mostly definately did. I had to cut-and-paste it into each module's pom.xml.
>
> Ok, I don't quite understand why that is. Unfortunately, I don't have
> the time to investigate right now, but I hope the above works for you.
>
> > I hate to say this, but a flow chart showing how Maven decides what to
> > do, how it instantiates Mojos, the algorithm used to collect
> > configuration information, might be useful.
>
> Sounds like a good idea. I'll keep a note of it.
>
> > What I didn't see was how I could displace the original Mojo and just
> > leave my own.
>
> It's not something you can normally do - it just happens that the test
> mojo has a skip parameter that does what was needed to omit it.
>
> > Its pretty important for the underlying structure to be known, or even
> > knowable. I don't like "Cargo Cult" approaches
> > (http://www.physics.brocku.ca/etc/cargo_cult_science.html).
>
> Yep, I agree.
> > Thanks for the help!  I'm off to figure out to convert reams of
> > Forrest XML documentation into Maven XML or APT.
>
> I believe the incubator did this to go from forrest to Anakia (xdoc).
> Geir might be able to help explain how it was done.
>
> A new version of the site plugin should be out shortly that has much
> improved multi-module support.
>
> Cheers,
> Brett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need help with , , etc.

Posted by Brett Porter <br...@gmail.com>.
On 3/20/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> Does <skip>true</skip> mean skip the normal mojo?  I can't quite track
> why one <skip> is false, the other true.

It's a gross hack to work around it. The test mojo takes a skip
parameter to honour -Dmaven.test.skip=true. So, in this definition,
the default is to skip it (skipping the built in one), then add a
second goal with your new configuration that is not skipped.

> It mostly definately did. I had to cut-and-paste it into each module's pom.xml.

Ok, I don't quite understand why that is. Unfortunately, I don't have
the time to investigate right now, but I hope the above works for you.

> I hate to say this, but a flow chart showing how Maven decides what to
> do, how it instantiates Mojos, the algorithm used to collect
> configuration information, might be useful.

Sounds like a good idea. I'll keep a note of it.

> What I didn't see was how I could displace the original Mojo and just
> leave my own.

It's not something you can normally do - it just happens that the test
mojo has a skip parameter that does what was needed to omit it.

> Its pretty important for the underlying structure to be known, or even
> knowable. I don't like "Cargo Cult" approaches
> (http://www.physics.brocku.ca/etc/cargo_cult_science.html).

Yep, I agree.
> Thanks for the help!  I'm off to figure out to convert reams of
> Forrest XML documentation into Maven XML or APT.

I believe the incubator did this to go from forrest to Anakia (xdoc).
Geir might be able to help explain how it was done.

A new version of the site plugin should be out shortly that has much
improved multi-module support.

Cheers,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need help with , , etc.

Posted by Simon Kitching <sk...@apache.org>.
On Mon, 2006-03-20 at 09:44 -0600, Wayne Fay wrote:
> Just a tiny comment...
> 
> > > An execution is always an additional binding to the lifecycle, so it
> > > doubles up when it is already bound through the presets for the
> > > packaging. The only way to configure the presets is through the
> > > configuration element in the plugin node itself (outside of
> > > executions). Unfortunately, you only get one per plugin.
> >
> > The term "plugin node" doesn't really help me here. This is kind of
> > what I was getting at.
> 
> He is simply refering to the pom.xml <plugin> "xml node" itself. It
> contains a single <configuration> element. You may schedule several
> <execution> elements for a given plugin, but only one <configuration>
> that applies across all executions of that plugin.

Below is another way to look at this. Note that I'm no Maven guru, so
this might not be quite 100% correct..

Quick definition:
 * A plugin is a set of classes bundled into a jar. A plugin
   implements one or more "goals" that are specific tasks.

When invoked, Maven
* defines its fixed set of "phases".
* creates a plugin representation in memory for each declared plugin
  (including the ones defined in the invisible root "super-pom").
  The object is initialised using the plugin/configuration tag.
  However the plugin/execution/* tags are ignored for now.
* executes the "packaging" logic, which creates links from
  various phases to "goals" of plugin objects. For example,
  packaging of "jar" sets up one set of phase->goal links while 
  packaging of "war" sets up a different set of mappings.
* processes the plugin/execution tags to add *extra* links
  from phases to the associated goals. Any <configuration>
  data in the execution tag overrides definitions associated
  directly with the plugin *for that link*.
* executes its phases in order. At each phase, it executes 
  the set of goals associated with the phase.

There is no way to tell "jar" packaging to NOT link the
maven-compiler-plugin's compile goal to the "compile" and "test-compile"
phases; the only way to accomplish that sort of thing is to write your
own packaging definition. In some cases you can configure the goal to
just return when invoked; that depends on the particular plugin
supporting that feature though.

What Brett's suggestion does is to configure the maven-compiler-plugin
to compile the main src but *not* the tests, by setting skip=true. The
plugin/configuration entries controls which source version is used
(1.3), resulting in *only* the main src being compiled (with 1.3)
despite there being a link from phase test-compile to the plugin
(because packaging=jar).  A separate <execution> tag then links
maven-compile-plugin to just the compile-tests phase, and the
<configuration> within the execution is used to force source=1.5.

Note that the effect is that the test-compile phase has goal
maven-compiler-plugin:compile linked to it *twice*, once using the
plugin/configuration settings and one with the
plugin/execution/configuration settings. However the first invocation
returns immediately as skip=true. As Brett said, it's a hack. But
compiling the source with 1.3 and tests with 1.5 *is* a little unusual. 

I'd be very interested in knowing what Brett means by "fixed in svn".
Perhaps the maven-compiler-plugin has a <disabled> option now??

I hope this info is more helpful than confusing.

I also found getting my mind around Maven difficult at first; however
I'm becoming more and more impressed with it as I get used to it.
Congratulations Brett/Jason/Vincent/others, it's a very useful tool
indeed.

The maven book that's currently being created should help a lot when
it's finished; it will be freely available online:
http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2Book

Cheers,

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need help with , , etc.

Posted by Wayne Fay <wa...@gmail.com>.
Just a tiny comment...

> > An execution is always an additional binding to the lifecycle, so it
> > doubles up when it is already bound through the presets for the
> > packaging. The only way to configure the presets is through the
> > configuration element in the plugin node itself (outside of
> > executions). Unfortunately, you only get one per plugin.
>
> The term "plugin node" doesn't really help me here. This is kind of
> what I was getting at.

He is simply refering to the pom.xml <plugin> "xml node" itself. It
contains a single <configuration> element. You may schedule several
<execution> elements for a given plugin, but only one <configuration>
that applies across all executions of that plugin.

A faked example below:

<plugin>
<groupId>blah</groupId>
<artifactId>xyz</artifactId>
<configuration>
   <abc>31-mar-2006</abc>
   <fil>blah.properties</fil>
   <parse>false</parse>
</configuration>
<executions>
   <execution>
      <goals>
         <goal>clean</goal>
      </goals>
   </execution>
   <execution>
      <phase>generate-sources</phase>
      <goals>
         <goal>xyz</goal>
      </goals>
   </execution>
</executions>
</plugin>

Wayne

Re: Need help with , , etc.

Posted by Howard Lewis Ship <hl...@gmail.com>.
I
On 3/19/06, Brett Porter <br...@gmail.com> wrote:
> Hi Howard,
>
> I answered this question for you here:
> http://mail-archives.apache.org/mod_mbox/maven-users/200511.mbox/%3C9e3862d80511141958r61cdc01h7e4f1c1d39aba2d2@mail.gmail.com%3E

<configuration>
  <skip>true</skip>
  <source>1.3</source>
  <target>1.3</target>
</configuration>
<executions>
  <execution>
    <configuration>
      <skip>false</skip>
      <source>1.5</source>
      <target>1.5</target>
    </configuration>
    <goals>
      <goal>test-compile</goal>
    </goals>
  </execution>
</executions>

Does <skip>true</skip> mean skip the normal mojo?  I can't quite track
why one <skip> is false, the other true.

>
> I filed: http://jira.codehaus.org/browse/MCOMPILER-15 as a result. You
> might like to watch/vote for it. It should be something we are able to
> support properly, but that workaround should work in either parent or
> individual module in the mean time.
>
> On 3/20/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> > OK, moving the <plugin> element from the parent POM to the module POM
> > fixes things; it works as expected.
>
> It shouldn't have, I don't think, unless I'm missing something.

It mostly definately did. I had to cut-and-paste it into each module's pom.xml.

  <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <executions>
                    <execution>
                        <id>compile</id>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                        <configuration>
                            <source>1.3</source>
                            <target>1.5</target>
                            <optimize>true</optimize>
                        </configuration>
                    </execution>
                    <execution>
                        <id>test-compile</id>
                        <goals>
                            <goal>testCompile</goal>
                        </goals>
                        <configuration>
                            <source>1.5</source>
                            <target>1.5</target>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

Using maven -X I was able to see that it built just once (once for
main, once for test), with the correct parameters.

>
> > > I'm interpreting this as:
> > >
> > > "when the goal is compile:compile, use source 1.3, etc." and
> > > "when the goal is "compile:testCompile, user source 1.5, etc."
> > >
> > > However, that's isn't quite what I see when I build:
> > >
>
> An execution is always an additional binding to the lifecycle, so it
> doubles up when it is already bound through the presets for the
> packaging. The only way to configure the presets is through the
> configuration element in the plugin node itself (outside of
> executions). Unfortunately, you only get one per plugin.

The term "plugin node" doesn't really help me here. This is kind of
what I was getting at.

I hate to say this, but a flow chart showing how Maven decides what to
do, how it instantiates Mojos, the algorithm used to collect
configuration information, might be useful.

>From what I can tell, my original setup was creating an additional
compiler Mojo, with a different configuration, that got scheduled
after the normal compiler Mojo, within the compile phase.

What I didn't see was how I could displace the original Mojo and just
leave my own.

I'm not sure my terminology is quite right.

Its pretty important for the underlying structure to be known, or even
knowable. I don't like "Cargo Cult" approaches
(http://www.physics.brocku.ca/etc/cargo_cult_science.html).


>
> I think we should reconsider this use case for 2.1, but also the
> compiler plugin should have separate test configuration that uses the
> others as defaults to avoid doubling up, but allows them to be set
> differently if needed.
>
> > > Further, how am I expected to know the correct goal/phase/whatever
> > > from the documentation?  Sometimes Maven feels like an exclusive club
> > > that leaves a lot of people, people not initmately familiar with the
> > > source code and implications thereof, out in the cold!
>
> I attempted to explain how executions work here:
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

My head still spins at the relationship between phases and goals, and
the relationship between goals and plugins.

I'd love to see a MUCH more detailed multi-project example, that
includes some of my usecases (i.e., reports, dependencies, and certain
plugin configurations defined in a parent POM), plus all the other
details in terms of getting source packaged and ultimately getting
source and binaries distributed into a repository.  I've got some of
these things figured out, but always with odd side-effects, such as
running surefire multiple times.

Importantly, don't just show a snippet of XML; please try to explain
how that XML, and the objects it represents, fits into the overall
runtime model of Maven.

Thanks for the help!  I'm off to figure out to convert reams of
Forrest XML documentation into Maven XML or APT.
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need help with , , etc.

Posted by Brett Porter <br...@gmail.com>.
Hi Howard,

I answered this question for you here:
http://mail-archives.apache.org/mod_mbox/maven-users/200511.mbox/%3C9e3862d80511141958r61cdc01h7e4f1c1d39aba2d2@mail.gmail.com%3E

I filed: http://jira.codehaus.org/browse/MCOMPILER-15 as a result. You
might like to watch/vote for it. It should be something we are able to
support properly, but that workaround should work in either parent or
individual module in the mean time.

On 3/20/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> OK, moving the <plugin> element from the parent POM to the module POM
> fixes things; it works as expected.

It shouldn't have, I don't think, unless I'm missing something.

> > I'm interpreting this as:
> >
> > "when the goal is compile:compile, use source 1.3, etc." and
> > "when the goal is "compile:testCompile, user source 1.5, etc."
> >
> > However, that's isn't quite what I see when I build:
> >

An execution is always an additional binding to the lifecycle, so it
doubles up when it is already bound through the presets for the
packaging. The only way to configure the presets is through the
configuration element in the plugin node itself (outside of
executions). Unfortunately, you only get one per plugin.

I think we should reconsider this use case for 2.1, but also the
compiler plugin should have separate test configuration that uses the
others as defaults to avoid doubling up, but allows them to be set
differently if needed.

> > Further, how am I expected to know the correct goal/phase/whatever
> > from the documentation?  Sometimes Maven feels like an exclusive club
> > that leaves a lot of people, people not initmately familiar with the
> > source code and implications thereof, out in the cold!

I attempted to explain how executions work here:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Do you have some suggestions for what areas that needs to improve upon?

Thanks,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need help with , , etc.

Posted by Howard Lewis Ship <hl...@gmail.com>.
OK, moving the <plugin> element from the parent POM to the module POM
fixes things; it works as expected.

So my question is:  How can I set this behavior in the parent POM?

On 3/19/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> OK, I'm getting very twisted up on configuration.
>
> I want to compile my production code for JDK 1.3, and my test code for JDK 1.5.
>
> As I understand it, the following should do that:
>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-compiler-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <id>compile-main</id>
>                         <goals>
>                             <goal>compile</goal>
>                         </goals>
>                         <configuration>
>                             <source>1.3</source>
>                             <target>1.5</target>
>                              <optimize>true</optimize>
>                         </configuration>
>                     </execution>
>                     <execution>
>                         <id>compile-tests</id>
>                         <goals>
>                             <goal>testCompile</goal>
>                         </goals>
>                         <configuration>
>                             <source>1.5</source>
>                             <target>1.5</target>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>
>
> I'm interpreting this as:
>
> "when the goal is compile:compile, use source 1.3, etc." and
> "when the goal is "compile:testCompile, user source 1.5, etc."
>
> However, that's isn't quite what I see when I build:
>
> bash-3.00$ mvn -X install
> + Error stacktraces are turned on.
> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
> and Settings\Howard\.m2\plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> 'c:\work\maven-2.0.2\conf\plugin-registry.xml'
> [INFO] Scanning for projects...
> [DEBUG] Using parent-POM from the project hierarchy at:
> '../pom-common/pom.xml' for project: hivemind:hivemind-lib:jar:1.2.1
> [DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
> [DEBUG] wagon-ftp: resolved to version 1.0-alpha-6 from repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:wagon-ftp:jar:1.0-alpha-6
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:wagon-providers:pom:1.0-alpha-6
> [DEBUG]   org.apache.maven.wagon:wagon-ftp:jar:RELEASE (selected for runtime)
> [DEBUG]     commons-net:commons-net:jar:1.4.1 (selected for runtime)
> [DEBUG]       oro:oro:jar:2.0.8 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:wagon-provider-api:jar:1.0-alpha-6
> [DEBUG]     org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
> (selected for runtime)
> [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
> [DEBUG] wagon-ftp: resolved to version 1.0-alpha-6 from repository central
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building HiveMind standard library
> [INFO]    task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [DEBUG] maven-resources-plugin: resolved to version 2.1 from repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-resources-plugin:maven-plugin:2.1
> [DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-compiler-plugin:maven-plugin:2.0
> [DEBUG] maven-surefire-plugin: resolved to version 2.1.2 from repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-surefire-plugin:maven-plugin:2.1.2
> [DEBUG] maven-jar-plugin: resolved to version 2.0 from repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-jar-plugin:maven-plugin:2.0
> [DEBUG] maven-install-plugin: resolved to version 2.1 from repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-install-plugin:maven-plugin:2.1
> [DEBUG] maven-site-plugin: resolved to version 2.0-beta-4 from
> repository central
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-site-plugin:maven-plugin:2.0-beta-4
> [DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.1
> (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-model:jar:2.0
> [DEBUG]   org.apache.maven:maven-model:jar:2.0 (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-project:jar:2.0
> [DEBUG]   org.apache.maven:maven-project:jar:2.0 (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
> [DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-artifact:jar:2.0
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-artifact-manager:jar:2.0
> [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0 (selected
> for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-repository-metadata:jar:2.0
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0
> (selected for runtime)
> [DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
> (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:maven-profile:jar:2.0
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0 (selected for runtime)
> [DEBUG]   commons-io:commons-io:jar:1.0 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> org.apache.maven:maven-plugin-api:jar:2.0
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-resources-plugin:2.1:resources' -->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory =
> c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@193d8d51
> [DEBUG]   (f) resources = [org.apache.maven.model.Resource@facf0b,
> org.apache.maven.model.Resource@2f0df1]
> [DEBUG] -- end configuration --
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
> [DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG] Retrieving parent-POM from the repository for project:
> hivemind:hivemind:jar:1.2.1
> [DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
> [DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
> [DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
> [DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
> [DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
> [DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
> [DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
> [DEBUG]   easymock:easymock:jar:1.1 (selected for test)
> [DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
> [DEBUG] org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0
> (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.1 (selected
> for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
> [DEBUG]     classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
> (selected for runtime)
> [DEBUG]       junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-compiler-manager:jar:1.5.1
> (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.1
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0:compile' -->
> [DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
> [DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
> [DEBUG]   (f) classpathElements =
> [c:\workspace\jakarta-hivemind\library\target\classes, C:\Documents
> and Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
> , C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar,
> C:\Documen
> ts and Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar,
> C:\Documents
> and Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
> C:\Documents and Settings\Howard\.m2\r
> epository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
> [DEBUG]   (f) compileSourceRoots =
> [c:\workspace\jakarta-hivemind\library\src\java]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
> [DEBUG]   (f) projectArtifact = hivemind:hivemind-lib:jar:1.2.1
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:compile]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\java]
> [DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
>  C:\Documents and
> Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
>  C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
> [DEBUG] Output directory: c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG] Classpath:
> [DEBUG]  c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
> [DEBUG] Source roots:
> [DEBUG]  c:\workspace\jakarta-hivemind\library\src\java
> Compiling 53 source files to
> c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
> [DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
> [DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
> [DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
> [DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
> [DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
> [DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
> [DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
> [DEBUG]   easymock:easymock:jar:1.1 (selected for test)
> [DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0:compile' -->
> [DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
> [DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
> [DEBUG]   (f) classpathElements =
> [c:\workspace\jakarta-hivemind\library\target\classes, C:\Documents
> and Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
> , C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
> C:\Documen
> ts and Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar,
> C:\Documents a
> nd Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
> C:\Documents and Settings\Howard\.m2\r
> epository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
> [DEBUG]   (f) compileSourceRoots =
> [c:\workspace\jakarta-hivemind\library\src\java]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = true
> [DEBUG]   (f) outputDirectory =
> c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
> [DEBUG]   (f) projectArtifact = hivemind:hivemind-lib:jar:1.2.1
> [DEBUG]   (f) source = 1.3
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:compile {execution: compile-main}]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\java]
> [DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
>  C:\Documents and
> Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
>  C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
> [DEBUG] Output directory: c:\workspace\jakarta-hivemind\library\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-resources-plugin:2.1:testResources'
> -->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory =
> c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@193d8d51
> [DEBUG]   (f) resources = [org.apache.maven.model.Resource@1557c0,
> org.apache.maven.model.Resource@1342a67]
> [DEBUG] -- end configuration --
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
> [DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
> [DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
> [DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
> [DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
> [DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
> [DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
> [DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
> [DEBUG]   easymock:easymock:jar:1.1 (selected for test)
> [DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0:testCompile' -->
> [DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
> [DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
> [DEBUG]   (f) classpathElements =
> [c:\workspace\jakarta-hivemind\library\target\classes,
> c:\workspace\jakarta-hivemind\library\target\test-classes,
> C:\Documents and Settings\Howard\.m2\repository\comm
> ons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
> C:\Documents and Settings\Howard\.m2\repos
> itory\javassist\javassist\3.0\javassist-3.0.jar, C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
> C:\Documents and Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2
> .1\jboss-j2ee-3.2.1.jar, C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1
> \hivemind-1.2.1.jar, C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar,
> C:\Docum
> ents and Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
> [DEBUG]   (f) compileSourceRoots =
> [c:\workspace\jakarta-hivemind\library\src\test]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:testCompile]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\test]
> [DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
>  c:\workspace\jakarta-hivemind\library\target\test-classes
>  C:\Documents and
> Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
>  C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar]
> [DEBUG] Output directory:
> c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG] Classpath:
> [DEBUG]  c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG]  c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
> [DEBUG]  C:\Documents and
> Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
> [DEBUG] Source roots:
> [DEBUG]  c:\workspace\jakarta-hivemind\library\src\test
> Compiling 50 source files to
> c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
> [DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
> [DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
> [DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
> [DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
> [DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
> [DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
> [DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
> [DEBUG]   easymock:easymock:jar:1.1 (selected for test)
> [DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0:testCompile' -->
> [DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
> [DEBUG]   (f) buildDirectory = c:\workspace\jakarta-hivemind\library\target
> [DEBUG]   (f) classpathElements =
> [c:\workspace\jakarta-hivemind\library\target\classes,
> c:\workspace\jakarta-hivemind\library\target\test-classes,
> C:\Documents and Settings\Howard\.m2\repository\comm
> ons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar,
> C:\Documents and Settings\Howard\.m2\repository\
> aopalliance\aopalliance\1.0\aopalliance-1.0.jar, C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
> C:\Documents and Settings\Howard\.m2\repository\hivemind\hivemind\1.
> 2.1\hivemind-1.2.1.jar, C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\j
> boss-j2ee-3.2.1.jar, C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar,
> C:\Docum
> ents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar]
> [DEBUG]   (f) compileSourceRoots =
> [c:\workspace\jakarta-hivemind\library\src\test]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG]   (f) outputFileName = hivemind-lib-1.2.1
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:testCompile {execution: compile-tests}]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories: [c:\workspace\jakarta-hivemind\library\src\test]
> [DEBUG] Classpath: [c:\workspace\jakarta-hivemind\library\target\classes
>  c:\workspace\jakarta-hivemind\library\target\test-classes
>  C:\Documents and
> Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
>  C:\Documents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
>  C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar]
> [DEBUG] Output directory:
> c:\workspace\jakarta-hivemind\library\target\test-classes
> [INFO] Nothing to compile - all classes are up to date
> [DEBUG] hivemind:hivemind-lib:jar:1.2.1 (selected for null)
> [DEBUG]   aopalliance:aopalliance:jar:1.0 (selected for provided)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for test)
> [DEBUG]   hivemind:hivemind:jar:1.2.1 (selected for compile)
> [DEBUG]     commons-logging:commons-logging:jar:1.0.3 (selected for compile)
> [DEBUG]     javassist:javassist:jar:3.0 (selected for compile)
> [DEBUG]     oro:oro:jar:2.0.6 (selected for compile)
> [DEBUG]   jboss:jboss-j2ee:jar:3.2.1 (selected for provided)
> [DEBUG]   groovy:groovy-all:jar:1.0-jsr-03 (selected for provided)
> [DEBUG]   log4j:log4j:jar:1.2.8 (selected for provided)
> [DEBUG]   easymock:easymock:jar:1.1 (selected for test)
> [DEBUG]   org.springframework:spring-full:jar:1.0.1 (selected for provided)
> [DEBUG] org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.1.2
> (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
> [DEBUG]   junit:junit:jar:3.8.1 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:surefire:jar:1.5.2
> [DEBUG]   org.apache.maven.surefire:surefire:jar:1.5.2 (selected for runtime)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:plexus-utils:jar:1.0.5
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5 (removed -
> nearer found: 1.0.4)
> [DEBUG] Retrieving parent-POM from the repository for project:
> null:surefire-booter:jar:1.5.2
> [DEBUG]   org.apache.maven.surefire:surefire-booter:jar:1.5.2
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-surefire-plugin:2.1.2:test' -->
> [DEBUG]   (f) basedir = c:\workspace\jakarta-hivemind\library
> [DEBUG]   (f) childDelegation = true
> [DEBUG]   (f) classesDirectory =
> c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG]   (f) classpathElements =
> [c:\workspace\jakarta-hivemind\library\target\classes,
> c:\workspace\jakarta-hivemind\library\target\test-classes,
> C:\Documents and Settings\Howard\.m2\repository\comm
> ons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar,
> C:\Documents and Settings\Howard\.m2\repos
> itory\javassist\javassist\3.0\javassist-3.0.jar, C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
> C:\Documents and Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2
> .1\jboss-j2ee-3.2.1.jar, C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1
> \hivemind-1.2.1.jar, C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar,
> C:\Docum
> ents and Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar,
> C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar]
> [DEBUG]   (f) forkMode = none
> [DEBUG]   (f) jvm = java
> [DEBUG]   (f) localRepository = [local] -> file://C:\Documents and
> Settings\Howard\.m2\repository
> [DEBUG]   (f) pluginArtifacts = [junit:junit:jar:3.8.1,
> org.apache.maven.surefire:surefire:jar:1.5.2,
> org.apache.maven.surefire:surefire-booter:jar:1.5.2,
> org.codehaus.plexus:plexus-utils:jar:1.0.4, o
> rg.apache.maven:maven-plugin-api:jar:2.0,
> org.apache.maven:maven-artifact:jar:2.0]
> [DEBUG]   (f) printSummary = true
> [DEBUG]   (f) reportFormat = brief
> [DEBUG]   (f) reportsDirectory =
> c:\workspace\jakarta-hivemind\library\target/surefire-reports
> [DEBUG]   (f) testClassesDirectory =
> c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG]   (f) useFile = true
> [DEBUG] -- end configuration --
> [INFO] [surefire:test]
> [INFO] Setting reports dir:
> c:\workspace\jakarta-hivemind\library\target/surefire-reports
> [DEBUG] Test Classpath :
> [DEBUG] c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG] c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG] c:\workspace\jakarta-hivemind\library\target\classes
> [DEBUG] c:\workspace\jakarta-hivemind\library\target\test-classes
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\commons-logging\commons-logging\1.0.3\commons-logging-1.0.3.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\javassist\javassist\3.0\javassist-3.0.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\jboss\jboss-j2ee\3.2.1\jboss-j2ee-3.2.1.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\groovy\groovy-all\1.0-jsr-03\groovy-all-1.0-jsr-03.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\hivemind\hivemind\1.2.1\hivemind-1.2.1.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\easymock\easymock\1.1\easymock-1.1.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\oro\oro\2.0.6\oro-2.0.6.jar
> [DEBUG] C:\Documents and
> Settings\Howard\.m2\repository\org\springframework\spring-full\1.0.1\spring-full-1.0.1.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\Howard\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\Howard\.m2\repository\org\apache\maven\surefire\surefire\1.5.2\surefire-1.5.2.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\Howard\.m2\repository\org\apache\maven\surefire\surefire-booter\1.5.2\surefire-booter-1.5.2.jar
> [DEBUG] Adding to surefire test classpath:
> c:\work\maven-2.0.2\core\plexus-utils-1.1.jar
>
>
>
> So, what I'm seeing is that the compile executes TWICE.  Once with
> default behavior, then a second (useless) time with my desired source
> and optimization.
>
> The same thing happens for the test compile.
>
>
> So my problem is:
>
> How do I configure this?
>
> Is this caused by the fact that I'm inheriting the plugin
> configuration from my parent POM?
> I don't want to have to cut-n-paste that configuration into every
> pom.xml in my multi-module project.
>
> Further, how am I expected to know the correct goal/phase/whatever
> from the documentation?  Sometimes Maven feels like an exclusive club
> that leaves a lot of people, people not initmately familiar with the
> source code and implications thereof, out in the cold!
>
>
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org