dev@glassfish.java.net

Re: maven2 directory layout questions

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 13 Nov 2007 15:16:10 -0800

On Nov 13, 2007, at 2:45 PM, Bill Shannon wrote:

> Wayne Fay wrote:
>> You should really send these questions to the Maven User list,
>> Bill...
>> People (like myself) who know "a lot" about Maven on that list would
>> be happy to help.
>
> I guess I was assuming most of my questions were more about how we're
> using maven with glassfish, rather than general how to use maven
> questions.
>
>> 1. A "doc" directory is fine. But more generally these things go in
>> src/main/resources. It really depends on what you hope to do with
>> them.
>
> I hope to include them in a doc directory in a zip file I will create
> for the JavaMail release.
>
> I thought src/main/resources was for things that would (more or less)
> appear directly in the jar file being created.
>
>> 2. Ideally they need to be moved to src/main/resources. You can
>> configure things so that you can leave them in src/main/java, but it
>> starts getting messy.
>
> You're kidding, right? I can't keep the package.html part of my
> javadocs next to the *.java part of my javadocs? Yuck!
no you must not do that, all javadoc related stuff stays in src/main/
java

you can actually go to v3/api/mail and do
mvn javadoc:javadoc and you will see your generated javadocs in target/
site/apidocs

>
>
> Again, these aren't things that appear in the jar file. I guess
> I don't understand what all is supposed to be in src/main/resources...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>