Hi,

Just going to post a message here about what I found out recently. It
affects maven 2.0.9. I think this is a bug, and tried creating a Jira issue
but couldn't... so here goes:

During development of a MOJO I was in need of a custom class (with getters
and setters) so that the pom configuration would use it. This custom class
works when it is at the same package level of the MOJO. However, when I
place the class deeper the compilation of the MOJO fails for it cannot find
the class/dependency.

In other words:

com.whatever.mojo.MyMojo
com.whatever.mojo.MyPoJo

com.whatever.mojo.MyMojo
com.whatever.mojo.domain.MyPoJo

The first succeeds, the other fails.

Regards,
Mike
-- 
View this message in context: 
http://www.nabble.com/Package-resolving-in-MOJO-hierarchy-bug-tp17981512p17981512.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]

Reply via email to