You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tirumal Reddy Moolamalla <t....@zensar.com> on 2011/01/12 06:44:21 UTC
Maven Repository - Handling configuration Files
Hi,
I have a doubt regarding distributing configuration files which needs to be deployed in application server. But these files needs to be separated from the web achieve. I am publishing the web archive and other artifacts to remote repository, from where I am picking up and deploying them to application server.
I don't want to go for creation of maven assembly and packing things together. Please suggest me if there are any other approaches
Regards,
Tirumal Reddy M
Re: Maven Repository - Handling configuration Files
Posted by Anders Hammar <an...@hammar.net>.
Cargo can't use the zip directly. But you should be able to get it to work
by using the dependency-plugin and extract the content of the archive first.
/Anders
On Wed, Jan 12, 2011 at 10:33, Wayne Fay <wa...@gmail.com> wrote:
> > If I do this and create a new ".zip" or some other artifact for my
> > configuration files, is it possible to deploy this by extracting the
> config
> > files to specific location using Cargo plugin?
>
> I haven't used Cargo in a while so I have no idea. It seems like
> asking the Cargo folks directly would be the most efficient method to
> get this answered.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Maven Repository - Handling configuration Files
Posted by Wayne Fay <wa...@gmail.com>.
> If I do this and create a new ".zip" or some other artifact for my
> configuration files, is it possible to deploy this by extracting the config
> files to specific location using Cargo plugin?
I haven't used Cargo in a while so I have no idea. It seems like
asking the Cargo folks directly would be the most efficient method to
get this answered.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven Repository - Handling configuration Files
Posted by Tirumal Reddy Moolamalla <t....@zensar.com>.
Thanks Wayne,
If I do this and create a new ".zip" or some other artifact for my configuration files, is it possible to deploy this by extracting the config files to specific location using Cargo plugin?
Regards,
Tirumal Reddy M
-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com]
Sent: Wednesday, January 12, 2011 2:39 PM
To: Maven Users List
Subject: Re: Maven Repository - Handling configuration Files
> I don't want to go for creation of maven assembly and packing things
> together. Please suggest me if there are any other approaches
There is nothing stopping you from making another Maven project that
only contains your config files (in src/main/resources, perhaps) and
then publishing that to the remote repo, then picking them up and
unpacking (unjar/unzip) them to use in your app servers directly. This
would not involve the assembly plugin or any non-standard approach.
Why do you have a doubt about this?
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven Repository - Handling configuration Files
Posted by Wayne Fay <wa...@gmail.com>.
> I don't want to go for creation of maven assembly and packing things
> together. Please suggest me if there are any other approaches
There is nothing stopping you from making another Maven project that
only contains your config files (in src/main/resources, perhaps) and
then publishing that to the remote repo, then picking them up and
unpacking (unjar/unzip) them to use in your app servers directly. This
would not involve the assembly plugin or any non-standard approach.
Why do you have a doubt about this?
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org