example of a very simple reporting plugin?

2014-04-19 Thread org.apache.maven.user
'Lo.

Is there an example out there (or some documentation) of how to write a
simple reporting plugin for Maven 3.2.1?

I have the following:

http://waste.io7m.com/2014/04/19/NullReport.java

Which results in a file called null.html using the current site skin,
the main content of which just contains the word Nothing. However,
I've no idea how to set a page title.

It's not clear why I'm required to override the methods such as
getSiteRenderer() as they're obviously never called and are
undocumented.

I've only been able to find the following online:

  http://docs.codehaus.org/display/MAVENUSER/Write+your+own+report+plugin

... which is so vague as to be almost useless. For example: For a
relatively straightforward report, you can take advantage of
AbstractMavenReportRenderer. How can I take advantage of it?

I've tried to pick through the standard Maven plugins, but there are so
many layers of indirection and inheritance that it's almost inscrutable.

Anyone got any ideas?

M

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



Re: Unpacking a zip file from the source tree

2014-04-19 Thread org.apache.maven.user
On Fri, 18 Apr 2014 13:49:50 +0200
Baptiste Mathus bmat...@batmat.net wrote:

 May maven-remote-resources-plugin be helping?

Thanks, will keep that in mind. Finally got the TrueZip plugin to work
(it silently fails upon receiving incorrect parameters).

M

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



Re: Unpacking a zip file from the source tree

2014-04-19 Thread Dan Tran
Hi,

Could you file a Jira case against truezip-m-p with a producible pom?

Thanks

-D


On Sat, Apr 19, 2014 at 5:14 AM, org.apache.maven.u...@io7m.com wrote:

 On Fri, 18 Apr 2014 13:49:50 +0200
 Baptiste Mathus bmat...@batmat.net wrote:

  May maven-remote-resources-plugin be helping?

 Thanks, will keep that in mind. Finally got the TrueZip plugin to work
 (it silently fails upon receiving incorrect parameters).

 M

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




Re: Unpacking a zip file from the source tree

2014-04-19 Thread org.apache.maven.user
On Sat, 19 Apr 2014 09:36:13 -0700
Dan Tran dant...@gmail.com wrote:

 Hi,
 
 Could you file a Jira case against truezip-m-p with a producible pom?

'Lo.

I can't seem to find the registration link to allow me to post issues on
the Truezip Jira. The login prompt says To request an account, please
contact your JIRA administrators...

M

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



Re: Unpacking a zip file from the source tree

2014-04-19 Thread Baptiste Mathus
There's an ongoing issue at The Codehaus about login/account creation
complexity. IIUC this was done after some heavy spamming attack.
Anyway, to create an account go to http://xircles.codehaus.org/ and with
that account you'll be able to access and create issues in jira.codehaus.org
.

Cheers


2014-04-19 20:22 GMT+02:00 org.apache.maven.u...@io7m.com:


 On Sat, 19 Apr 2014 09:36:13 -0700
 Dan Tran dant...@gmail.com wrote:

  Hi,
 
  Could you file a Jira case against truezip-m-p with a producible pom?

 'Lo.

 I can't seem to find the registration link to allow me to post issues on
 the Truezip Jira. The login prompt says To request an account, please
 contact your JIRA administrators...

 M

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




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !