You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ian Rowlands <Ia...@sro.vic.gov.au> on 2007/04/17 06:06:54 UTC

Suggestions about project structures and related items




Being relatively new to Maven and not finding much around about how things
are done "in the wild", I have a few questions about the best use of maven
in regard to multi-module projects and generating some of the artifacts:

1.  When you generate the website, an index.html is not generated by
default.  Is it possible to do this?  I know you can generate it by adding
the various site files (index.xml in the site/xml directory) but it would
be good to "tweak" something to do it.  It would also mean I wouldn't have
to have very similar files in each of the subprojects (which is what I have
at the moment).

2.  What is the "suggested" way to structure multi-module projects?  I know
two ways are that you can put the pom.xml in the "parent" directory - which
works if the only file in the parent project is that file (it isn't in my
case, because of the issue mentioned above).  The other is to have all
modules as "peers" (in terms of directory) and have one of the directories
as the "parent".  This works well with an eclipse environment, but I know
it has other issues - one of which is generating the website of the
"parent" so that it points correctly to its children.  I've tried tweaking
the links, but it hasn't really worked.

Any suggestions would be appreciated.


Regards,

Ian



Disclaimer: The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from your computer.
Privacy: If you are responding to this email or providing personal
information to the SRO for the purposes of one of the Acts it administers,
such information is used only for the purpose for which it was collected
( administration of SRO legislation ) and is protected by the Information
Privacy Act 2000 and secrecy provisions contained in legislation
administered by SRO. It is not disclosed otherwise than in accordance with
the law. If you would like a copy of the SRO Privacy Policy please refer to
SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
copy.


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