Hi,
I'm trying to figure out how to get my Groovy code to execute after my CSS
files has been copied from /src to /target, but *before* the content is
packaged from /target into the WAR file. Any hint on where to add this into
the pom.xml?!?
Thanks in advance!
/Per
--
View this message in
I forgot to mention we are using Maven 2.2.1.
--
View this message in context:
http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746729.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Exactly what folder do you have your css files in?
/Anders
On Tue, Feb 12, 2013 at 9:30 AM, Cagecurrent p...@cagecurrent.com wrote:
Hi,
I'm trying to figure out how to get my Groovy code to execute after my CSS
files has been copied from /src to /target, but *before* the content is
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Built-in_Lifecycle_Bindings
Have a look at the war lifecycle, you'll see that there is only one goal
that does the copying from src/main/webapp to target/${finalName} and that
is the war:war goal which does the copy
I moved this ticket to the dependency plugin.
/Anders
On Tue, Feb 12, 2013 at 6:55 AM, Richard Vowles
rich...@bluetrainsoftware.com wrote:
I made a bug report focused on the disappearing dependencies in Aether.
http://jira.codehaus.org/browse/MNG-5433
Hello All,
In my company we have checkout and modified
One class of org.apache.axis2:axis2-transport-http:1.5.1
We repackage it as a jar but with ours modification and
Explicit other artifact name.
But in the following section:
plugin
Anders: My files are in src/main/webapp/shared/eipa/css/elayout.css, and the
target is folder is
target/ROOT/shared/eipa/css/elayout.css
--
View this message in context:
Stephen, so you mean that I *can't* add anything in the middle of that? Or
can I override the normal process?
Sorry if I ask stupid questions, but I'm not that fluid in speaking Maven.
:)
--
View this message in context:
You can't. Those files are copied and package in one go.
If you explain what you want to do, without including a solution you think
is right, we can probably help you. I think you're trying to modifying the
css files through executing a groovy script, is that right?
/Anders
On Tue, Feb 12,
Yes, I want to be able to use Groovy to modify the image references in the
CSS, but *not* in the /src directory as that is in subversion.
The change I'm doing is to be able to increase the caching times for the
images. So for example I would replace the image reference
url(/images/myimage.png)
What you want to do is move the css out of src/main/webapp to e.g.
src/processed/webapp
Then you bind the groovy step for processing to the prepare-package phase
(or any earlier one either) putting the processed files in
target/generated-webapp/groovy/... and use
You need to ask the Axis2 people, their PMC is responsible for their brand.
On 12 February 2013 09:16, adrien ruffie adriennolar...@hotmail.fr wrote:
Hello All,
In my company we have checkout and modified
One class of org.apache.axis2:axis2-transport-http:1.5.1
We repackage it as a
Thanks for your help! :)
I guess another solution would be to modify the CSS files in the WAR after
that it has been created, do you see any problems with that?
--
View this message in context:
Even if I find this bug critical I think nobody had the time to study
it more deeply (me the first) and for now I'm always downgrading to
maven 2 and the dependency plugin 2.4 when I have to use either the
tree or the list goals (which is a mess).
Like you I provided some logs but I didn't
Hi all,
I would like to ask about the maven in ubuntu 12.04. I downloaded maven
version: 3.0.4 and tried to run the mvn archtype:generate, then I have the
result like bellow:
*dzung@dzung:~$ mvn archtype:generate
[INFO] Scanning for projects...
Downloading:
Are you behind a http proxy? If you're in a corporate environment you most
likely are.
/Anders
On Tue, Feb 12, 2013 at 12:37 PM, dzungdev dzung...@gmail.com wrote:
Hi all,
I would like to ask about the maven in ubuntu 12.04. I downloaded maven
version: 3.0.4 and tried to run the mvn
That is the An alternative is to use a second webapp module to do the CSS
processing between the exploding and repacking steps. route I suggested
On 12 February 2013 10:31, Cagecurrent p...@cagecurrent.com wrote:
Thanks for your help! :)
I guess another solution would be to modify the CSS
Your ~/.m2/settings.xml may need an entry similar to below. Full docs
for this can be found on the main maven website. This works correctly
on my Ubuntu system with openjdk7, netbeans, eclipse, jenkins and
command line. You may be able to find the proxy info from your IT group
or in firefox or
Found it at https://svn.apache.org/repos/asf/maven/enforcer.
Still, what gives? Why is it commented out?
You'd have to check svn logs/history to see who commented it out, and
ask them directly. ;-)
Wayne
-
To unsubscribe,
Classification: UNCLASSIFIED
Caveats: NONE
Does anyone have a list of the dependencies necessary to use Tiles with
Spring?
Isaac
Classification: UNCLASSIFIED
Caveats: NONE
smime.p7s
Description: S/MIME cryptographic signature
Please ask the Tiles mailing list.
Antonio
2013/2/12 Carter, Isaac S CTR USARMY HRC (US) isaac.s.carter@mail.mil
Classification: UNCLASSIFIED
Caveats: NONE
Does anyone have a list of the dependencies necessary to use Tiles with
Spring?
Isaac
Classification: UNCLASSIFIED
Classification: UNCLASSIFIED
Caveats: NONE
Does anyone have a list of the dependencies necessary to use Tiles with
Spring?
Unfortunately that information is Classified!!
Only the Apache Tiles User (or Dev) List has sufficient clearance to
fulfill your request. ;-)
Wayne
Classification: UNCLASSIFIED
Caveats: NONE
Lol. Sorry about that. Typical email work stuff.
-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Tuesday, February 12, 2013 11:19 AM
To: Maven Users List
Subject: Re: Tiles dependencies needed for Maven (UNCLASSIFIED)
Hi Chris,
Since you're well aware that you're fighting the release procedure as
expected by the maven-release-plugin,
I'd suggest not to use release:perform
As described on the perform a release-page[1] this goal does just 2
things:
- Checkout from an SCM URL with optional tag
- Run the
Hi,
Take some time to read this chapter [1] and you should be able to find the
answer.
These pages cover almost every issue you'll hit when writing custom Maven
plugins.
I noticed these pages are still based on doclet-tags. We've introduced
annotations recently, but it's quite easy to
How can I use a different name like pom.company.xml instead of pom.xml?
For all intents and purposes, you cannot. Why do you want to do this?
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional
Just wondering if it can be done. Are locked into using only pom.xml?
Let's say I make a label on my application and I build that application
based on that label.
I still need to modify the POM file to set the version. I do not want to
change files that have been labeled. Is my understanding
Let's say I make a label on my application and I build that application
based on that label.
What does make a label on my application mean? Are you talking about
tagging a build in source code?
I still need to modify the POM file to set the version. I do not want to
change files that have
Hi Patrick,
How can I use a different name like pom.company.xml instead of
pom.xml?
Did you try the -f flag?
mvn -f pom.company.xml ...
Run man mvn for more details.
HTH,
Curtis
On Tue, Feb 12, 2013 at 11:12 AM, Patrick Haggerty pdhagge...@gmail.comwrote:
How can I use a different
Here are the steps in my proccess:
Edit code,
Local build and test,
Check code in,
Apply Label to all files in my application,
Request Build based on label using Corporate Build system. (It gets code
based on the label and builds it, packages it and deploys it to Nexus then
to the Target App WAS
Hi Patrick,
Would like to see the build version passed as a parameter so the pom
file does not get changed during the build.
Definitely. You can use buildnumber-maven-plugin [1, 2] to embed your SCM
revision in the JAR. For an actual build number, you can pass it as a
parameter from your CIS
Ok - so is anyone actively working on it? I suspect finding what the bug is
will make it easier to create a test case for it, so if no-one else has the
time, I will find the time.
Thanks!
Richard
On Wed, Feb 13, 2013 at 12:22 AM, Arnaud Héritier aherit...@gmail.comwrote:
Even if I find this
How can I use a different name like pom.company.xml instead of
pom.xml?
Did you try the -f flag?
mvn -f pom.company.xml ...
That will not work with other Maven related tools such as m2e though.
/Anders
Run man mvn for more details.
HTH,
Curtis
On Tue, Feb 12, 2013 at 11:12
How are you using SNAPSHOTs and releases?
How do they relate to versions in the SCM?
Is your problem only around releases?
Why do you not have a stable release number?
Can you not do tagging in your SCM to identify the SCM version of the
release?
There seems to be something missing from your
Have you taken a look at the Maven Release Plugin? It seems to do exactly
what you want.
In short:
1) Update the version in your pom to a stable version
2) Check in updated pom(s).
3) Label/tag the SCM with your current revision
4) Change the version in your pom to the next unstable version
5)
Can one control the ordering of test *methods* inside a test class? I'm
using JUnit 4.11 and Surefire 2.13.
It seems to me from the wording of the runOrder parameter this would be
used to choose what test *classes* to run in what order.
One of our developers is pointing out that Surefire 2.13
First of all ... thank you for replying. Hopefully I will be able to post some
stuff that doesn't scare the crap out of normal Maven users one day ;-)
Well I doubt that I will be able to convince them. This build is a very special
case and they do have valid reasons for this.
I do know that I
Hi Chris,
Unfortunately I would like to invoke release:perform and use mavens
-projects property to limit the reactor to a specific subset of
artifacts. Otherwise the build would try to deploy artifacts that have
been previously released and would instantly fail.
This probably does not
Hi Laird,
The execution order of the methods within a test class is in control of
Junit itself.
AFAIK, Junit 4.11 contains a change to order the execution of @Test methods
alphabetically by default. [1] has some information on how to control that
behavior. I think what's now called the JVM
On Tue, Feb 12, 2013 at 2:43 PM, Andreas Gudian andreas.gud...@gmail.comwrote:
The execution order of the methods within a test class is in control of
Junit itself.
Thanks, Andreas; that explains it.
Best,
Laird
--
http://about.me/lairdnelson
Can one control the ordering of test *methods* inside a test class? I'm
using JUnit 4.11 and Surefire 2.13.
It seems to me from the wording of the runOrder parameter this would be
used to choose what test *classes* to run in what order.
One of our developers is pointing out that Surefire
Hi Anders,
Thank you for your idea, I am using it at home, so I don't think it is
cooperate environment.
Best Regards,
Dzung
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746836.html
Sent from the Maven - Users mailing list
Dear Hanasaki,
I would like to say thanks for your detail explanation.
I saw that you put the host is: firewall.domain.com but how I can get the
information of username/password for it ?
Actually I tried to get information of proxy via firefox by go to Edit --
Preference -- Advanced -- Network
how is system and environment dependent.
It is probably time for you consult with whomever is responsible for the
setup and administration of your system and/or network.
Original Message
Subject: Re: Maven proxy problem in ubuntu 12.04
From: dzungdev
To: users@maven.apache.org
Take one of those URLs and type
wget http://...
See if that works
On Feb 13, 2013 1:14 PM, dzungdev dzung...@gmail.com wrote:
Dear Hanasaki,
I would like to say thanks for your detail explanation.
I saw that you put the host is: firewall.domain.com but how I can get the
information of
Also check what Maven you are using. The Ubuntu/Debian package of Maven
does some nasty rewriting and has some interesting default settings..
If you are using the debian package I would suggest to remove it and
switch to a manual install from the apache download.
manfred
Take one of those URLs
46 matches
Mail list logo