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
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
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
> &
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
ry.xml
lt.sintagma.maven.plugins
maven-jar-plugin
RELEASE
Thank you,
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
Hello,
How to specify encoding for resource files during filtering? In ant we
used
Thank you,
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?
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@
rces-plugin
>
>
> test
>
> resources
>
>
>
>${basedir}/src/main/webapp
>
>
>${project.build.directory}/${project.build.finalName}
>/copiedwithresources
> ${basedir}/src/filters/filter.propertiesfilter
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
.
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
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
13 matches
Mail list logo