Re: How do I skip site-generation for modules?

2018-11-08 Thread Manfred Moser
You can use the skip parameter in the individual modules..

https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#skip

That said ... I think since you want some resources from the you are better off 
NOT skipping but instead just making it work for the multi module setup.

You just need to fix up naming of folder and artifact id and a few paths. Its 
definitely possible to do this.. 

Manfred

Russell Gold wrote on 2018-11-08 11:11:

> And at the same time, I would like to copy to the site directory some files
> that were generated during the build (and are now in one of the module jars). 
> 
>> On Nov 8, 2018, at 1:31 PM, Russell Gold  wrote:
>> 
>> I want to generate a site for my multi-module project only from the 
>> top-level.
>> How do I tell maven to skip running the site plugin on each module?
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


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



Re: How do I skip site-generation for modules?

2018-11-08 Thread jieryn
configure m-site-p:site:skip via property, then in parent set to
false, and children set to true

https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#skip

or create a separate module called docs or site or something, and only
produce the site in that module
On Thu, Nov 8, 2018 at 2:18 PM Russell Gold  wrote:
>
> And at the same time, I would like to copy to the site directory some files 
> that were generated during the build (and are now in one of the module jars).
>
> > On Nov 8, 2018, at 1:31 PM, Russell Gold  wrote:
> >
> > I want to generate a site for my multi-module project only from the 
> > top-level. How do I tell maven to skip running the site plugin on each 
> > module?
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

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



Re: Plugin parameter for project class path?

2018-11-08 Thread Russell Gold
Thanks, that was the problem :)

> On Nov 7, 2018, at 3:48 PM, Robert Scholte  wrote:
> 
> Did you specify the requiresDependencyResolution of the @Mojo?
> 
> Robert
> 
> [1] 
> https://maven.apache.org/plugin-tools/maven-plugin-tools-annotations/index.html#Supported_Annotations
> On Tue, 06 Nov 2018 21:24:03 +0100, Russell Gold  
> wrote:
> 
>> I am writing a plugin which does post-processing on some classes compiled in 
>> the build, so I have defined a parameter that I would like Maven to fill in 
>> with the appropriate list of dependencies, but I am clearly misunderstanding 
>> how to do that. Here is what I have:
>> 
>> 
>>>  @Parameter(defaultValue = "${project.compileClasspathElements}", readonly 
>>> = true, required = true)
>>>  private List compileClasspathElements;
>> 
>> But when the plugin executes, that is being set to the directory in which 
>> compiled classes are places. (target/classes).
>> 
>> What is the correct way to do this, and how should I have figured it out?
>> 
>> Thanks,
>> Russ
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


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



Re: How do I skip site-generation for modules?

2018-11-08 Thread Russell Gold
And at the same time, I would like to copy to the site directory some files 
that were generated during the build (and are now in one of the module jars). 

> On Nov 8, 2018, at 1:31 PM, Russell Gold  wrote:
> 
> I want to generate a site for my multi-module project only from the 
> top-level. How do I tell maven to skip running the site plugin on each module?


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



How do I skip site-generation for modules?

2018-11-08 Thread Russell Gold
I want to generate a site for my multi-module project only from the top-level. 
How do I tell maven to skip running the site plugin on each module?
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



[ANN] Apache Maven Surefire Plugin 3.0.0-M1 Released

2018-11-08 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache
Maven Surefire Plugin, version 3.0.0-M1

The release contains 5 bug fixes.
Again we received contributions from the community in form of bug reports
and bug fixes.
Thank you and keep them coming!

http://maven.apache.org/plugins/maven-surefire-plugin/

You should specify the version in your project's plugin configuration:


  org.apache.maven.plugins
  maven-surefire-plugin
  3.0.0-M1


or for failsafe:


  org.apache.maven.plugins
  maven-failsafe-plugin
  3.0.0-M1


or for surefire-report:


  org.apache.maven.plugins
  maven-surefire-report-plugin
  3.0.0-M1



You can download the appropriate sources etc. from the download page:
https://maven.apache.org/surefire/download.cgi

Release Notes - Maven Surefire - Version 3.0.0-M1

Bug

[SUREFIRE-1466] - Surefire fails on a dummy:dummy dependency with a
authenticating proxy
[SUREFIRE-1588] - Surefire manifest jar classloading broken on latest
Debian/Ubuntu Java8

New Feature

[SUREFIRE-1493] - Maven Plugin API 3.0

Improvement

[SUREFIRE-1212] - @Component is deprecated. @Parameter should be used
instead.
[SUREFIRE-1474] - Java 1.7 as minimum

Enjoy,
-The Apache Maven team