You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dave Maung <da...@gmail.com> on 2006/01/29 04:52:19 UTC
source inclusion and exclusion out of the box in maven
Is there way to include and exclude java source out of the box in maven
instead of using maven-compiler-plugin?
<build>
<sourceDirectory>../main/src/java</sourceDirectory>
<includes>
<include>eee.java</include>
</includes>
Dave
Re: source inclusion and exclusion out of the box in maven
Posted by Brett Porter <br...@apache.org>.
Dave,
Please don't send these questions to the developer list - they belong on
the users list, which you have also posted to. Cross posting is a big no-no.
Thanks,
- Brett
Dave Maung wrote:
> I meant in Maven2
>
> On 1/28/06, Dave Maung <da...@gmail.com> wrote:
>> Is there way to include and exclude java source out of the box in maven
>> instead of using maven-compiler-plugin?
>>
>> <build>
>> <sourceDirectory>../main/src/java</sourceDirectory>
>> <includes>
>> <include>eee.java</include>
>> </includes>
>> Dave
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: source inclusion and exclusion out of the box in maven
Posted by Dave Maung <da...@gmail.com>.
I meant in Maven2
On 1/28/06, Dave Maung <da...@gmail.com> wrote:
>
> Is there way to include and exclude java source out of the box in maven
> instead of using maven-compiler-plugin?
>
> <build>
> <sourceDirectory>../main/src/java</sourceDirectory>
> <includes>
> <include>eee.java</include>
> </includes>
> Dave
>
Re: source inclusion and exclusion out of the box in maven
Posted by Dave Maung <da...@gmail.com>.
I meant in Maven2
On 1/28/06, Dave Maung <da...@gmail.com> wrote:
>
> Is there way to include and exclude java source out of the box in maven
> instead of using maven-compiler-plugin?
>
> <build>
> <sourceDirectory>../main/src/java</sourceDirectory>
> <includes>
> <include>eee.java</include>
> </includes>
> Dave
>
Re: source inclusion and exclusion out of the box in maven
Posted by Dave Maung <da...@gmail.com>.
no. Javadoc inclusion source code is not the thing I was asking. I was
asking about something maven can compile java source code in a customized
way out of the box, basically do the similar thing as maven-compiler.
probably, there isn't one and that is why maven compiler plugin exist.
On 1/30/06, Kees de Kooter <kd...@gmail.com> wrote:
>
> Dave, see the "Source attachment and javadoc location" thread.
>
> <quote>
> If the sources are available in repository, plugin will download and
> install it so you can browse it without doing anything manually.
> Unfortunately, not all projects have sources packaged with them on
> ibiblio as far as I know.
> It works, for example, for junit.
> </quote>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: source inclusion and exclusion out of the box in maven
Posted by Kees de Kooter <kd...@gmail.com>.
Sorry, that is on a different mailing list.
On 1/30/06, Kees de Kooter <kd...@gmail.com> wrote:
> Dave, see the "Source attachment and javadoc location" thread.
>
> <quote>
> If the sources are available in repository, plugin will download and
> install it so you can browse it without doing anything manually.
> Unfortunately, not all projects have sources packaged with them on
> ibiblio as far as I know.
> It works, for example, for junit.
> </quote>
>
--
Kees de Kooter
Boplicity Software
tel +31 10 2427171
web http://www.boplicity.nl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: source inclusion and exclusion out of the box in maven
Posted by Kees de Kooter <kd...@gmail.com>.
Dave, see the "Source attachment and javadoc location" thread.
<quote>
If the sources are available in repository, plugin will download and
install it so you can browse it without doing anything manually.
Unfortunately, not all projects have sources packaged with them on
ibiblio as far as I know.
It works, for example, for junit.
</quote>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: source inclusion and exclusion out of the box in maven
Posted by Dave Maung <da...@gmail.com>.
anybody know?
On 1/28/06, Dave Maung <da...@gmail.com> wrote:
>
> Is there way to include and exclude java source out of the box in maven 2
> instead of using maven-compiler-plugin?
> something like?
> <build>
> <sourceDirectory>../main/src/java</sourceDirectory>
> <sourceIncludes>
> <include>custom.java</include>
> </sourceIncludes>
</build>
Dave
>