Excluding inherited developers

2017-12-08 Thread James Hutton
I have a BOM that someone has added a developers and contributors section
to.   I'd like to leverage some maven reports that include both those
sections however I'd like do exclude the inherited values.  Does anyone
have a suggestion to remove the inherited tag values?   I've tried adding a
blank  and  in an intermediary BOM with no luck.


Thanks,
James


Re: Filtering resources

2016-01-13 Thread James Hutton
You could also look at DefaultMavenResourcesFiltering

for
an example. I think this is still using plexus so you'll have to have the
component.xml iirc that is needed for components.

On Tue, Jan 12, 2016 at 5:33 PM, Baptiste Mathus  wrote:

> In general, though it would surely work too, better avoid using
> maven-antrun-plugin.
> Maven is about standardizing your build process, using antrun is gonna add
> issues with IDEs and so on.
>
> Anyway, what you ask for doesn't seem to me to require custom filtering.
> '@' is a standard delimiter (see
>
> http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters
> ),
> so it should work out of the box.
>
> Just enable filtering on the resources folders you want and you should be
> done.
>
> Cheers
>
>
> 2016-01-12 23:26 GMT+01:00 Matt Benson :
>
> > If you just want to get it done, use the maven-antrun-plugin with Ant
> > filtersets.
> >
> > Matt
> >
> > On Tue, Jan 12, 2016 at 4:14 PM, Thomas Sundberg  wrote:
> > > Hi!
> > >
> > > I need to be able to filter files where the values to replace are
> defind
> > as
> > >
> > > @aPlaceHolderThatNeedToBeSubstituted@
> > >
> > > Does anyone know of a good, working example where a custom resource
> > > filter is implemented?
> > >
> > > I had a look at
> > >
> >
> http://maven.apache.org/plugins/maven-resources-plugin/examples/custom-resource-filters.html
> > > and it is a bit sketchy. A complete, annotated example would be nice
> > > where all details needed to implement this interface
> > > MavenResourcesFiltering are shared.
> > >
> > > A Git repo to clone would be the most awesome tip I can think of.
> > >
> > > Cheers,
> > > Thomas
> > >
> > > --
> > > Thomas Sundberg
> > > M. Sc. in Computer Science
> > >
> > > Mobile: +46 70 767 33 15
> > > Blog: http://thomassundberg.wordpress.com/
> > > Twitter: @thomassundberg
> > >
> > > Better software through faster feedback
> > >
> > > -
> > > 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: Maven Extension automatic deployment

2013-11-18 Thread James Hutton
That's exactly what it looks like.  First extension of maven, and thought
it was behaving differently.

James.
On Nov 18, 2013 9:06 AM, Wayne Fay wayne...@gmail.com wrote:

 My guess is there's a corporate repository set up with snapshots set
 to false. So his Maven install did not find the build extension until
 it was released. We won't know for sure until he provides more
 information.

 Wayne

 On Mon, Nov 18, 2013 at 1:04 AM, Anders Hammar and...@hammar.net wrote:
  Strange, you should file a ticket about this. Please provide a simple
  project to reproduce the issue.
 
  /Anders (mobile)
  Den 18 nov 2013 02:38 skrev James Hutton james.a.hut...@gmail.com:
 
  Yeah, turns out I just needed to release it.  For some reason maven
 wasn't
  downloading the build extension at all when it was a snapshot version.
   After making a release maven pulled down the artifact correctly
 without it
  being preloaded in my maven install or local repository.
 
 
  On Sun, Nov 17, 2013 at 8:21 PM, Russell Gold r...@gold-family.us
 wrote:
 
   Hi James,
  
   There are some things I don’t understand about your scenario. You say
 you
   “temporarily” have a maven build extension. What does that mean? Are
 you
   currently using ant? And using ant tasks for maven to build the maven
   portions? Or now using maven and having it call an old build tool?
 More
   information would help us to help you.
  
   Regards,
   Russ
  
   On Nov 15, 2013, at 1:31 PM, James Hutton james.a.hut...@gmail.com
   wrote:
  
