Re: Help with assembly (?) plugin

2008-10-07 Thread Thomas Lutz

Hi,

this could be done using profiles and resource filtering (google for 
resource filtering, in the maven book there's some info about that as 
well)... or


If it really needs to be two artifacts another way would be to have 
three modules, one doing the work, and two "cache-access" and 
"no-cache-access" depending on the worker, containing only the config... 
not very beautiful as well.


but :-):

I think you should rethink the approach with two artifacts.. one 
artifact with a property file could do the trick ? or configuration in 
the database ?


hth,
tom

Andy Law schrieb:

All,

Can someone first of all either confirm that I am on the right track or tell
me that I am an idiot and point me in the right direction.

If I *am* on the right track, can someone give me a shove towards the right
configuration.

I have a module that is part of a larger project. It is required by two
other modules, but each requires a subtly different configuration. I would
like to minimise (eliminate) any code duplication and have each dependency
get built automagically. At present my developers are working around it by
manually toggling the configuration file and the artifact name but I know
there has to be a better way to do it.

Basically, we have a load of data access code that hits a datasource. I need
to build two versions of this artifact, one which is configured to cache the
hits from the datasource and the other which is to hit the datasource each
time. This is configured in a file embedded within the jar by the build.

I figure that I should be able to make one module with all the code and the
default (cache) setup in it. I think that I can then configure the no-cache
module to depend on the cache version and then use the assembly plugin to
unpack the jar into the build directory then have the no-cache configuration
file stomp on the cache version and have the jar be all packaged back up
again.

Am I right in my line of thinking?

Thanks in advance for any help.


Later,

Andy Law
  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help with assembly (?) plugin

2008-10-07 Thread Martin Gainty

the algorithm to get a fresh copy for each DB access should be independent 
of the cached DB algorithm?

so when the oper thinks they are getting a fresh copy when in fact they're 
getting the copy from cache
would not be good?

is there a architecture document available which reflects the 2 testcases?

is there ever a  testcase scenario available where the 2 algorithm's coincide?

Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Tue, 7 Oct 2008 09:06:49 -0700
> From: [EMAIL PROTECTED]
> To: users@maven.apache.org
> Subject: Help with assembly (?) plugin
> 
> 
> All,
> 
> Can someone first of all either confirm that I am on the right track or tell
> me that I am an idiot and point me in the right direction.
> 
> If I *am* on the right track, can someone give me a shove towards the right
> configuration.
> 
> I have a module that is part of a larger project. It is required by two
> other modules, but each requires a subtly different configuration. I would
> like to minimise (eliminate) any code duplication and have each dependency
> get built automagically. At present my developers are working around it by
> manually toggling the configuration file and the artifact name but I know
> there has to be a better way to do it.
> 
> Basically, we have a load of data access code that hits a datasource. I need
> to build two versions of this artifact, one which is configured to cache the
> hits from the datasource and the other which is to hit the datasource each
> time. This is configured in a file embedded within the jar by the build.
> 
> I figure that I should be able to make one module with all the code and the
> default (cache) setup in it. I think that I can then configure the no-cache
> module to depend on the cache version and then use the assembly plugin to
> unpack the jar into the build directory then have the no-cache configuration
> file stomp on the cache version and have the jar be all packaged back up
> again.
> 
> Am I right in my line of thinking?
> 
> Thanks in advance for any help.
> 
> 
> Later,
> 
> Andy Law
> -- 
> View this message in context: 
> http://www.nabble.com/Help-with-assembly-%28-%29-plugin-tp19861584p19861584.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Help with assembly (?) plugin

2008-10-07 Thread Andy Law

All,

Can someone first of all either confirm that I am on the right track or tell
me that I am an idiot and point me in the right direction.

If I *am* on the right track, can someone give me a shove towards the right
configuration.

I have a module that is part of a larger project. It is required by two
other modules, but each requires a subtly different configuration. I would
like to minimise (eliminate) any code duplication and have each dependency
get built automagically. At present my developers are working around it by
manually toggling the configuration file and the artifact name but I know
there has to be a better way to do it.

