You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Allison, Bob" <ro...@qwest.com> on 2006/09/20 03:00:59 UTC

Strange Compile Error

I have been using one machine for development and having no problem.  I
copied my development tree to another machine and tried to build my
project; the compiler created a bunch of errors because of source files
in a jar on the class path.  I ran "mvn -X compile" on both the old
machine and the new machine and compared the output from the two runs.
The only differences between the logs (until the compile error)
consisted of differences in paths because of a different home directory.
I have verified that the jar holding the sources is the same on both
machines.

I have included the complete log from the failed compile in the hopes
that someone can figure out where I should start looking to figure out
what is wrong.

------------------------------------------------------------------------
----

+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from:
'/home/allisord/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/opt/maven/2/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM: qaccess:webapp::5.0-SNAPSHOT of
project: qaccess:mit:war:5.0-SNAPSHOT in relative path:
../webapp/pom.xml
[DEBUG] Using parent-POM from the project hierarchy at:
'../webapp/pom.xml' for project: qaccess:mit:war:5.0-SNAPSHOT
[DEBUG] Searching for parent-POM: qaccess:product::5.0-SNAPSHOT of
project: qaccess:webapp:pom:5.0-SNAPSHOT in relative path:
../product/pom.xml
[DEBUG] Using parent-POM from the project hierarchy at:
'../product/pom.xml' for project: qaccess:webapp:pom:5.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Manual ITs
[INFO]    task-segment: [compile]
[INFO]
------------------------------------------------------------------------
----
[DEBUG] maven-resources-plugin: resolved to version 2.2 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-resources-plugin:maven-plugin:2.2 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-compiler-plugin: resolved to version 2.0.1 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-compiler-plugin:maven-plugin:2.0.1 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-checkstyle-plugin: resolved to version 2.1 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-checkstyle-plugin:maven-plugin:2.1 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-release-plugin: resolved to version 2.0-beta-4 from
repository central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-release-plugin:maven-plugin:2.0-beta-4 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-surefire-plugin: resolved to version 2.2 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-surefire-plugin:maven-plugin:2.2 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] cobertura-maven-plugin: resolved to version 2.0 from repository
central
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project:
null:cobertura-maven-plugin:maven-plugin:2.0 from the repository.
[DEBUG] maven-war-plugin: resolved to version 2.0.1 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-war-plugin:maven-plugin:2.0.1 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] gwt-maven-plugin: resolved to version 1.0-SNAPSHOT from local
repository
[DEBUG] Skipping disabled repository central
[DEBUG] gwt-maven-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo:mojo-sandbox::2-SNAPSHOT for project:
qaccess.plugin:gwt-maven-plugin:maven-plugin:1.0-SNAPSHOT from the
repository.
[DEBUG] Skipping disabled repository central
[DEBUG] mojo-sandbox: resolved to version 2-20060715.092216-3 from
repository codehaus.snapshots
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11-SNAPSHOT for
project: null:mojo-sandbox:pom:2-SNAPSHOT from the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] mojo: resolved to version 11-20060715.092055-1 from repository
codehaus.snapshots
[DEBUG] gwt-maven-plugin: using locally installed snapshot
[DEBUG]
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-model:jar:2.0 from the repository.
[DEBUG]   org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4: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]   org.apache.maven:maven-project:jar:2.0:runtime (selected for
runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact:jar:2.0 from the repository.
[DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
[DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:runtime
(selected for runtime)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
null:maven-profile:jar:2.0 from the repository.
[DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
[DEBUG]   (f) filters = []
[DEBUG]   (f) outputDirectory =
/net/home/allisord/src/q3/trunk/mit/target/classes
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@3266d393
[DEBUG]   (f) resources = [org.apache.maven.model.Resource@19da4fc]
[DEBUG] -- end configuration --
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] qaccess:mit:war:5.0-SNAPSHOT (selected for null)
[DEBUG]   jmock:jmock:jar:1.0.1:test (selected for test)
[DEBUG]     junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]   taglibs:standard:jar:1.1.2:compile (selected for compile)
[DEBUG] Skipping disabled repository central
[DEBUG] servlet: using locally installed snapshot
[DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
project: qaccess:servlet:jar:5.0-SNAPSHOT from the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] product: using locally installed snapshot
[DEBUG]   qaccess:servlet:jar:5.0-SNAPSHOT:compile (selected for
compile)
[DEBUG] Skipping disabled repository central
[DEBUG] auth: using locally installed snapshot
[DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
project: qaccess:auth:jar:5.0-SNAPSHOT from the repository.
[DEBUG] product: using locally installed snapshot
[DEBUG]   qaccess:auth:jar:5.0-SNAPSHOT:compile (selected for compile)
[DEBUG] Skipping disabled repository central
[DEBUG] data: using locally installed snapshot
[DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
project: qaccess:data:jar:5.0-SNAPSHOT from the repository.
[DEBUG] product: using locally installed snapshot
[DEBUG]     qaccess:data:jar:5.0-SNAPSHOT:compile (selected for compile)
[DEBUG]   com.google.gwt:gwt-user:jar:1.1.10:provided (selected for
provided)
[DEBUG] Skipping disabled repository central
[DEBUG] logging: using locally installed snapshot
[DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
project: qaccess:logging:jar:5.0-SNAPSHOT from the repository.
[DEBUG] product: using locally installed snapshot
[DEBUG]   qaccess:logging:jar:5.0-SNAPSHOT:provided (selected for
provided)
[DEBUG]   com.google.gwt:gwt-servlet:jar:1.1.10:compile (selected for
compile)
[DEBUG]   javax.servlet:jstl:jar:1.1.2:compile (selected for compile)
[DEBUG] logging: using locally installed snapshot
[DEBUG] servlet: using locally installed snapshot
[DEBUG] auth: using locally installed snapshot
[DEBUG] data: using locally installed snapshot
[DEBUG]
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1:runtim
e (selected for runtime)
[DEBUG] Retrieving parent-POM:
org.codehaus.plexus:plexus-compiler::1.5.2 for project:
null:plexus-compiler-api:jar:1.5.2 from the repository.
[DEBUG] Retrieving parent-POM:
org.codehaus.plexus:plexus-components::1.1.5 for project:
null:plexus-compiler:pom:1.5.2 from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
repository.
[DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.2:runtime
(selected for runtime)
[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
(selected for runtime)
[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM:
org.codehaus.plexus:plexus-compiler::1.5.2 for project:
null:plexus-compiler-manager:jar:1.5.2 from the repository.
[DEBUG] Retrieving parent-POM:
org.codehaus.plexus:plexus-components::1.1.5 for project:
null:plexus-compiler:pom:1.5.2 from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
repository.
[DEBUG]   org.codehaus.plexus:plexus-compiler-manager:jar:1.5.2:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM:
org.codehaus.plexus:plexus-compilers::1.5.2 for project:
null:plexus-compiler-javac:jar:1.5.2 from the repository.
[DEBUG] Retrieving parent-POM:
org.codehaus.plexus:plexus-compiler::1.5.2 for project:
org.codehaus.plexus:plexus-compilers:pom:1.5.2 from the repository.
[DEBUG] Retrieving parent-POM:
org.codehaus.plexus:plexus-components::1.1.5 for project:
null:plexus-compiler:pom:1.5.2 from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
repository.
[DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.2:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
project: null:plexus-utils:jar:1.0.5 from the repository.
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime (removed
- nearer found: 1.0.4)
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile' -->
[DEBUG]   (f) basedir = /net/home/allisord/src/q3/trunk/mit
[DEBUG]   (f) buildDirectory =
/net/home/allisord/src/q3/trunk/mit/target
[DEBUG]   (f) classpathElements =
[/net/home/allisord/src/q3/trunk/mit/target/classes,
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar,
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
T.jar,
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
NAPSHOT.jar,
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar,
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
T.jar,
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
let-1.1.10.jar,
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
NAPSHOT.jar,
/home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
[DEBUG]   (f) compileSourceRoots =
[/net/home/allisord/src/q3/trunk/mit/src/main/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory =
/net/home/allisord/src/q3/trunk/mit/target/classes
[DEBUG]   (f) outputFileName = mit-5.0-SNAPSHOT
[DEBUG]   (f) projectArtifact = qaccess:mit:war:5.0-SNAPSHOT
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) source = 1.5
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.5
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:compile]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories:
[/net/home/allisord/src/q3/trunk/mit/src/main/java]
[DEBUG] Classpath: [/net/home/allisord/src/q3/trunk/mit/target/classes
 /home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
 
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
T.jar
 
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
NAPSHOT.jar
 
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar
 
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
T.jar
 
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
let-1.1.10.jar
 
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
NAPSHOT.jar
 /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
[DEBUG] Output directory:
/net/home/allisord/src/q3/trunk/mit/target/classes
[DEBUG] Classpath:
[DEBUG]  /net/home/allisord/src/q3/trunk/mit/target/classes
[DEBUG]
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
[DEBUG]
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
T.jar
[DEBUG]
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
NAPSHOT.jar
[DEBUG]
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar
[DEBUG]
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
T.jar
[DEBUG]
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
let-1.1.10.jar
[DEBUG]
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
NAPSHOT.jar
[DEBUG]
/home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar
[DEBUG] Source roots:
[DEBUG]  /net/home/allisord/src/q3/trunk/mit/src/main/java
Compiling 35 source files to
/net/home/allisord/src/q3/trunk/mit/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

Failure executing javac, but could not parse the error:
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/ui/Widget.java):27: class Widget is
public, should be declared in a file named Widget.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/Event.java):28: class Event is
public, should be declared in a file named Event.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/EventListener.java):28: class
EventListener is public, should be declared in a file named
EventListener.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/ui/UIObject.java):26: class UIObject
is public, should be declared in a file named UIObject.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/Element.java):29: class Element is
public, should be declared in a file named Element.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/core/client/JavaScriptObject.java):30: class
JavaScriptObject is public, should be declared in a file named
JavaScriptObject.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/rpc/IsSerializable.java):21: class
IsSerializable is public, should be declared in a file named
IsSerializable.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/ui/SourcesTabEvents.java):22: class
SourcesTabEvents is public, should be declared in a file named
SourcesTabEvents.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/ui/TabListener.java):25: class
TabListener is public, should be declared in a file named
TabListener.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/rpc/RemoteService.java):21: class
RemoteService is public, should be declared in a file named
RemoteService.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/ui/ClickListener.java):23: class
ClickListener is public, should be declared in a file named
ClickListener.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/ui/HasWidgets.java):24: class
HasWidgets is public, should be declared in a file named HasWidgets.java
(source unavailable)
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
1.10.jar(com/google/gwt/user/client/ui/Panel.java):27: class Panel is
public, should be declared in a file named Panel.java
(source unavailable)
13 errors


