You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnaud Bailly <ab...@oqube.com> on 2008/11/25 17:15:36 UTC

Compiler plugin cannot parse error message

Hello,
I am running in a very strange error. I have two machines with identical
configurations (AFAICT):
 - maven 2.0.9
 - jdk 1.5.0_16-b02

I am using maven-comiler-plugin version 2.0.2

On one machine, I got the following output:
[INFO] [compiler:compile]
[INFO] Compiling 54 source files to
/home/nono/work/vendor/shindig/java/common/target/classes
[WARNING]
/home/nono/work/vendor/shindig/java/common/src/main/java/org/apache/shindig/common/util/JsonConversionUtil.java:[48,82]
[unchecked] unchecked cast
found   : java.util.Map
required: java.util.Map<java.lang.String,java.lang.String[]>

On the other, I got:
[INFO] Compiling 54 source files to
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

no more tokens - could not parse error message: ----------
1. WARNING in
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/src/main/java/org/apache/shindig/common/crypto/BlobExpiredException.java
(at line 26)
	public class BlobExpiredException extends BlobCrypterException {
	             ^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
BlobExpiredException does not declare a static final serialVersionUID field
of type long
----------
----------
2. WARNING in
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/src/main/java/org/apache/shindig/common/cache/LruCache.java
(at line 27)
	public class LruCache<K, V> extends LinkedHashMap<K, V> implements Cache<K,
V> {
	             ^^^^^^^^

no more tokens - could not parse error message: The serializable class
LruCache does not declare a static final serialVersionUID field of type long
----------
----------
3. WARNING in
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/src/main/java/org/apache/shindig/common/xml/XmlException.java
(at line 20)
	public class XmlException extends Exception {
	             ^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
XmlException does not declare a static final serialVersionUID field of type
long
----------
----------
4. WARNING in
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/src/main/java/org/apache/shindig/common/crypto/BlobCrypterException.java
(at line 24)
	public class BlobCrypterException extends Exception {
	             ^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
BlobCrypterException does not declare a static final serialVersionUID field
of type long
----------
----------
5. WARNING in
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/src/main/java/org/apache/shindig/common/util/JsonConversionUtil.java
(at line 48)
	Map<String, String[]> params = (Map<String, String[]>)
request.getParameterMap();
	                              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

could not parse error message: Type safety: The cast from Map to
Map<String,String[]> is actually checking against the erased type Map
----------
----------
6. WARNING in
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/src/main/java/org/apache/shindig/common/ContainerConfigException.java
(at line 24)
	public class ContainerConfigException extends Exception {
	             ^^^^^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
ContainerConfigException does not declare a static final serialVersionUID
field of type long
----------
----------
7. WARNING in
/home/nono/.hudson/jobs/nuxeo-web-engine/workspace/vendor/shindig/java/common/src/main/java/org/apache/shindig/auth/SecurityTokenException.java
(at line 24)
	public class SecurityTokenException extends Exception {
	             ^^^^^^^^^^^^^^^^^^^^^^

This is puzzling. Comments and advices extremely welcome.

Best regards

Arnaud Bailly
-- 
View this message in context: http://www.nabble.com/Compiler-plugin-cannot-parse-error-message-tp20684404p20684404.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


[SOLVED] Re: Compiler plugin cannot parse error message

Posted by Arnaud Bailly <ab...@oqube.com>.
Sorry for the noise,
I was not using the right compiler.

Thanks anyway

Arnaud Bailly
-- 
View this message in context: http://www.nabble.com/Compiler-plugin-cannot-parse-error-message-tp20684404p20684824.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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