You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by John Casey <jd...@commonjava.org> on 2008/03/19 22:41:26 UTC

Please Comment: Maven 2.1 Plugin and Extension Loading Documentation

Hi everyone,

As I think I promised last week, I've written up some documentation  
for the plugin- and extension-loading refactor I did in trunk last  
fall. It's here:

http://docs.codehaus.org/display/MAVEN/Maven+2.1+Plugin+and+Extension 
+Loading+Design

I'd really appreciate if people could take a few minutes and read  
through that, and give me your feedback.

Thanks,

-john

---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john
rss: http://feeds.feedburner.com/ejlife/john



Re: Compiler plugin picks up source from jars in classpath

Posted by Benjamin Bentmann <be...@udo.edu>.
> I found that one of my dependencies bundles some source in the jar... the
> compiler plugin compiles it and it ends up in my artifact. Has anyone see
> this before?

This could be unrelated to the plugin but be a general issue with javac. If 
you read its tech docs [0], you notice that it reads source files from the 
class path as well and by default, also compiles them.

I didn't try it out, but the option "-implicit" sounds promising. As some 
last resort, shading the source files by moving them into a sub directory 
such that they cannot be found by type lookup should help.


Benjamin


[0] 
http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html#searching 


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


Compiler plugin picks up source from jars in classpath

Posted by Michael McCallum <gh...@apache.org>.
I found that one of my dependencies bundles some source in the jar... the 
compiler plugin compiles it and it ends up in my artifact. Has anyone see 
this before?


-- 
Michael McCallum
Enterprise Engineer
mailto:gholam@apache.org

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


RE: Please Comment: Maven 2.1 Plugin and Extension Loading Documentation

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
This is a good summary of the current operation. I need to think more on
the 2.1 impl, but this is a good start.

-----Original Message-----
From: John Casey [mailto:jdcasey@commonjava.org] 
Sent: Wednesday, March 19, 2008 5:41 PM
To: Maven Developers List
Subject: Please Comment: Maven 2.1 Plugin and Extension Loading
Documentation

Hi everyone,

As I think I promised last week, I've written up some documentation  
for the plugin- and extension-loading refactor I did in trunk last  
fall. It's here:

http://docs.codehaus.org/display/MAVEN/Maven+2.1+Plugin+and+Extension 
+Loading+Design

I'd really appreciate if people could take a few minutes and read  
through that, and give me your feedback.

Thanks,

-john

---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john
rss: http://feeds.feedburner.com/ejlife/john



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


Re: Please Comment: Maven 2.1 Plugin and Extension Loading Documentation

Posted by Milos Kleint <mk...@gmail.com>.
sorry for late review, but it looks generally ok to me.

Milos

On Wed, Mar 19, 2008 at 10:41 PM, John Casey <jd...@commonjava.org> wrote:
> Hi everyone,
>
>  As I think I promised last week, I've written up some documentation
>  for the plugin- and extension-loading refactor I did in trunk last
>  fall. It's here:
>
>  http://docs.codehaus.org/display/MAVEN/Maven+2.1+Plugin+and+Extension
>  +Loading+Design
>
>  I'd really appreciate if people could take a few minutes and read
>  through that, and give me your feedback.
>
>  Thanks,
>
>  -john
>
>  ---
>  John Casey
>  Committer and PMC Member, Apache Maven
>  mail: jdcasey at commonjava dot org
>  blog: http://www.ejlife.net/blogs/john
>  rss: http://feeds.feedburner.com/ejlife/john
>
>
>

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