[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Compilation failure
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:555)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:475)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:454)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:306)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:140)
	at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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)
Caused by: org.apache.maven.plugin.CompilationFailureException:
Compilation failure
	at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMoj
o.java:505)
	at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:412)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:534)
	... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Sep 19 18:23:53 MDT 2006
[INFO] Final Memory: 6M/79M
[INFO]
------------------------------------------------------------------------


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

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


RE: Strange Compile Error

Posted by "Allison, Bob" <ro...@qwest.com>.
It looks like this was caused by a problem fixed between JDK 5.0u1 and
JDK 5.0u5.  I installed the latest JDK 5 on my new machine and the
problem went away.

-----Original Message-----
From: Allison, Bob [mailto:robert.allison@qwest.com] 
Sent: Wednesday, September 20, 2006 05:38
To: Maven Users List
Subject: RE: Strange Compile Error


Yes, the jar has the class files.  As I said in the first sentence of my
email, this has been working fine on another machine with the exact same
jars and sources.  The jar came with the toolkit.

One thing I forgot to check yesterday was the Java version.  I knew both
systems were running JDK 5 but hadn't check to see if the version were
identical.

The old system is running:
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

The new system is running:
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)

-----Original Message-----
From: Max Cooper [mailto:max@maxcooper.com] 
Sent: Tuesday, September 19, 2006 22:45
To: Maven Users List
Subject: Re: Strange Compile Error


