You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2014/04/27 11:37:58 UTC
http://jira.codehaus.org/browse/MNGSITE-152
Hi,
Currently i've taken a deep look into the above issue..
Currently i can provide a temporarily solution like adding the links to
the site for all plugins like this:
--- maven-shade-plugin/src/site/site.xml (revision 1590367)
+++ maven-shade-plugin/src/site/site.xml (working copy)
@@ -28,6 +28,9 @@
<item name="Goals" href="plugin-info.html"/>
<item name="Usage" href="usage.html"/>
<item name="FAQ" href="faq.html"/>
+ <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
+ <item name="License" href="http://www.apache.org/licenses/"/>
+ <item name="Download"
href="https://dist.apache.org/repos/dist/release/maven/plugins/${project.artifactId}-${project.version}-source-release.zip
"/>
</menu>
<menu name="Examples">
<item name="Selecting Contents for Uber JAR"
href="examples/includes-excludes.html"/>
Do we have a better solution for this kind of thing? What do you think?
Kind regards
Karl-Heinz Marbaise
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Hervé BOUTEMY <he...@free.fr>.
I added a download.html page to use mirror and explain the download as source
"if you intend to build"
the big drawback I see is that we will have to copy/paste 2 files to each
component site, with a few modification (directory in dist)
any feedback appreciated
Regards,
Hervé
Le dimanche 4 mai 2014 18:59:23 Hervé BOUTEMY a écrit :
> I tested it on maven-scm-publish-plugin, since it is quite little and I'll
> intend to make a release in a week or so
>
> you can see the result here [1]
> of course, the download link doesn't work because it is a non-released
> SNAPSHOT
>
> As expected, seing it in a generated site gave me my first improvement idea:
> do no link to svn but to http site
>
> Other ideas:
> - perhaps we should disable MPIR license report (Project License)
> - there is not use of mirrors, which is asked in [2]: I don't know if it is
> a real problem, since I don't think much people will download it, or
> perhaps users that don't understand that they are downloading source
>
> Any other thoughts?
>
> Regards,
>
> Hervé
>
> [1]
> http://maven.apache.org/plugins-archives/maven-scm-publish-plugin-LATEST/
>
> [2] http://www.apache.org/dist/
>
> Le dimanche 27 avril 2014 14:36:30 Karl Heinz Marbaise a écrit :
> > Hi,
> >
> > > Hi,
> > >
> > > this can even be added in plugin parent pom, to avoid copy/paste in
> > > every
> > > plugin
> >
> > Would be great...
> >
> > > did you try to commit such a change and deploy the site to show the
> > > result?
> >
> > No i didn't yet....
> >
> > Kind regards
> > Karl-Heinz
> >
> > > Regards,
> > >
> > > Hervé
> > >
> > > Le dimanche 27 avril 2014 11:37:58 Karl Heinz Marbaise a écrit :
> > >> Hi,
> > >>
> > >> Currently i've taken a deep look into the above issue..
> > >>
> > >> Currently i can provide a temporarily solution like adding the links to
> > >> the site for all plugins like this:
> > >>
> > >>
> > >> --- maven-shade-plugin/src/site/site.xml (revision 1590367)
> > >> +++ maven-shade-plugin/src/site/site.xml (working copy)
> > >> @@ -28,6 +28,9 @@
> > >>
> > >> <item name="Goals" href="plugin-info.html"/>
> > >> <item name="Usage" href="usage.html"/>
> > >> <item name="FAQ" href="faq.html"/>
> > >>
> > >> + <!-- According to http://jira.codehaus.org/browse/MNGSITE-152
> > >> -->
> > >> + <item name="License" href="http://www.apache.org/licenses/"/>
> > >> + <item name="Download"
> > >> href="https://dist.apache.org/repos/dist/release/maven/plugins/${projec
> > >> t.
> > >> art ifactId}-${project.version}-source-release.zip "/>
> > >>
> > >> </menu>
> > >> <menu name="Examples">
> > >>
> > >> <item name="Selecting Contents for Uber JAR"
> > >>
> > >> href="examples/includes-excludes.html"/>
> > >>
> > >>
> > >> Do we have a better solution for this kind of thing? What do you think?
> > >>
> > >> Kind regards
> > >> Karl-Heinz Marbaise
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > >> For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> >
> > Mit freundlichem Gruß
> > Karl-Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Hervé BOUTEMY <he...@free.fr>.
Hi Karl Heinz,
Don't hesitate to experiment: that's the purpose of actual discussion
We need to find *our* solution before we make the change in each and every
Maven subproject: they are ~100, so we need to carefuly make our choice before
deploying the solution
Regards,
Hervé
Le dimanche 11 mai 2014 13:38:19 Karl Heinz Marbaise a écrit :
> Hi Hervé
>
> based on the comment of SebbASF i have prepared a change for all maven
> plugins to go with this solution....
>
> If you have no objections i would commit this change...
>
> Kind regards
> Karl-Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Hervé
based on the comment of SebbASF i have prepared a change for all maven
plugins to go with this solution....
If you have no objections i would commit this change...
Kind regards
Karl-Heinz Marbaise
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Hervé,
> I tested it on maven-scm-publish-plugin, since it is quite little and
I'll
> intend to make a release in a week or so
>
> you can see the result here [1]
> of course, the download link doesn't work because it is a non-released
> SNAPSHOT
Yeah but the result looks great...
>
> As expected, seing it in a generated site gave me my first improvement idea: do
> no link to svn but to http site
Hm...you are talking about the usual linke in source-repository.html ?
>
> Other ideas:
> - perhaps we should disable MPIR license report (Project License)
We should think of ...
> - there is not use of mirrors, which is asked in [2]: I don't know if it is a
> real problem, since I don't think much people will download it, or perhaps
> users that don't understand that they are downloading source
But currently the download.cgi is used for the download link...looks ok
to me...
Kind regards
Karl-Heinz Marbaise
>
> Any other thoughts?
>
> Regards,
>
> Hervé
>
> [1] http://maven.apache.org/plugins-archives/maven-scm-publish-plugin-LATEST/
>
> [2] http://www.apache.org/dist/
>
> Le dimanche 27 avril 2014 14:36:30 Karl Heinz Marbaise a écrit :
>> Hi,
>>
>> > Hi,
>>>
>>> this can even be added in plugin parent pom, to avoid copy/paste in every
>>> plugin
>>
>> Would be great...
>>
>>> did you try to commit such a change and deploy the site to show the
>>> result?
>>
>> No i didn't yet....
>>
>> Kind regards
>> Karl-Heinz
>>
>>> Regards,
>>>
>>> Hervé
>>>
>>> Le dimanche 27 avril 2014 11:37:58 Karl Heinz Marbaise a écrit :
>>>> Hi,
>>>>
>>>> Currently i've taken a deep look into the above issue..
>>>>
>>>> Currently i can provide a temporarily solution like adding the links to
>>>> the site for all plugins like this:
>>>>
>>>>
>>>> --- maven-shade-plugin/src/site/site.xml (revision 1590367)
>>>> +++ maven-shade-plugin/src/site/site.xml (working copy)
>>>> @@ -28,6 +28,9 @@
>>>>
>>>> <item name="Goals" href="plugin-info.html"/>
>>>> <item name="Usage" href="usage.html"/>
>>>> <item name="FAQ" href="faq.html"/>
>>>>
>>>> + <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
>>>> + <item name="License" href="http://www.apache.org/licenses/"/>
>>>> + <item name="Download"
>>>> href="https://dist.apache.org/repos/dist/release/maven/plugins/${project.
>>>> art ifactId}-${project.version}-source-release.zip "/>
>>>>
>>>> </menu>
>>>> <menu name="Examples">
>>>>
>>>> <item name="Selecting Contents for Uber JAR"
>>>>
>>>> href="examples/includes-excludes.html"/>
>>>>
>>>>
>>>> Do we have a better solution for this kind of thing? What do you think?
>>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Hervé,
> I tested it on maven-scm-publish-plugin, since it is quite little and
I'll
> intend to make a release in a week or so
>
> you can see the result here [1]
> of course, the download link doesn't work because it is a non-released
> SNAPSHOT
Yeah but the result looks great...
>
> As expected, seing it in a generated site gave me my first improvement idea: do
> no link to svn but to http site
Hm...you are talking about the usual linke in source-repository.html ?
>
> Other ideas:
> - perhaps we should disable MPIR license report (Project License)
We should think of ...
> - there is not use of mirrors, which is asked in [2]: I don't know if it is a
> real problem, since I don't think much people will download it, or perhaps
> users that don't understand that they are downloading source
But currently the download.cgi is used for the download link...looks ok
to me...
Kind regards
Karl-Heinz Marbaise
>
> Any other thoughts?
>
> Regards,
>
> Hervé
>
> [1] http://maven.apache.org/plugins-archives/maven-scm-publish-plugin-LATEST/
>
> [2] http://www.apache.org/dist/
>
> Le dimanche 27 avril 2014 14:36:30 Karl Heinz Marbaise a écrit :
>> Hi,
>>
>> > Hi,
>>>
>>> this can even be added in plugin parent pom, to avoid copy/paste in every
>>> plugin
>>
>> Would be great...
>>
>>> did you try to commit such a change and deploy the site to show the
>>> result?
>>
>> No i didn't yet....
>>
>> Kind regards
>> Karl-Heinz
>>
>>> Regards,
>>>
>>> Hervé
>>>
>>> Le dimanche 27 avril 2014 11:37:58 Karl Heinz Marbaise a écrit :
>>>> Hi,
>>>>
>>>> Currently i've taken a deep look into the above issue..
>>>>
>>>> Currently i can provide a temporarily solution like adding the links to
>>>> the site for all plugins like this:
>>>>
>>>>
>>>> --- maven-shade-plugin/src/site/site.xml (revision 1590367)
>>>> +++ maven-shade-plugin/src/site/site.xml (working copy)
>>>> @@ -28,6 +28,9 @@
>>>>
>>>> <item name="Goals" href="plugin-info.html"/>
>>>> <item name="Usage" href="usage.html"/>
>>>> <item name="FAQ" href="faq.html"/>
>>>>
>>>> + <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
>>>> + <item name="License" href="http://www.apache.org/licenses/"/>
>>>> + <item name="Download"
>>>> href="https://dist.apache.org/repos/dist/release/maven/plugins/${project.
>>>> art ifactId}-${project.version}-source-release.zip "/>
>>>>
>>>> </menu>
>>>> <menu name="Examples">
>>>>
>>>> <item name="Selecting Contents for Uber JAR"
>>>>
>>>> href="examples/includes-excludes.html"/>
>>>>
>>>>
>>>> Do we have a better solution for this kind of thing? What do you think?
>>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Hervé
based on the comment of SebbASF i have prepared a change for all maven
plugins to go with this solution....
If you have no objections i can commit this change...
Kind regards
Karl-Heinz Marbaise
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Hervé,
> I tested it on maven-scm-publish-plugin, since it is quite little and
I'll
> intend to make a release in a week or so
>
> you can see the result here [1]
> of course, the download link doesn't work because it is a non-released
> SNAPSHOT
Yeah but the result looks great...
>
> As expected, seing it in a generated site gave me my first improvement idea: do
> no link to svn but to http site
Hm...you are talking about the usual linke in source-repository.html ?
>
> Other ideas:
> - perhaps we should disable MPIR license report (Project License)
We should think of ...
> - there is not use of mirrors, which is asked in [2]: I don't know if it is a
> real problem, since I don't think much people will download it, or perhaps
> users that don't understand that they are downloading source
But currently the download.cgi is used for the download link...looks ok
to me...
Kind regards
Karl-Heinz Marbaise
>
> Any other thoughts?
>
> Regards,
>
> Hervé
>
> [1] http://maven.apache.org/plugins-archives/maven-scm-publish-plugin-LATEST/
>
> [2] http://www.apache.org/dist/
>
> Le dimanche 27 avril 2014 14:36:30 Karl Heinz Marbaise a écrit :
>> Hi,
>>
>> > Hi,
>>>
>>> this can even be added in plugin parent pom, to avoid copy/paste in every
>>> plugin
>>
>> Would be great...
>>
>>> did you try to commit such a change and deploy the site to show the
>>> result?
>>
>> No i didn't yet....
>>
>> Kind regards
>> Karl-Heinz
>>
>>> Regards,
>>>
>>> Hervé
>>>
>>> Le dimanche 27 avril 2014 11:37:58 Karl Heinz Marbaise a écrit :
>>>> Hi,
>>>>
>>>> Currently i've taken a deep look into the above issue..
>>>>
>>>> Currently i can provide a temporarily solution like adding the links to
>>>> the site for all plugins like this:
>>>>
>>>>
>>>> --- maven-shade-plugin/src/site/site.xml (revision 1590367)
>>>> +++ maven-shade-plugin/src/site/site.xml (working copy)
>>>> @@ -28,6 +28,9 @@
>>>>
>>>> <item name="Goals" href="plugin-info.html"/>
>>>> <item name="Usage" href="usage.html"/>
>>>> <item name="FAQ" href="faq.html"/>
>>>>
>>>> + <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
>>>> + <item name="License" href="http://www.apache.org/licenses/"/>
>>>> + <item name="Download"
>>>> href="https://dist.apache.org/repos/dist/release/maven/plugins/${project.
>>>> art ifactId}-${project.version}-source-release.zip "/>
>>>>
>>>> </menu>
>>>> <menu name="Examples">
>>>>
>>>> <item name="Selecting Contents for Uber JAR"
>>>>
>>>> href="examples/includes-excludes.html"/>
>>>>
>>>>
>>>> Do we have a better solution for this kind of thing? What do you think?
>>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Hervé BOUTEMY <he...@free.fr>.
I tested it on maven-scm-publish-plugin, since it is quite little and I'll
intend to make a release in a week or so
you can see the result here [1]
of course, the download link doesn't work because it is a non-released
SNAPSHOT
As expected, seing it in a generated site gave me my first improvement idea: do
no link to svn but to http site
Other ideas:
- perhaps we should disable MPIR license report (Project License)
- there is not use of mirrors, which is asked in [2]: I don't know if it is a
real problem, since I don't think much people will download it, or perhaps
users that don't understand that they are downloading source
Any other thoughts?
Regards,
Hervé
[1] http://maven.apache.org/plugins-archives/maven-scm-publish-plugin-LATEST/
[2] http://www.apache.org/dist/
Le dimanche 27 avril 2014 14:36:30 Karl Heinz Marbaise a écrit :
> Hi,
>
> > Hi,
> >
> > this can even be added in plugin parent pom, to avoid copy/paste in every
> > plugin
>
> Would be great...
>
> > did you try to commit such a change and deploy the site to show the
> > result?
>
> No i didn't yet....
>
> Kind regards
> Karl-Heinz
>
> > Regards,
> >
> > Hervé
> >
> > Le dimanche 27 avril 2014 11:37:58 Karl Heinz Marbaise a écrit :
> >> Hi,
> >>
> >> Currently i've taken a deep look into the above issue..
> >>
> >> Currently i can provide a temporarily solution like adding the links to
> >> the site for all plugins like this:
> >>
> >>
> >> --- maven-shade-plugin/src/site/site.xml (revision 1590367)
> >> +++ maven-shade-plugin/src/site/site.xml (working copy)
> >> @@ -28,6 +28,9 @@
> >>
> >> <item name="Goals" href="plugin-info.html"/>
> >> <item name="Usage" href="usage.html"/>
> >> <item name="FAQ" href="faq.html"/>
> >>
> >> + <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
> >> + <item name="License" href="http://www.apache.org/licenses/"/>
> >> + <item name="Download"
> >> href="https://dist.apache.org/repos/dist/release/maven/plugins/${project.
> >> art ifactId}-${project.version}-source-release.zip "/>
> >>
> >> </menu>
> >> <menu name="Examples">
> >>
> >> <item name="Selecting Contents for Uber JAR"
> >>
> >> href="examples/includes-excludes.html"/>
> >>
> >>
> >> Do we have a better solution for this kind of thing? What do you think?
> >>
> >> Kind regards
> >> Karl-Heinz Marbaise
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
>
> Mit freundlichem Gruß
> Karl-Heinz Marbaise
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,
> Hi,
>
> this can even be added in plugin parent pom, to avoid copy/paste in every
> plugin
Would be great...
>
> did you try to commit such a change and deploy the site to show the result?
No i didn't yet....
Kind regards
Karl-Heinz
>
> Regards,
>
> Hervé
>
> Le dimanche 27 avril 2014 11:37:58 Karl Heinz Marbaise a écrit :
>> Hi,
>>
>> Currently i've taken a deep look into the above issue..
>>
>> Currently i can provide a temporarily solution like adding the links to
>> the site for all plugins like this:
>>
>>
>> --- maven-shade-plugin/src/site/site.xml (revision 1590367)
>> +++ maven-shade-plugin/src/site/site.xml (working copy)
>> @@ -28,6 +28,9 @@
>> <item name="Goals" href="plugin-info.html"/>
>> <item name="Usage" href="usage.html"/>
>> <item name="FAQ" href="faq.html"/>
>> + <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
>> + <item name="License" href="http://www.apache.org/licenses/"/>
>> + <item name="Download"
>> href="https://dist.apache.org/repos/dist/release/maven/plugins/${project.art
>> ifactId}-${project.version}-source-release.zip "/>
>> </menu>
>> <menu name="Examples">
>> <item name="Selecting Contents for Uber JAR"
>> href="examples/includes-excludes.html"/>
>>
>>
>> Do we have a better solution for this kind of thing? What do you think?
>>
>> Kind regards
>> Karl-Heinz Marbaise
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Mit freundlichem Gruß
Karl-Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz Marbaise ICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen http://www.soebes.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: http://jira.codehaus.org/browse/MNGSITE-152
Posted by Hervé BOUTEMY <he...@free.fr>.
Hi,
this can even be added in plugin parent pom, to avoid copy/paste in every
plugin
did you try to commit such a change and deploy the site to show the result?
Regards,
Hervé
Le dimanche 27 avril 2014 11:37:58 Karl Heinz Marbaise a écrit :
> Hi,
>
> Currently i've taken a deep look into the above issue..
>
> Currently i can provide a temporarily solution like adding the links to
> the site for all plugins like this:
>
>
> --- maven-shade-plugin/src/site/site.xml (revision 1590367)
> +++ maven-shade-plugin/src/site/site.xml (working copy)
> @@ -28,6 +28,9 @@
> <item name="Goals" href="plugin-info.html"/>
> <item name="Usage" href="usage.html"/>
> <item name="FAQ" href="faq.html"/>
> + <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
> + <item name="License" href="http://www.apache.org/licenses/"/>
> + <item name="Download"
> href="https://dist.apache.org/repos/dist/release/maven/plugins/${project.art
> ifactId}-${project.version}-source-release.zip "/>
> </menu>
> <menu name="Examples">
> <item name="Selecting Contents for Uber JAR"
> href="examples/includes-excludes.html"/>
>
>
> Do we have a better solution for this kind of thing? What do you think?
>
> Kind regards
> Karl-Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org