On Fri 3 Nov 2017 at 16:18, MAISONOBE Luc wrote:
>
> Hervé BOUTEMY a écrit :
>
> > yes, really ugly :)
> >
> > usual with Maven when you're trying to do by configuration something
> > that would
> > best be served with a supported feature, that
Hervé BOUTEMY a écrit :
yes, really ugly :)
usual with Maven when you're trying to do by configuration something
that would
best be served with a supported feature, that defines the associated
convention
that's why I told at the beginning that perhaps it deserved
Thomas Broyer a écrit :
maven-assembly-plugin would likely be less ugly. Have you tried that?
Great idea!
I tried that and it worked. I still had to do some tricky customisation:
- use build-helper plugin to declare the assembly as an artifact
of type source-jar
-
yes, really ugly :)
usual with Maven when you're trying to do by configuration something that would
best be served with a supported feature, that defines the associated convention
that's why I told at the beginning that perhaps it deserved a new feature in
maven-source-plugin
something like
maven-assembly-plugin would likely be less ugly. Have you tried that?
Le jeu. 2 nov. 2017 22:26, MAISONOBE Luc a écrit :
> Hi,
>
> MAISONOBE Luc a écrit :
>
> > Hervé BOUTEMY a écrit :
> >
> >> Hi,
> >
> > Hi Hervé,
> >
> >>
>
Hi,
MAISONOBE Luc a écrit :
Hervé BOUTEMY a écrit :
Hi,
Hi Hervé,
AFAIK, reading the plugin source code, there is no feature to add files that
are not in compile source root: this will require a new feature.
Did you try adding a secondary
Hervé BOUTEMY a écrit :
Hi,
Hi Hervé,
AFAIK, reading the plugin source code, there is no feature to add files that
are not in compile source root: this will require a new feature.
Did you try adding a secondary source root, using build-helper:add-source?
I just
Hi,
AFAIK, reading the plugin source code, there is no feature to add files that
are not in compile source root: this will require a new feature.
Did you try adding a secondary source root, using build-helper:add-source?
Regards,
Hervé
Le jeudi 2 novembre 2017, 11:54:58 CET Luc Maisonobe a
Hi all,
I am using maven-souce-plugin in a profile, in order to generate the
sources jar. As this sources jar is in a sense a source distribution
(even if it is intended only for IDE completion use), it should
include the LICENSE.txt and NOTICE.txt files that are present at
the top level of the