I don't know the solution to your problem, but I have some info and 
ideas that might help you find a solution...

It looks like the compiler is finding .java files in the 
gwt-user-1.1.10.jar dependency. I read recently that google puts the 
source code some libs in the jar, and it looks like this is one such 
case. I am not sure quite what the compiler error means, but it seems 
like it is perhaps trying to compile the sources from the dependency 
jar, which seems odd. It seems like having source in the jar would not 
be a problem, but perhaps it is. Does the jar also contain the .class 
files (you could look inside the jar to verify), or does it only contain

source? Perhaps the problem is that it is ONLY a source jar, and does 
not contain the .class files. That is just a guess, but it is something 
I would check.

I don't see that jar on ibiblio. How did it get into your local 
repository? I would examine where the jar came from carefully -- perhaps

it is incompatible with maven for some reason. Does the jar also contain

the class files (you could look inside the one you have), or does it 
only contain source? And maybe there is a compatible version of the same

lib available by some other means.

-Max

Allison, Bob wrote:
> I have been using one machine for development and having no problem.
I
> copied my development tree to another machine and tried to build my
> project; the compiler created a bunch of errors because of source
files
> in a jar on the class path.  I ran "mvn -X compile" on both the old
> machine and the new machine and compared the output from the two runs.
> The only differences between the logs (until the compile error)
> consisted of differences in paths because of a different home
directory.
> I have verified that the jar holding the sources is the same on both
> machines.
> 
> I have included the complete log from the failed compile in the hopes
> that someone can figure out where I should start looking to figure out
> what is wrong.
> 
>
------------------------------------------------------------------------
> ----
> 
> + Error stacktraces are turned on.
> Maven version: 2.0.4
> [DEBUG] Building Maven user-level plugin registry from:
> '/home/allisord/.m2/plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> '/opt/maven/2/conf/plugin-registry.xml'
> [INFO] Scanning for projects...
> [DEBUG] Searching for parent-POM: qaccess:webapp::5.0-SNAPSHOT of
> project: qaccess:mit:war:5.0-SNAPSHOT in relative path:
> ../webapp/pom.xml
> [DEBUG] Using parent-POM from the project hierarchy at:
> '../webapp/pom.xml' for project: qaccess:mit:war:5.0-SNAPSHOT
> [DEBUG] Searching for parent-POM: qaccess:product::5.0-SNAPSHOT of
> project: qaccess:webapp:pom:5.0-SNAPSHOT in relative path:
> ../product/pom.xml
> [DEBUG] Using parent-POM from the project hierarchy at:
> '../product/pom.xml' for project: qaccess:webapp:pom:5.0-SNAPSHOT
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Building Manual ITs
> [INFO]    task-segment: [compile]
> [INFO]
>
------------------------------------------------------------------------
> ----
> [DEBUG] maven-resources-plugin: resolved to version 2.2 from
repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-resources-plugin:maven-plugin:2.2 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-compiler-plugin: resolved to version 2.0.1 from
repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-compiler-plugin:maven-plugin:2.0.1 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-checkstyle-plugin: resolved to version 2.1 from
repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-checkstyle-plugin:maven-plugin:2.1 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-release-plugin: resolved to version 2.0-beta-4 from
> repository central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-release-plugin:maven-plugin:2.0-beta-4 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-surefire-plugin: resolved to version 2.2 from repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-surefire-plugin:maven-plugin:2.2 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] cobertura-maven-plugin: resolved to version 2.0 from
repository
> central
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project:
> null:cobertura-maven-plugin:maven-plugin:2.0 from the repository.
> [DEBUG] maven-war-plugin: resolved to version 2.0.1 from repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-war-plugin:maven-plugin:2.0.1 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] gwt-maven-plugin: resolved to version 1.0-SNAPSHOT from local
> repository
> [DEBUG] Skipping disabled repository central
> [DEBUG] gwt-maven-plugin: using locally installed snapshot
> [DEBUG] Retrieving parent-POM:
> org.codehaus.mojo:mojo-sandbox::2-SNAPSHOT for project:
> qaccess.plugin:gwt-maven-plugin:maven-plugin:1.0-SNAPSHOT from the
> repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] mojo-sandbox: resolved to version 2-20060715.092216-3 from
> repository codehaus.snapshots
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11-SNAPSHOT for
> project: null:mojo-sandbox:pom:2-SNAPSHOT from the repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] mojo: resolved to version 11-20060715.092055-1 from repository
> codehaus.snapshots
> [DEBUG] gwt-maven-plugin: using locally installed snapshot
> [DEBUG]
>
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-model:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-model:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4: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]   org.apache.maven:maven-project:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime
(selected
> for runtime)
> [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-artifact:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-repository-metadata:jar:2.0 from the
repository.
> [DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.0:runtime
> (selected for runtime)
> [DEBUG]
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> null:maven-profile:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected
for
> runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory =
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@3266d393
> [DEBUG]   (f) resources = [org.apache.maven.model.Resource@19da4fc]
> [DEBUG] -- end configuration --
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [DEBUG] qaccess:mit:war:5.0-SNAPSHOT (selected for null)
> [DEBUG]   jmock:jmock:jar:1.0.1:test (selected for test)
> [DEBUG]     junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]   taglibs:standard:jar:1.1.2:compile (selected for compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] servlet: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:servlet:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:servlet:jar:5.0-SNAPSHOT:compile (selected for
> compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] auth: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:auth:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:auth:jar:5.0-SNAPSHOT:compile (selected for compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] data: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:data:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]     qaccess:data:jar:5.0-SNAPSHOT:compile (selected for
compile)
> [DEBUG]   com.google.gwt:gwt-user:jar:1.1.10:provided (selected for
> provided)
> [DEBUG] Skipping disabled repository central
> [DEBUG] logging: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:logging:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:logging:jar:5.0-SNAPSHOT:provided (selected for
> provided)
> [DEBUG]   com.google.gwt:gwt-servlet:jar:1.1.10:compile (selected for
> compile)
> [DEBUG]   javax.servlet:jstl:jar:1.1.2:compile (selected for compile)
> [DEBUG] logging: using locally installed snapshot
> [DEBUG] servlet: using locally installed snapshot
> [DEBUG] auth: using locally installed snapshot
> [DEBUG] data: using locally installed snapshot
> [DEBUG]
>
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1:runtim
> e (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> null:plexus-compiler-api:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.2:runtime
> (selected for runtime)
> [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
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime
(selected
> for runtime)
> [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> null:plexus-compiler-manager:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]
org.codehaus.plexus:plexus-compiler-manager:jar:1.5.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compilers::1.5.2 for project:
> null:plexus-compiler-javac:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> org.codehaus.plexus:plexus-compilers:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
> project: null:plexus-utils:jar:1.0.5 from the repository.
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime
(removed
> - nearer found: 1.0.4)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected
for
> runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile' -->
> [DEBUG]   (f) basedir = /net/home/allisord/src/q3/trunk/mit
> [DEBUG]   (f) buildDirectory =
> /net/home/allisord/src/q3/trunk/mit/target
> [DEBUG]   (f) classpathElements =
> [/net/home/allisord/src/q3/trunk/mit/target/classes,
>
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar,
>
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar,
>
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar,
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar,
>
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar,
>
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar,
>
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar,
> /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
> [DEBUG]   (f) compileSourceRoots =
> [/net/home/allisord/src/q3/trunk/mit/src/main/java]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]   (f) outputFileName = mit-5.0-SNAPSHOT
> [DEBUG]   (f) projectArtifact = qaccess:mit:war:5.0-SNAPSHOT
> [DEBUG]   (f) showDeprecation = false
> [DEBUG]   (f) showWarnings = false
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:compile]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories:
> [/net/home/allisord/src/q3/trunk/mit/src/main/java]
> [DEBUG] Classpath: [/net/home/allisord/src/q3/trunk/mit/target/classes
>
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
>  
>
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar
>  
>
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar
>  
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar
>  
>
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar
>  
>
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar
>  
>
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar
>
/home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
> [DEBUG] Output directory:
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG] Classpath:
> [DEBUG]  /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]
>
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar
> [DEBUG]
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar
> [DEBUG]
>
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar
> [DEBUG]
> /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar
> [DEBUG] Source roots:
> [DEBUG]  /net/home/allisord/src/q3/trunk/mit/src/main/java
> Compiling 35 source files to
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> Failure executing javac, but could not parse the error:
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/Widget.java):27: class Widget
is
> public, should be declared in a file named Widget.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/Event.java):28: class Event is
> public, should be declared in a file named Event.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/EventListener.java):28: class
> EventListener is public, should be declared in a file named
> EventListener.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/UIObject.java):26: class
UIObject
> is public, should be declared in a file named UIObject.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/Element.java):29: class Element is
> public, should be declared in a file named Element.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/core/client/JavaScriptObject.java):30: class
> JavaScriptObject is public, should be declared in a file named
> JavaScriptObject.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/rpc/IsSerializable.java):21: class
> IsSerializable is public, should be declared in a file named
> IsSerializable.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/SourcesTabEvents.java):22:
class
> SourcesTabEvents is public, should be declared in a file named
> SourcesTabEvents.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/TabListener.java):25: class
> TabListener is public, should be declared in a file named
> TabListener.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/rpc/RemoteService.java):21: class
> RemoteService is public, should be declared in a file named
> RemoteService.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/ClickListener.java):23: class
> ClickListener is public, should be declared in a file named
> ClickListener.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/HasWidgets.java):24: class
> HasWidgets is public, should be declared in a file named
HasWidgets.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/Panel.java):27: class Panel is
> public, should be declared in a file named Panel.java
> (source unavailable)
> 13 errors
> 
> 
> [INFO]
>
------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:555)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:475)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:454)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:306)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:140)
> 	at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 	at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.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)
> Caused by: org.apache.maven.plugin.CompilationFailureException:
> Compilation failure
> 	at
>
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMoj
> o.java:505)
> 	at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
> 	at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:412)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:534)
> 	... 16 more
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Sep 19 18:23:53 MDT 2006
> [INFO] Final Memory: 6M/79M
> [INFO]
>
------------------------------------------------------------------------
> 
> 
> This communication is the property of Qwest and may contain
confidential or
> privileged information. Unauthorized use of this communication is
strictly 
> prohibited and may be unlawful.  If you have received this
communication 
> in error, please immediately notify the sender by reply e-mail and
destroy 
> all copies of the communication and any attachments.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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


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


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


