Re: [m2] Filtering again: how to fit in with "package" phase?

2005-10-10 Thread Andrius Karpavicius
Here is a solution: Filter the whole webapps directory into som temp directory, an overwrite war plugin description to package from temp directory instead. Andrius ${basedir}/src/filters/${filterFile} ../filtered-webapp-resources true

Re: [m2] Filtering problems in Beta

2005-10-03 Thread Andrius Karpavicius
Hi, The way you have defined here, the files will always come from /src directory. Plus ${basedir}/src/main/resources/tokens/stage should point to a file, not a directory.?? Maybe first you can filter into some temporary directory that filter that again. For this you will have to declare re

Re: [m2] Filtering problems in Beta

2005-09-30 Thread Andrius Karpavicius
gt; Sorry it missed beta-1, but we will be retaining the other option for > backwards compatibility. > > - Brett > > On 9/24/05, Tony Steele <[EMAIL PROTECTED]> wrote: > > Thanks > > > > That worked, I left out the target path as I wanted it to go to the > &

Re: [m2] Filtering problems in Beta

2005-09-23 Thread Andrius Karpavicius
Hi, Add true parameter in resources descriptor ../filtered-webapp-resources true ${basedir}/src/main/webapp Andrius "Tony Steele" <[EMAIL PROTECTED]> 2005.09.23 13:01 Please respond to "Maven Users List" To cc Subject [m2] Filtering p

[m2-beta1] version "release"?

2005-09-23 Thread Andrius Karpavicius
ry.xml lt.sintagma.maven.plugins maven-jar-plugin RELEASE Thank you, Andrius Karpavicius

[m2] packaging for standalone applications

2005-09-14 Thread Andrius Karpavicius
Hi, How do you package a standalone application?. A a result preferable to have a jar file plus some executable files (eg. run.bat, run.sh) and configuration files. Thanks, Andrius Karpavicius

[M2] Resource filtering with encoding

2005-09-12 Thread Andrius Karpavicius
Hello, How to specify encoding for resource files during filtering? In ant we used Thank you, Andrius Karpavicius

[M2] updating metadata due to status of 'none'

2005-08-23 Thread Andrius Karpavicius
eases greatly. Also, I created a plugin, deployed it with version 1.0, but maven2 keeps looking for version "RELEASE". Can somebody describe the versioning logic of Maven2, or how to change the status of artifacts?

Re: [M2] How does filtering resources work?

2005-08-19 Thread Andrius Karpavicius
Hi, I am almost an expert here, after trying to get filtering work for two days :) >From resources plugin code: // support ${token} Reader reader = new InterpolationFilterReader( fileReader, filterProperties, "${", "}" ); // support @token@

Re: [M2] How to specify a diferent resource directory in resource:resources plugin

2005-08-19 Thread Andrius Karpavicius
rces-plugin > > > test > > resources > > > >${basedir}/src/main/webapp > > >${project.build.directory}/${project.build.finalName} >/copiedwithresources > ${basedir}/src/filters/filter.propertiesfilter

Re: [M2] How to specify a diferent resource directory in resource:resources plugin

2005-08-18 Thread Andrius Karpavicius
lName} /copiedwithresources ${basedir}/src/filters/filter.properties true Thank you, Andrius Karpavicius Edwin Punzalan <[EMAIL PROTECTED]> 2005.08.18 12:07 Please respond to "Maven Users List" To Maven Users List cc Subject Re: [M2] How to specif

[M2] How to specify a diferent resource directory in resource:resources plugin

2005-08-18 Thread Andrius Karpavicius
. org.apache.maven.plugins maven-resources-plugin test ${basedir}/src/main/webapp/WEB-INF/conf Thanks, Andrius Karpavicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[m2] How to include web content from multiple modules into a single WAR

2005-08-12 Thread Andrius Karpavicius
HI, My web application is made up of several modules. Each module contains classes and web content (jsp and WEB-INF/conf configuration files) Question - how do I get web content from several projects assembled into one war file Here is the structure +- pom.xml +- app_1 +- pom.xml +- src