bug using <modules/> in a flat layout
-------------------------------------
Key: MNG-1619
URL: http://jira.codehaus.org/browse/MNG-1619
Project: Maven 2
Type: Bug
Versions: 2.0
Reporter: Wim Deblauwe
Attachments: modules.zip
I have a problem using <modules/> and I don't know if it is a bug or maybe I'm
doing something wrong:
This is my structure (note that I use a master pom that defines my slightly
different structure):
+ modules
+ utils
+ utils-lang
+ pom.xml
+ src
+ main
+ test
+ utils-logging
+ pom.xml
+ src
+ main
+ test
The utils-lang module depends on the utils-logging module, so I've put in the
pom.xml of utils-lang:
<modules>
<module>../utils-logging</module>
</modules>
When I then run 'mvn compile' from the utils-lang dir, I get the following
output:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Utils Logging Module
[INFO] Utils Lang Module
[INFO]
----------------------------------------------------------------------------
[INFO] Building Utils Logging Module
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
----------------------------------------------------------------------------
[INFO] Building Utils Lang Module
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO]
[INFO]
[INFO]
----------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
----------------------------------------------------------------------------
[INFO] Utils Logging Module ................................... SUCCESS [1.266s]
[INFO] Utils Lang Module ...................................... SUCCESS [0.000s]
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Nov 17 08:14:31 CET 2005
[INFO] Final Memory: 2M/5M
[INFO]
----------------------------------------------------------------------------
So the module i'm trying to compile does not get build. The module that I
depend on, do gets build.
I have attached a zip file showing the structure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]