RE: Strange Compile Error

Posted by "Allison, Bob" <ro...@qwest.com>.
Yes, the jar has the class files.  As I said in the first sentence of my
email, this has been working fine on another machine with the exact same
jars and sources.  The jar came with the toolkit.

One thing I forgot to check yesterday was the Java version.  I knew both
systems were running JDK 5 but hadn't check to see if the version were
identical.

The old system is running:
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

The new system is running:
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)

-----Original Message-----
From: Max Cooper [mailto:max@maxcooper.com] 
Sent: Tuesday, September 19, 2006 22:45
To: Maven Users List
Subject: Re: Strange Compile Error


I don't know the solution to your problem, but I have some info and 
ideas that might help you find a solution...

It looks like the compiler is finding .java files in the 
gwt-user-1.1.10.jar dependency. I read recently that google puts the 
source code some libs in the jar, and it looks like this is one such 
case. I am not sure quite what the compiler error means, but it seems 
like it is perhaps trying to compile the sources from the dependency 
jar, which seems odd. It seems like having source in the jar would not 
be a problem, but perhaps it is. Does the jar also contain the .class 
files (you could look inside the jar to verify), or does it only contain

source? Perhaps the problem is that it is ONLY a source jar, and does 
not contain the .class files. That is just a guess, but it is something 
I would check.