Basically, we have a load of data access code that hits a datasource. I need
to build two versions of this artifact, one which is configured to cache the
hits from the datasource and the other which is to hit the datasource each
time. This is configured in a file embedded within the jar by the build.

I figure that I should be able to make one module with all the code and the
default (cache) setup in it. I think that I can then configure the no-cache
module to depend on the cache version and then use the assembly plugin to
unpack the jar into the build directory then have the no-cache configuration
file stomp on the cache version and have the jar be all packaged back up
again.

Am I right in my line of thinking?

Thanks in advance for any help.


Later,

Andy Law
-- 
View this message in context: 
http://www.nabble.com/Help-with-assembly-%28-%29-plugin-tp19861584p19861584.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread De Smet Ringo
Kent, 

> -Original Message-
> From: Kent Närling
> Sent: woensdag 25 juni 2008 11:22
> To: Maven Users List
> Subject: Re: Please help with assembly plugin dependency problems! :-(
> 
> Thanks a lot, this fixed it! :-)

You're welcome!

As to the 'why': Maven Embedder is based on the Maven 2.1 codebase, which is 
still a work in progress. It's a fact of life that bugs can creep in in code 
that is being changed. I continue to use an external Maven installation at 
least until Maven 2.1 and the Embedder gets official.

Ringo
*

Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie 
bevatten die vertrouwelijk is en/of beschermd door intellectuele 
eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). 
Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of 
gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen 
dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft 
ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te 
verwijderen. 

This e-mail and any attachment thereto may contain information which is 
confidential and/or protected by intellectual property rights and are intended 
for the sole use of the addressees. Any use of the information contained herein 
(including but not limited to total or partial reproduction or distribution in 
any form) by other persons than the addressees is prohibited. If you have 
received this e-mail in error, please notify the sender and delete its contents.

Ce courriel et les annexes éventuelles peuvent contenir des informations 
confidentielles et/ou protégées par des droits de propriété intellectuelle. Ce 
message est adressé exclusivement à son (ses) destinataire(s). Toute 
utilisation du contenu de ce message (y compris la reproduction ou diffusion 
partielle ou complète sous toute forme) par une autre personne que le(s) 
destinataire(s) est formellement interdite. Si vous avez reçu ce message par 
erreur, veuillez prévenir l'expéditeur du message et en détruire le contenu.

*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
Thanks a lot, this fixed it! :-)


2008/6/25 De Smet Ringo <[EMAIL PROTECTED]>:

> Kent,
>
> > -Original Message-
> > From: Kent Närling
> > Sent: woensdag 25 juni 2008 10:53
> > To: Maven Users List
> > Subject: Re: Please help with assembly plugin dependency problems! :-(
> >
> > Update to this one, this seems to happen if I execute the
> > build from within the M2 plugin in eclipse only.
> >
> > If I run it on the command line it works fine!?!
> >
> > Anyone know why the plugin makes this behave differently?
> > On the command line it also tries to download the failing POM
> > and fails too, but it seems to ignore it then!
> > (but not from within Eclipse)
>
> I also encountered problems once where a build using the m2eclipse plugin
> failed, while it worked on the command line. What I did was to disable the
> Maven Embedder in m2eclipse and select a normal Maven2 installation to use.
> Check the Eclipse Preferences (Window -> Preferences -> Maven ->
> Installations).
>
> Ringo
> *
>
> Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie
> bevatten die vertrouwelijk is en/of beschermd door intellectuele
> eigendomsrechten. Dit bericht is uitsluitend bestemd voor de
> geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht
> (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder
> elke vorm) door andere personen dan de geadresseerde(n) is verboden. Indien
> u dit bericht per vergissing heeft ontvangen, gelieve de afzender hiervan te
> verwittigen en dit bericht te verwijderen.
>
> This e-mail and any attachment thereto may contain information which is
> confidential and/or protected by intellectual property rights and are
> intended for the sole use of the addressees. Any use of the information
> contained herein (including but not limited to total or partial reproduction
> or distribution in any form) by other persons than the addressees is
> prohibited. If you have received this e-mail in error, please notify the
> sender and delete its contents.
>
> Ce courriel et les annexes éventuelles peuvent contenir des informations
> confidentielles et/ou protégées par des droits de propriété intellectuelle.
> Ce message est adressé exclusivement à son (ses) destinataire(s). Toute
> utilisation du contenu de ce message (y compris la reproduction ou diffusion
> partielle ou complète sous toute forme) par une autre personne que le(s)
> destinataire(s) est formellement interdite. Si vous avez reçu ce message par
> erreur, veuillez prévenir l'expéditeur du message et en détruire le contenu.
>
> *
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Kent Närling

System Architect
SEAMLESS
Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden
Phone: +46 8 5648 7800, fax: +46 8 5648 7823
Mobile: +46 70 836 9925
Mail: [EMAIL PROTECTED]
www.seamless.se


RE: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread De Smet Ringo
Kent, 

> -Original Message-
> From: Kent Närling
> Sent: woensdag 25 juni 2008 10:53
> To: Maven Users List
> Subject: Re: Please help with assembly plugin dependency problems! :-(
> 
> Update to this one, this seems to happen if I execute the 
> build from within the M2 plugin in eclipse only.
> 
> If I run it on the command line it works fine!?!
> 
> Anyone know why the plugin makes this behave differently?
> On the command line it also tries to download the failing POM 
> and fails too, but it seems to ignore it then!
> (but not from within Eclipse)

I also encountered problems once where a build using the m2eclipse plugin 
failed, while it worked on the command line. What I did was to disable the 
Maven Embedder in m2eclipse and select a normal Maven2 installation to use. 
Check the Eclipse Preferences (Window -> Preferences -> Maven -> Installations).

Ringo
*

Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie 
bevatten die vertrouwelijk is en/of beschermd door intellectuele 
eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). 
Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of 
gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen 
dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft 
ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te 
verwijderen. 

This e-mail and any attachment thereto may contain information which is 
confidential and/or protected by intellectual property rights and are intended 
for the sole use of the addressees. Any use of the information contained herein 
(including but not limited to total or partial reproduction or distribution in 
any form) by other persons than the addressees is prohibited. If you have 
received this e-mail in error, please notify the sender and delete its contents.

Ce courriel et les annexes éventuelles peuvent contenir des informations 
confidentielles et/ou protégées par des droits de propriété intellectuelle. Ce 
message est adressé exclusivement à son (ses) destinataire(s). Toute 
utilisation du contenu de ce message (y compris la reproduction ou diffusion 
partielle ou complète sous toute forme) par une autre personne que le(s) 
destinataire(s) est formellement interdite. Si vous avez reçu ce message par 
erreur, veuillez prévenir l'expéditeur du message et en détruire le contenu.

*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
Update to this one, this seems to happen if I execute the build from within
the M2 plugin in eclipse only.

If I run it on the command line it works fine!?!

Anyone know why the plugin makes this behave differently?
On the command line it also tries to download the failing POM and fails too,
but it seems to ignore it then!
(but not from within Eclipse)

2008/6/25 Kent Närling <[EMAIL PROTECTED]>:

> Hi,
>
> I still cannot get the assembly plugin to work properly in many situations.
>
> There are a lot of situations where a plugin/depenedency depends on
> something else where it works nicely for building and running since it only
> requires the jar.
> But then the assembly plugin tries to get the POM which fails! (since the
> known repositories doesn't have it)
>
> Yet another fresh example:
> Error retrieving POM of module-dependency:
> com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2; Reason: POM
> 'com.sun.xml.fastinfoset:FastInfoset' not found in repository: Unable to
> download the artifact from any repository
>
> And this seems quite common... ?
> Can anyone explain why this is and enlighten me how to fix it?
>
> I am pulling out my hair trying to get this working ... :-(
>
> //Kent
>



-- 
Kent Närling

System Architect
SEAMLESS
Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden
Phone: +46 8 5648 7800, fax: +46 8 5648 7823
Mobile: +46 70 836 9925
Mail: [EMAIL PROTECTED]
www.seamless.se


Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
Hi,

I still cannot get the assembly plugin to work properly in many situations.

There are a lot of situations where a plugin/depenedency depends on
something else where it works nicely for building and running since it only
requires the jar.
But then the assembly plugin tries to get the POM which fails! (since the
known repositories doesn't have it)

Yet another fresh example:
Error retrieving POM of module-dependency:
com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2; Reason: POM
'com.sun.xml.fastinfoset:FastInfoset' not found in repository: Unable to
download the artifact from any repository

And this seems quite common... ?
Can anyone explain why this is and enlighten me how to fix it?

I am pulling out my hair trying to get this working ... :-(

//Kent


Re: help with assembly plugin

2007-11-21 Thread Gunnar Boström

HI,
${basedir}/ did the trick!
Thanks!
=)


Mick Knutson-4 wrote:
> 
> Have you tried ${basedir}/
> 
> On 11/20/07, Gunnar Boström <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>> Thanks for trying to help but the problem is with the multi-module
>> project.
>> If I run mvn package from the module directory it works correctly.
>> If I run mvn package from the parent directory the line endings will not
>> be
>> converted!
>> As I write I managed to get this working for a single file by starting
>> the
>> source tag with a slash i.e.
>> /src/..
>> :-)
>>
>> Mick Knutson-4 wrote:
>> >
>> > 
>> > tar
>> > 
>> >
>> >
>> > Then make sure the ascii files you are adding are like:
>> >
>> > 
>> > /src/main/resources/deploy/deploy-configs.sh
>> 
>> > 
>> > deploy-configs.sh
>> > true
>> > *unix*
>> > 0754
>> > 
>> >
>> >
>> > On Nov 19, 2007 9:01 AM, Gunnar Boström
>> <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> >>
>> >> Hi,
>> >> I use the maven-assembly-plugin to create a zip file on windows XP.
>> >> It works ok, with one problem.
>> >> The zip file will be unzipped on a Solaris computer so I need to fix
>> the
>> >> line endings. This works fine if I do mvn package directly in a
>> module,
>> >> but
>> >> if I run mvn package from the master it will not do the conversion.
>> >>
>> >> [INFO] Reading assembly descriptor:
>> >> D:\SERF\dev\serf-server\src\main\assembly\bin.xml
>> >> [INFO] No files selected for line-ending conversion. Skipping:
>> >> src/main/scripts/expect
>> >>
>> >> The corresponding line in the pom file is
>> >> src/main/scripts/expect
>> >>
>> >> So what can I do?
>> >>
>> >> Regards
>> >> Gunnar
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13840413
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> >
>> > Thanks,
>> > Mick Knutson
>> >
>> > http://www.baselogic.com
>> > http://www.blincmagazine.com
>> > http://www.djmick.com
>> > http://www.myspace.com/mickknutson
>> > http://www.myspace.com/djmick_dot_com
>> > http://www.myspace.com/sexybeotches
>> > http://www.thumpradio.com
>> > ---
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13852445
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> 
> Thanks,
> Mick Knutson
> 
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/djmick_dot_com
> http://www.myspace.com/sexybeotches
> http://www.thumpradio.com
> ---
> 
> 

-- 
View this message in context: 
http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13879846
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: help with assembly plugin

2007-11-20 Thread Mick Knutson
Have you tried ${basedir}/

On 11/20/07, Gunnar Boström <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> Thanks for trying to help but the problem is with the multi-module
> project.
> If I run mvn package from the module directory it works correctly.
> If I run mvn package from the parent directory the line endings will not
> be
> converted!
> As I write I managed to get this working for a single file by starting the
> source tag with a slash i.e.
> /src/..
> :-)
>
> Mick Knutson-4 wrote:
> >
> > 
> > tar
> > 
> >
> >
> > Then make sure the ascii files you are adding are like:
> >
> > 
> > /src/main/resources/deploy/deploy-configs.sh
> 
> > 
> > deploy-configs.sh
> > true
> > *unix*
> > 0754
> > 
> >
> >
> > On Nov 19, 2007 9:01 AM, Gunnar Boström <[EMAIL PROTECTED]>
> > wrote:
> >
> >>
> >> Hi,
> >> I use the maven-assembly-plugin to create a zip file on windows XP.
> >> It works ok, with one problem.
> >> The zip file will be unzipped on a Solaris computer so I need to fix
> the
> >> line endings. This works fine if I do mvn package directly in a module,
> >> but
> >> if I run mvn package from the master it will not do the conversion.
> >>
> >> [INFO] Reading assembly descriptor:
> >> D:\SERF\dev\serf-server\src\main\assembly\bin.xml
> >> [INFO] No files selected for line-ending conversion. Skipping:
> >> src/main/scripts/expect
> >>
> >> The corresponding line in the pom file is
> >> src/main/scripts/expect
> >>
> >> So what can I do?
> >>
> >> Regards
> >> Gunnar
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13840413
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> >
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/djmick_dot_com
> > http://www.myspace.com/sexybeotches
> > http://www.thumpradio.com
> > ---
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13852445
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


Re: help with assembly plugin

2007-11-20 Thread Gunnar Boström

Hi,
Thanks for trying to help but the problem is with the multi-module project.
If I run mvn package from the module directory it works correctly.
If I run mvn package from the parent directory the line endings will not be
converted! 
As I write I managed to get this working for a single file by starting the
source tag with a slash i.e. 
/src/..
:-)

Mick Knutson-4 wrote:
> 
> 
> tar
> 
> 
> 
> Then make sure the ascii files you are adding are like:
> 
> 
> /src/main/resources/deploy/deploy-configs.sh
> 
> deploy-configs.sh
> true
> *unix*
> 0754
> 
> 
> 
> On Nov 19, 2007 9:01 AM, Gunnar Boström <[EMAIL PROTECTED]>
> wrote:
> 
>>
>> Hi,
>> I use the maven-assembly-plugin to create a zip file on windows XP.
>> It works ok, with one problem.
>> The zip file will be unzipped on a Solaris computer so I need to fix the
>> line endings. This works fine if I do mvn package directly in a module,
>> but
>> if I run mvn package from the master it will not do the conversion.
>>
>> [INFO] Reading assembly descriptor:
>> D:\SERF\dev\serf-server\src\main\assembly\bin.xml
>> [INFO] No files selected for line-ending conversion. Skipping:
>> src/main/scripts/expect
>>
>> The corresponding line in the pom file is
>> src/main/scripts/expect
>>
>> So what can I do?
>>
>> Regards
>> Gunnar
>> --
>> View this message in context:
>> http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13840413
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> 
> Thanks,
> Mick Knutson
> 
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/djmick_dot_com
> http://www.myspace.com/sexybeotches
> http://www.thumpradio.com
> ---
> 
> 

-- 
View this message in context: 
http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13852445
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: help with assembly plugin

2007-11-19 Thread Mick Knutson

tar



Then make sure the ascii files you are adding are like:


/src/main/resources/deploy/deploy-configs.sh

deploy-configs.sh
true
*unix*
0754



On Nov 19, 2007 9:01 AM, Gunnar Boström <[EMAIL PROTECTED]>
wrote:

>
> Hi,
> I use the maven-assembly-plugin to create a zip file on windows XP.
> It works ok, with one problem.
> The zip file will be unzipped on a Solaris computer so I need to fix the
> line endings. This works fine if I do mvn package directly in a module,
> but
> if I run mvn package from the master it will not do the conversion.
>
> [INFO] Reading assembly descriptor:
> D:\SERF\dev\serf-server\src\main\assembly\bin.xml
> [INFO] No files selected for line-ending conversion. Skipping:
> src/main/scripts/expect
>
> The corresponding line in the pom file is
> src/main/scripts/expect
>
> So what can I do?
>
> Regards
> Gunnar
> --
> View this message in context:
> http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13840413
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


help with assembly plugin

2007-11-19 Thread Gunnar Boström

Hi,
I use the maven-assembly-plugin to create a zip file on windows XP.
It works ok, with one problem.
The zip file will be unzipped on a Solaris computer so I need to fix the
line endings. This works fine if I do mvn package directly in a module, but
if I run mvn package from the master it will not do the conversion.

[INFO] Reading assembly descriptor:
D:\SERF\dev\serf-server\src\main\assembly\bin.xml
[INFO] No files selected for line-ending conversion. Skipping:
src/main/scripts/expect

The corresponding line in the pom file is
src/main/scripts/expect

So what can I do?

Regards
Gunnar
-- 
View this message in context: 
http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13840413
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]