Hi,
I have a project where I need to temporarily have a maven build
  extension
(because we're migrating to maven) and did not know if there is any
 way
   to
get the maven extension artifact to automatically download.  I have
  seen
that if the artifact is in my local repository that it does not
 need to
   be
in my lib/ext folder but if it hasn't already been downloaded maven
   throws
an error that it can't find the artifact.  Are there any options or
   steps I
can document that would prevent me from having to get the artifact
   deployed
into all of my maven installations or local repositories?  I saw
 some
documentation on the Eclipse Tycho project that they seem to
 believe it
should automatically download, but it did not for me (I think there
 is
  a
proxy issue).  My extension is still in a snapshot state, could it
 be
   that
if I made a release it would automatically download?
   
Thanks,
James
  
   -
   Author, Getting Started with Apache Maven 
   http://www.packtpub.com/getting-started-with-apache-maven/video
  
   Come read my webnovel, Take a Lemon http://www.takealemon.com,
   and listen to the Misfile radio play 
   http://www.fuzzyfacetheater.com/misfile/!
  
  
  
  
  
  
  
  
 

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




Maven Extension automatic deployment

2013-11-17 Thread James Hutton
Hi,
I have a project where I need to temporarily have a maven build extension
(because we're migrating to maven) and did not know if there is any way to
get the maven extension artifact to automatically download.  I have seen
that if the artifact is in my local repository that it does not need to be
in my lib/ext folder but if it hasn't already been downloaded maven throws
an error that it can't find the artifact.  Are there any options or steps I
can document that would prevent me from having to get the artifact deployed
into all of my maven installations or local repositories?  I saw some
documentation on the Eclipse Tycho project that they seem to believe it
should automatically download, but it did not for me (I think there is a
proxy issue).  My extension is still in a snapshot state, could it be that
if I made a release it would automatically download?

Thanks,
James


Re: Maven Extension automatic deployment

2013-11-17 Thread James Hutton
Yeah, turns out I just needed to release it.  For some reason maven wasn't
downloading the build extension at all when it was a snapshot version.
 After making a release maven pulled down the artifact correctly without it
being preloaded in my maven install or local repository.


On Sun, Nov 17, 2013 at 8:21 PM, Russell Gold r...@gold-family.us wrote:

 Hi James,

 There are some things I don’t understand about your scenario. You say you
 “temporarily” have a maven build extension. What does that mean? Are you
 currently using ant? And using ant tasks for maven to build the maven
 portions? Or now using maven and having it call an old build tool? More
 information would help us to help you.

 Regards,
 Russ

 On Nov 15, 2013, at 1:31 PM, James Hutton james.a.hut...@gmail.com
 wrote:

  Hi,
  I have a project where I need to temporarily have a maven build extension
  (because we're migrating to maven) and did not know if there is any way
 to
  get the maven extension artifact to automatically download.  I have seen
  that if the artifact is in my local repository that it does not need to
 be
  in my lib/ext folder but if it hasn't already been downloaded maven
 throws
  an error that it can't find the artifact.  Are there any options or
 steps I
  can document that would prevent me from having to get the artifact
 deployed
  into all of my maven installations or local repositories?  I saw some
  documentation on the Eclipse Tycho project that they seem to believe it
  should automatically download, but it did not for me (I think there is a
  proxy issue).  My extension is still in a snapshot state, could it be
 that
  if I made a release it would automatically download?
 
  Thanks,
  James

 -
 Author, Getting Started with Apache Maven 
 http://www.packtpub.com/getting-started-with-apache-maven/video

 Come read my webnovel, Take a Lemon http://www.takealemon.com,
 and listen to the Misfile radio play 
 http://www.fuzzyfacetheater.com/misfile/!