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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]