Re: Copying resources from another .jar with assembly to build a deb?

2015-11-05 Thread Kevin Burton
I'm trying this plugin:

https://maven.apache.org/plugins/maven-remote-resources-plugin/examples/sharing-resources.html

... and seems to work well!

On Thu, Nov 5, 2015 at 11:29 AM, Wayne Fay  wrote:

> I could be wrong, but I think you are looking for
> maven-dependency-plugin:unpack.
>
> Wayne
>
> On Thu, Nov 5, 2015 at 12:42 PM, Kevin Burton  wrote:
> > I have init scripts and various other scripts I want to share between
> > projects.
> >
> > The MAIN one is our init script for our daemons.
> >
> > so if I have a project I want to depend on artemis-daemon which has our
> > daemon scripts.
> >
> > Then I want to copy some resources from that .jar while building a dpkg
> via
> > jdeb...
> >
> > In the past I've just done a copy ../ and used a parent directory to
> read a
> > module.
> >
> > But I can't do that now since I'm breaking projects apart.
> >
> > Is there an easy way to handle this?
> >
> > --
> >
> > We’re hiring if you know of any awesome Java Devops or Linux Operations
> > Engineers!
> >
> > Founder/CEO Spinn3r.com
> > Location: *San Francisco, CA*
> > blog: http://burtonator.wordpress.com
> > … or check out my Google+ profile
> > 
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 

We’re hiring if you know of any awesome Java Devops or Linux Operations
Engineers!

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile



Re: Copying resources from another .jar with assembly to build a deb?

2015-11-05 Thread Wayne Fay
I could be wrong, but I think you are looking for
maven-dependency-plugin:unpack.

Wayne

On Thu, Nov 5, 2015 at 12:42 PM, Kevin Burton  wrote:
> I have init scripts and various other scripts I want to share between
> projects.
>
> The MAIN one is our init script for our daemons.
>
> so if I have a project I want to depend on artemis-daemon which has our
> daemon scripts.
>
> Then I want to copy some resources from that .jar while building a dpkg via
> jdeb...
>
> In the past I've just done a copy ../ and used a parent directory to read a
> module.
>
> But I can't do that now since I'm breaking projects apart.
>
> Is there an easy way to handle this?
>
> --
>
> We’re hiring if you know of any awesome Java Devops or Linux Operations
> Engineers!
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> 

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



Copying resources from another .jar with assembly to build a deb?

2015-11-05 Thread Kevin Burton
I have init scripts and various other scripts I want to share between
projects.

The MAIN one is our init script for our daemons.

so if I have a project I want to depend on artemis-daemon which has our
daemon scripts.

Then I want to copy some resources from that .jar while building a dpkg via
jdeb...

In the past I've just done a copy ../ and used a parent directory to read a
module.

But I can't do that now since I'm breaking projects apart.

Is there an easy way to handle this?

-- 

We’re hiring if you know of any awesome Java Devops or Linux Operations
Engineers!

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile