This one is for you expert guys... because I'm totally lost here.
After migrating a project from Maven 1 to Maven 2 the following compilation
problems started to show up:

[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/home/gregory/Desktop/workspace/longadata-graph/src/main/java/com/longadata/graph/impl/ComposableUtils.java:[356,45]
operator == cannot be applied to com.longadata.graph.api.Composable
,<nulltype>
/home/gregory/Desktop/workspace/longadata-graph/src/main/java/com/longadata/graph/api/Composable.java:[20,12]
type parameter T is not within its bound
/home/gregory/Desktop/workspace/longadata-graph/src/main/java/com/longadata/graph/impl/ComponentImpl.java:[34,28]
operator != cannot be applied to T,<nulltype>
/home/gregory/Desktop/workspace/longadata-graph/src/main/java/com/longadata/graph/impl/ComposableImpl.java:[36,46]
type parameter T is not within its bound
/home/gregory/Desktop/workspace/longadata-graph/src/main/java/com/longadata/graph/impl/ComposableImpl.java:[53,19]
type parameter T is not within its bound
/home/gregory/Desktop/workspace/longadata-graph/src/main/java/com/longadata/graph/impl/ComposableImpl.java:[72,26]
type parameter T is not within its bound

This alone is strange enough because the project used to compile OK, but
that's not all! After digging a lot with this problem I realized Maven will
fail the first time I try to compile, but not the second time!! In other
words:

mvn clean
mvn compile

doesn't work, yielding the errors above. Then, if I issue once again "mvn
compile", I get BUILD SUCCESSFUL.

How comes????


--
------------------------------------------------------
Grégory Canto
[EMAIL PROTECTED]

LONGADATA
Tecnologia da  Informação
------------------------------------------------------

Reply via email to