I don't see that jar on ibiblio. How did it get into your local 
repository? I would examine where the jar came from carefully -- perhaps

it is incompatible with maven for some reason. Does the jar also contain

the class files (you could look inside the one you have), or does it 
only contain source? And maybe there is a compatible version of the same

lib available by some other means.

-Max

Allison, Bob wrote:
> I have been using one machine for development and having no problem.
I
> copied my development tree to another machine and tried to build my
> project; the compiler created a bunch of errors because of source
files
> in a jar on the class path.  I ran "mvn -X compile" on both the old
> machine and the new machine and compared the output from the two runs.
> The only differences between the logs (until the compile error)
> consisted of differences in paths because of a different home
directory.
> I have verified that the jar holding the sources is the same on both
> machines.
> 
> I have included the complete log from the failed compile in the hopes
> that someone can figure out where I should start looking to figure out
> what is wrong.
> 
>
------------------------------------------------------------------------
> ----
> 
> + Error stacktraces are turned on.
> Maven version: 2.0.4
> [DEBUG] Building Maven user-level plugin registry from:
> '/home/allisord/.m2/plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> '/opt/maven/2/conf/plugin-registry.xml'
> [INFO] Scanning for projects...
> [DEBUG] Searching for parent-POM: qaccess:webapp::5.0-SNAPSHOT of
> project: qaccess:mit:war:5.0-SNAPSHOT in relative path:
> ../webapp/pom.xml
> [DEBUG] Using parent-POM from the project hierarchy at:
> '../webapp/pom.xml' for project: qaccess:mit:war:5.0-SNAPSHOT
> [DEBUG] Searching for parent-POM: qaccess:product::5.0-SNAPSHOT of
> project: qaccess:webapp:pom:5.0-SNAPSHOT in relative path:
> ../product/pom.xml
> [DEBUG] Using parent-POM from the project hierarchy at:
> '../product/pom.xml' for project: qaccess:webapp:pom:5.0-SNAPSHOT
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Building Manual ITs
> [INFO]    task-segment: [compile]
> [INFO]
>
------------------------------------------------------------------------
> ----
> [DEBUG] maven-resources-plugin: resolved to version 2.2 from
repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-resources-plugin:maven-plugin:2.2 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-compiler-plugin: resolved to version 2.0.1 from
repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-compiler-plugin:maven-plugin:2.0.1 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-checkstyle-plugin: resolved to version 2.1 from
repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-checkstyle-plugin:maven-plugin:2.1 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-release-plugin: resolved to version 2.0-beta-4 from
> repository central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-release-plugin:maven-plugin:2.0-beta-4 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-surefire-plugin: resolved to version 2.2 from repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-surefire-plugin:maven-plugin:2.2 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] cobertura-maven-plugin: resolved to version 2.0 from
repository
> central
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project:
> null:cobertura-maven-plugin:maven-plugin:2.0 from the repository.
> [DEBUG] maven-war-plugin: resolved to version 2.0.1 from repository
> central
> [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-war-plugin:maven-plugin:2.0.1 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] gwt-maven-plugin: resolved to version 1.0-SNAPSHOT from local
> repository
> [DEBUG] Skipping disabled repository central
> [DEBUG] gwt-maven-plugin: using locally installed snapshot
> [DEBUG] Retrieving parent-POM:
> org.codehaus.mojo:mojo-sandbox::2-SNAPSHOT for project:
> qaccess.plugin:gwt-maven-plugin:maven-plugin:1.0-SNAPSHOT from the
> repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] mojo-sandbox: resolved to version 2-20060715.092216-3 from
> repository codehaus.snapshots
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11-SNAPSHOT for
> project: null:mojo-sandbox:pom:2-SNAPSHOT from the repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] mojo: resolved to version 11-20060715.092055-1 from repository
> codehaus.snapshots
> [DEBUG] gwt-maven-plugin: using locally installed snapshot
> [DEBUG]
>
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-model:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-model:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4: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]   org.apache.maven:maven-project:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime
(selected
> for runtime)
> [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-artifact:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-repository-metadata:jar:2.0 from the
repository.
> [DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.0:runtime
> (selected for runtime)
> [DEBUG]
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> null:maven-profile:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected
for
> runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project:
> org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory =
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@3266d393
> [DEBUG]   (f) resources = [org.apache.maven.model.Resource@19da4fc]
> [DEBUG] -- end configuration --
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [DEBUG] qaccess:mit:war:5.0-SNAPSHOT (selected for null)
> [DEBUG]   jmock:jmock:jar:1.0.1:test (selected for test)
> [DEBUG]     junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]   taglibs:standard:jar:1.1.2:compile (selected for compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] servlet: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:servlet:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:servlet:jar:5.0-SNAPSHOT:compile (selected for
> compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] auth: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:auth:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:auth:jar:5.0-SNAPSHOT:compile (selected for compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] data: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:data:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]     qaccess:data:jar:5.0-SNAPSHOT:compile (selected for
compile)
> [DEBUG]   com.google.gwt:gwt-user:jar:1.1.10:provided (selected for
> provided)
> [DEBUG] Skipping disabled repository central
> [DEBUG] logging: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:logging:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:logging:jar:5.0-SNAPSHOT:provided (selected for
> provided)
> [DEBUG]   com.google.gwt:gwt-servlet:jar:1.1.10:compile (selected for
> compile)
> [DEBUG]   javax.servlet:jstl:jar:1.1.2:compile (selected for compile)
> [DEBUG] logging: using locally installed snapshot
> [DEBUG] servlet: using locally installed snapshot
> [DEBUG] auth: using locally installed snapshot
> [DEBUG] data: using locally installed snapshot
> [DEBUG]
>
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1:runtim
> e (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> null:plexus-compiler-api:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.2:runtime
> (selected for runtime)
> [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
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime
(selected
> for runtime)
> [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> null:plexus-compiler-manager:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]
org.codehaus.plexus:plexus-compiler-manager:jar:1.5.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compilers::1.5.2 for project:
> null:plexus-compiler-javac:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> org.codehaus.plexus:plexus-compilers:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
> project: null:plexus-utils:jar:1.0.5 from the repository.
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime
(removed
> - nearer found: 1.0.4)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected
for
> runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile' -->
> [DEBUG]   (f) basedir = /net/home/allisord/src/q3/trunk/mit
> [DEBUG]   (f) buildDirectory =
> /net/home/allisord/src/q3/trunk/mit/target
> [DEBUG]   (f) classpathElements =
> [/net/home/allisord/src/q3/trunk/mit/target/classes,
>
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar,
>
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar,
>
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar,
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar,
>
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar,
>
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar,
>
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar,
> /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
> [DEBUG]   (f) compileSourceRoots =
> [/net/home/allisord/src/q3/trunk/mit/src/main/java]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]   (f) outputFileName = mit-5.0-SNAPSHOT
> [DEBUG]   (f) projectArtifact = qaccess:mit:war:5.0-SNAPSHOT
> [DEBUG]   (f) showDeprecation = false
> [DEBUG]   (f) showWarnings = false
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:compile]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories:
> [/net/home/allisord/src/q3/trunk/mit/src/main/java]
> [DEBUG] Classpath: [/net/home/allisord/src/q3/trunk/mit/target/classes
>
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
>  
>
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar
>  
>
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar
>  
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar
>  
>
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar
>  
>
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar
>  
>
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar
>
/home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
> [DEBUG] Output directory:
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG] Classpath:
> [DEBUG]  /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]
>
/home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar
> [DEBUG]
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar
> [DEBUG]
>
/home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar
> [DEBUG]
>
/home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar
> [DEBUG]
> /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar
> [DEBUG] Source roots:
> [DEBUG]  /net/home/allisord/src/q3/trunk/mit/src/main/java
> Compiling 35 source files to
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> Failure executing javac, but could not parse the error:
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/Widget.java):27: class Widget
is
> public, should be declared in a file named Widget.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/Event.java):28: class Event is
> public, should be declared in a file named Event.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/EventListener.java):28: class
> EventListener is public, should be declared in a file named
> EventListener.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/UIObject.java):26: class
UIObject
> is public, should be declared in a file named UIObject.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/Element.java):29: class Element is
> public, should be declared in a file named Element.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/core/client/JavaScriptObject.java):30: class
> JavaScriptObject is public, should be declared in a file named
> JavaScriptObject.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/rpc/IsSerializable.java):21: class
> IsSerializable is public, should be declared in a file named
> IsSerializable.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/SourcesTabEvents.java):22:
class
> SourcesTabEvents is public, should be declared in a file named
> SourcesTabEvents.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/TabListener.java):25: class
> TabListener is public, should be declared in a file named
> TabListener.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/rpc/RemoteService.java):21: class
> RemoteService is public, should be declared in a file named
> RemoteService.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/ClickListener.java):23: class
> ClickListener is public, should be declared in a file named
> ClickListener.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/HasWidgets.java):24: class
> HasWidgets is public, should be declared in a file named
HasWidgets.java
> (source unavailable)
>
/home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/Panel.java):27: class Panel is
> public, should be declared in a file named Panel.java
> (source unavailable)
> 13 errors
> 
> 
> [INFO]
>
------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:555)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:475)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:454)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:306)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:140)
> 	at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 	at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.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)
> Caused by: org.apache.maven.plugin.CompilationFailureException:
> Compilation failure
> 	at
>
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMoj
> o.java:505)
> 	at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
> 	at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:412)
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:534)
> 	... 16 more
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Sep 19 18:23:53 MDT 2006
> [INFO] Final Memory: 6M/79M
> [INFO]
>
------------------------------------------------------------------------
> 
> 
> This communication is the property of Qwest and may contain
confidential or
> privileged information. Unauthorized use of this communication is
strictly 
> prohibited and may be unlawful.  If you have received this
communication 
> in error, please immediately notify the sender by reply e-mail and
destroy 
> all copies of the communication and any attachments.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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


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


