Hi,
Is there a way in maven to generate a web project with java, resources, and
webapp folders running the archtype goal. Maven suggest to create a multi
project module with:
multi-project
|-- pom.xml
|-- my-app
|-- my-web-app
by creating a multi project pom file and then running:
mvn
Is it possible to use properties defined in settings.xml within
repositories / and distributionManagement /?
Other properties seem to get resolved during a build, however when I do a
deploy, maven uses the variable name with the leading ${ and trailing },
instead of the resolved variable value.
Hi Mark,
I do you think that it might be a permission problem even if the deploy goal
does work ?
It seems that I'm not the first one encounting that issue.. but I just don't
find any workaround..
--
View this message in context:
Very bad practice! The repositories defined in the pom MUST be possible for
other people (other projects depending on your artifacts) to resolve. Using
properties defined in settings.xml makes that impossible.
/Anders
On Wed, Jan 19, 2011 at 05:14, mjk mj.kelle...@gmail.com wrote:
Is it
I agree that a global relocations.xml would not scale.
You can't change the old (5.1.0) pom,
so the most obvious place is simply adding this meta-data in the new pom
(5.2.0):
groupIdorg.drools.guvnor/groupId
artifactIdguvnor-repository/artifactId
version5.2.0/version
legacy-identifications
YES I found out !!!
I tried to add the distributionManagement Tag in each module of my
multi-module project..
and it worked !!
Still dunno why deploy goal does no need it, and perform goal needs.. but,
it works !!
Thanks everyone for your help, sincerely
Jeremy
--
View this message in
Hi,
Is there a way in maven to generate a web project with java, resources, and
webapp folders running the archtype goal. Maven suggest to create a multi
project module with:
multi-project
|-- pom.xml
|-- my-app
|-- my-web-app
by creating a multi project pom file and then running:
mvn
One mail to the list per question is enough. We understand that you're
asking because something is blocking you, but there is no need to spam the
list.
Give people a few days to respond (although you very often get a response
quicker than that on this list). If nobody responds, it could be that
It wasnt on purpose. I just couldnt see the first mail reaching the mailing
list, so i tried again :)
Sorry for that :)
On Wed, Jan 19, 2011 at 10:38 AM, Anders Hammar and...@hammar.net wrote:
One mail to the list per question is enough. We understand that you're
asking because something is
The list archives (nabble for example) are great for verifying that.
/Anders
On Wed, Jan 19, 2011 at 10:47, Piotr Skawinski
piotr.skawinski.ma...@gmail.com wrote:
It wasnt on purpose. I just couldnt see the first mail reaching the mailing
list, so i tried again :)
Sorry for that :)
On
Hi Geoffry,
Geoffrey De Smet wrote:
I agree that a global relocations.xml would not scale.
You can't change the old (5.1.0) pom,
so the most obvious place is simply adding this meta-data in the new pom
(5.2.0):
groupIdorg.drools.guvnor/groupId
artifactIdguvnor-repository/artifactId
That is what I think as well. In this case I would need to know
Looking at the xml below, its clearly the generate-sources target
which fails and in that the line with java fork=fork ... which
gets executed and fails in turn parsing the model file .mdo.
How does the class
I usually put my configuration where it works. In a web application, I put
my web.xml in the src/main/webapp/WEB-INF folder. In Spring-related apps,
my applicationConfig.xml goes in src/main/resources, and I might use Maven
Filters to pull in the right parameters to whether I run as a dev build
Thanks for the advice. You could have proposed a solution instead of just a
criticism.
Sent from my iPhone
On Jan 19, 2011, at 4:02 AM, Anders Hammar and...@hammar.net wrote:
Very bad practice! The repositories defined in the pom MUST be possible for
other people (other projects depending on
Hi
At my company we use properties in the global setting.xml which the
build is dependent. This make sense since our build is strictly within
our company and everyone uses the same maven installation
For instance:
(in setting.xml)
profile
idcore/id
properties
adeViewRoot/ade/viper/adeViewRoot
I would strongly suggest that you move the distMgmt section to a corporate
parent pom instead. So when (if?) you change the urls, you just update the
parent pom (and yes, you do need to update the reference in any project
inheriting from it). Anything in your pom that could change depending on the
Wayne Fay wrote:
1. I made some changes in the pom.xml (indicated in Bold).
This list strips HTML and RTF so no one can see your bold text.
2. I ran mvn help:effective-pom and this is what I got
OK... but what happens (now) when you run mvn compile? I assume you
are running all of
On 19/01/2011 4:14 AM, Geoffrey De Smet wrote:
I agree that a global relocations.xml would not scale.
You can't change the old (5.1.0) pom,
so the most obvious place is simply adding this meta-data in the new
pom (5.2.0):
groupIdorg.drools.guvnor/groupId
artifactIdguvnor-repository/artifactId
I have uploaded my project file here in Rapishare
http://rapidshare.com/files/443396415/je.zip . If possible , pls Run it from
your Computer . May be the error detection will be easier then.
I downloaded your project and ran it. The only failure I encountered
was related to a missing
It looks to my naive eyes like the logger that is responsible for printing
out the various [INFO] messages to the command line during a Maven run is
hard coded. Perhaps--hopefully--I'm wrong.
Is there a way to replace this logger as the first action during a build, so
that Maven's logger shunts
Hi,
There are several external shared libraries available via http in tar.gz
files that I want to include in a jar.
I do not want to check these files into my scm.
How do I get maven to
1) Check if they are already present, and if not
2) Download the tarball
3) Uncompress it to my projects
Has anyone else run into this? I run into it all the time. It
appears to be because unpack-dependencies is not updating the
timestamp on the marker files like it should.
I found this bug which seems to be exactly my problem:
http://jira.codehaus.org/browse/MDEP-225
I contacted the developer
Briefly looking through the comments it looks like an integration test is
missing for the patch to be accepted. Can you provide one?
/Anders
On Wed, Jan 19, 2011 at 21:59, Phillip Hellewell ssh...@gmail.com wrote:
Has anyone else run into this? I run into it all the time. It
appears to be
Yeah I like the idea about writing my own maven-plugin, its about time
I get around to do that :-) But why add all the complexity of:
http://groovy.codehaus.org/Using+Ant+from+Groovy
AIRN is requiring that Contegix renumber our machines in the UK so
tonight one of them will change and tomorrow the other will change. As
always, you should address them using http://uk.maven.org to allow
failover but I know occasionally people have to poke holes in their
firewalls based on ip.
Hi all,
Option 1: It's easy to write a POM that creates a JAR for a GWT widget
including CSS and other resources. It's also easy to then write a POM
that depends on that JAR and creates a WAR for integration testing. So
far so good.
Problem: Making changes in (e.g.) the CSS requires a full
achieves all my goals but isn't very elegant. Can anyone think of a
better way to do this?
A couple thoughts...
1) You can create a jar out of a war project by binding the jar plugin
to your build.
2) You may want to look at the maven-remote-resources-plugin and think
about putting the GWT
1) Check if they are already present, and if not
2) Download the tarball
3) Uncompress it to my projects src/main/resources folder
Some plugins you should take a look at:
m-dependency-p (probably can do it all)
m-assembly-p
m-remote-resources-p (probably not an option)
m-antrun-p (if you
3) Uncompress it to my projects src/main/resources folder
Oh and btw you should probably not be uncompressing to
src/main/resources but rather to /target.
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For
On 19 January 2011 17:49, Wayne Fay wayne...@gmail.com wrote:
achieves all my goals but isn't very elegant. Can anyone think of a
better way to do this?
A couple thoughts...
1) You can create a jar out of a war project by binding the jar plugin
to your build.
Excellent, with a few excludes
Wayne Fay wrote:
I have uploaded my project file here in Rapishare
http://rapidshare.com/files/443396415/je.zip . If possible , pls Run it
from
your Computer . May be the error detection will be easier then.
I downloaded your project and ran it. The only failure I encountered
was
I'm new to Maven and am building a POM with profiles. I want to be able to
set a system property that contains the value of the current profile(s).
Currently I have multiple profiles that each relate to different web app
servers (dev, test, staging, etc.) in our dev/test environment. I want the
I'm using Maven v2.2.1 with NetBeans 6.9.1 and this could be a NetBeans
issue but thought I'd check here.
I have profiles in my POM that when activated, set a system property via the
maven-surefire-plugin systemPropertyVariables setting to determine which
testing configuration (dev, test,
What phase should I be doing this in to insure that they make it into the
bundle?
On Wed, Jan 19, 2011 at 9:52 PM, Wayne Fay wayne...@gmail.com wrote:
3) Uncompress it to my projects src/main/resources folder
Oh and btw you should probably not be uncompressing to
src/main/resources but
34 matches
Mail list logo