Re: Strange Compile Error

Posted by Max Cooper <ma...@maxcooper.com>.
I don't know the solution to your problem, but I have some info and 
ideas that might help you find a solution...

It looks like the compiler is finding .java files in the 
gwt-user-1.1.10.jar dependency. I read recently that google puts the 
source code some libs in the jar, and it looks like this is one such 
case. I am not sure quite what the compiler error means, but it seems 
like it is perhaps trying to compile the sources from the dependency 
jar, which seems odd. It seems like having source in the jar would not 
be a problem, but perhaps it is. Does the jar also contain the .class 
files (you could look inside the jar to verify), or does it only contain 
source? Perhaps the problem is that it is ONLY a source jar, and does 
not contain the .class files. That is just a guess, but it is something 
I would check.

I don't see that jar on ibiblio. How did it get into your local 
repository? I would examine where the jar came from carefully -- perhaps 
it is incompatible with maven for some reason. Does the jar also contain 
the class files (you could look inside the one you have), or does it 
only contain source? And maybe there is a compatible version of the same 
lib available by some other means.

-Max

Allison, Bob wrote:
> I have been using one machine for development and having no problem.  I
> copied my development tree to another machine and tried to build my
> project; the compiler created a bunch of errors because of source files
> in a jar on the class path.  I ran "mvn -X compile" on both the old
> machine and the new machine and compared the output from the two runs.
> The only differences between the logs (until the compile error)
> consisted of differences in paths because of a different home directory.
> I have verified that the jar holding the sources is the same on both
> machines.
> 
> I have included the complete log from the failed compile in the hopes
> that someone can figure out where I should start looking to figure out
> what is wrong.
> 
> ------------------------------------------------------------------------
> ----
> 
> + Error stacktraces are turned on.
> Maven version: 2.0.4
> [DEBUG] Building Maven user-level plugin registry from:
> '/home/allisord/.m2/plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> '/opt/maven/2/conf/plugin-registry.xml'
> [INFO] Scanning for projects...
> [DEBUG] Searching for parent-POM: qaccess:webapp::5.0-SNAPSHOT of
> project: qaccess:mit:war:5.0-SNAPSHOT in relative path:
> ../webapp/pom.xml
> [DEBUG] Using parent-POM from the project hierarchy at:
> '../webapp/pom.xml' for project: qaccess:mit:war:5.0-SNAPSHOT
> [DEBUG] Searching for parent-POM: qaccess:product::5.0-SNAPSHOT of
> project: qaccess:webapp:pom:5.0-SNAPSHOT in relative path:
> ../product/pom.xml
> [DEBUG] Using parent-POM from the project hierarchy at:
> '../product/pom.xml' for project: qaccess:webapp:pom:5.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Manual ITs
> [INFO]    task-segment: [compile]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-resources-plugin:maven-plugin:2.2 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-compiler-plugin: resolved to version 2.0.1 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-compiler-plugin:maven-plugin:2.0.1 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-checkstyle-plugin: resolved to version 2.1 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-checkstyle-plugin:maven-plugin:2.1 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-release-plugin: resolved to version 2.0-beta-4 from
> repository central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-release-plugin:maven-plugin:2.0-beta-4 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-surefire-plugin: resolved to version 2.2 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-surefire-plugin:maven-plugin:2.2 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] cobertura-maven-plugin: resolved to version 2.0 from repository
> central
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project:
> null:cobertura-maven-plugin:maven-plugin:2.0 from the repository.
> [DEBUG] maven-war-plugin: resolved to version 2.0.1 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-war-plugin:maven-plugin:2.0.1 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] gwt-maven-plugin: resolved to version 1.0-SNAPSHOT from local
> repository
> [DEBUG] Skipping disabled repository central
> [DEBUG] gwt-maven-plugin: using locally installed snapshot
> [DEBUG] Retrieving parent-POM:
> org.codehaus.mojo:mojo-sandbox::2-SNAPSHOT for project:
> qaccess.plugin:gwt-maven-plugin:maven-plugin:1.0-SNAPSHOT from the
> repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] mojo-sandbox: resolved to version 2-20060715.092216-3 from
> repository codehaus.snapshots
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11-SNAPSHOT for
> project: null:mojo-sandbox:pom:2-SNAPSHOT from the repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] mojo: resolved to version 11-20060715.092055-1 from repository
> codehaus.snapshots
> [DEBUG] gwt-maven-plugin: using locally installed snapshot
> [DEBUG]
> org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-model:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-model:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4: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]   org.apache.maven:maven-project:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
> for runtime)
> [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-artifact:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:runtime
> (selected for runtime)
> [DEBUG]
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> null:maven-profile:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for
> runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory =
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@3266d393
> [DEBUG]   (f) resources = [org.apache.maven.model.Resource@19da4fc]
> [DEBUG] -- end configuration --
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [DEBUG] qaccess:mit:war:5.0-SNAPSHOT (selected for null)
> [DEBUG]   jmock:jmock:jar:1.0.1:test (selected for test)
> [DEBUG]     junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]   taglibs:standard:jar:1.1.2:compile (selected for compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] servlet: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:servlet:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] Skipping disabled repository central
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:servlet:jar:5.0-SNAPSHOT:compile (selected for
> compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] auth: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:auth:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:auth:jar:5.0-SNAPSHOT:compile (selected for compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] data: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:data:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]     qaccess:data:jar:5.0-SNAPSHOT:compile (selected for compile)
> [DEBUG]   com.google.gwt:gwt-user:jar:1.1.10:provided (selected for
> provided)
> [DEBUG] Skipping disabled repository central
> [DEBUG] logging: using locally installed snapshot
> [DEBUG] Retrieving parent-POM: qaccess:product::5.0-SNAPSHOT for
> project: qaccess:logging:jar:5.0-SNAPSHOT from the repository.
> [DEBUG] product: using locally installed snapshot
> [DEBUG]   qaccess:logging:jar:5.0-SNAPSHOT:provided (selected for
> provided)
> [DEBUG]   com.google.gwt:gwt-servlet:jar:1.1.10:compile (selected for
> compile)
> [DEBUG]   javax.servlet:jstl:jar:1.1.2:compile (selected for compile)
> [DEBUG] logging: using locally installed snapshot
> [DEBUG] servlet: using locally installed snapshot
> [DEBUG] auth: using locally installed snapshot
> [DEBUG] data: using locally installed snapshot
> [DEBUG]
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1:runtim
> e (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> null:plexus-compiler-api:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.2:runtime
> (selected for runtime)
> [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
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
> for runtime)
> [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> null:plexus-compiler-manager:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]   org.codehaus.plexus:plexus-compiler-manager:jar:1.5.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compilers::1.5.2 for project:
> null:plexus-compiler-javac:jar:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-compiler::1.5.2 for project:
> org.codehaus.plexus:plexus-compilers:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-components::1.1.5 for project:
> null:plexus-compiler:pom:1.5.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for
> project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the
> repository.
> [DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
> project: null:plexus-utils:jar:1.0.5 from the repository.
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime (removed
> - nearer found: 1.0.4)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
> runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile' -->
> [DEBUG]   (f) basedir = /net/home/allisord/src/q3/trunk/mit
> [DEBUG]   (f) buildDirectory =
> /net/home/allisord/src/q3/trunk/mit/target
> [DEBUG]   (f) classpathElements =
> [/net/home/allisord/src/q3/trunk/mit/target/classes,
> /home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar,
> /home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar,
> /home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar,
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar,
> /home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar,
> /home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar,
> /home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar,
> /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
> [DEBUG]   (f) compileSourceRoots =
> [/net/home/allisord/src/q3/trunk/mit/src/main/java]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) optimize = false
> [DEBUG]   (f) outputDirectory =
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]   (f) outputFileName = mit-5.0-SNAPSHOT
> [DEBUG]   (f) projectArtifact = qaccess:mit:war:5.0-SNAPSHOT
> [DEBUG]   (f) showDeprecation = false
> [DEBUG]   (f) showWarnings = false
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --
> [INFO] [compiler:compile]
> [DEBUG] Using compiler 'javac'.
> [DEBUG] Source directories:
> [/net/home/allisord/src/q3/trunk/mit/src/main/java]
> [DEBUG] Classpath: [/net/home/allisord/src/q3/trunk/mit/target/classes
>  /home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
>  
> /home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar
>  
> /home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar
>  
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar
>  
> /home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar
>  
> /home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar
>  
> /home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar
>  /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]
> [DEBUG] Output directory:
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG] Classpath:
> [DEBUG]  /net/home/allisord/src/q3/trunk/mit/target/classes
> [DEBUG]
> /home/allisord/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
> [DEBUG]
> /home/allisord/.m2/repository/qaccess/auth/5.0-SNAPSHOT/auth-5.0-SNAPSHO
> T.jar
> [DEBUG]
> /home/allisord/.m2/repository/qaccess/servlet/5.0-SNAPSHOT/servlet-5.0-S
> NAPSHOT.jar
> [DEBUG]
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar
> [DEBUG]
> /home/allisord/.m2/repository/qaccess/data/5.0-SNAPSHOT/data-5.0-SNAPSHO
> T.jar
> [DEBUG]
> /home/allisord/.m2/repository/com/google/gwt/gwt-servlet/1.1.10/gwt-serv
> let-1.1.10.jar
> [DEBUG]
> /home/allisord/.m2/repository/qaccess/logging/5.0-SNAPSHOT/logging-5.0-S
> NAPSHOT.jar
> [DEBUG]
> /home/allisord/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar
> [DEBUG] Source roots:
> [DEBUG]  /net/home/allisord/src/q3/trunk/mit/src/main/java
> Compiling 35 source files to
> /net/home/allisord/src/q3/trunk/mit/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> Failure executing javac, but could not parse the error:
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/Widget.java):27: class Widget is
> public, should be declared in a file named Widget.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/Event.java):28: class Event is
> public, should be declared in a file named Event.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/EventListener.java):28: class
> EventListener is public, should be declared in a file named
> EventListener.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/UIObject.java):26: class UIObject
> is public, should be declared in a file named UIObject.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/Element.java):29: class Element is
> public, should be declared in a file named Element.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/core/client/JavaScriptObject.java):30: class
> JavaScriptObject is public, should be declared in a file named
> JavaScriptObject.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/rpc/IsSerializable.java):21: class
> IsSerializable is public, should be declared in a file named
> IsSerializable.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/SourcesTabEvents.java):22: class
> SourcesTabEvents is public, should be declared in a file named
> SourcesTabEvents.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/TabListener.java):25: class
> TabListener is public, should be declared in a file named
> TabListener.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/rpc/RemoteService.java):21: class
> RemoteService is public, should be declared in a file named
> RemoteService.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/ClickListener.java):23: class
> ClickListener is public, should be declared in a file named
> ClickListener.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/HasWidgets.java):24: class
> HasWidgets is public, should be declared in a file named HasWidgets.java
> (source unavailable)
> /home/allisord/.m2/repository/com/google/gwt/gwt-user/1.1.10/gwt-user-1.
> 1.10.jar(com/google/gwt/user/client/ui/Panel.java):27: class Panel is
> public, should be declared in a file named Panel.java
> (source unavailable)
> 13 errors
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:555)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:475)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:454)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:306)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:140)
> 	at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.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)
> Caused by: org.apache.maven.plugin.CompilationFailureException:
> Compilation failure
> 	at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMoj
> o.java:505)
> 	at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
> 	at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:412)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:534)
> 	... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Sep 19 18:23:53 MDT 2006
> [INFO] Final Memory: 6M/79M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> This communication is the property of Qwest and may contain confidential or
> privileged information. Unauthorized use of this communication is strictly 
> prohibited and may be unlawful.  If you have received this communication 
> in error, please immediately notify the sender by reply e-mail and destroy 
> all copies of the communication and any attachments.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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