Put the META-INF folder structure in src/main/webapp. Not in
src/main/resources.
You should then be able to remove all your special configuration, which is a
clear sign of being on the right track.
/Anders
On Fri, May 20, 2011 at 02:02, dpaily dpa...@sonypictures.com wrote:
I'm using
On 18/05/11 18:49, Eric Kolotyluk wrote:
My current structure is
+-- pom.xml
!
+--- mod1
+--- mod2 needs an assembly and depends on mod1 mod3
+--- mod3
+--- mod4 needs an assembly and depends on mod1 mod3
Executing the assembly plugin in mod2 and mod4 should work. I did this
in many builds
It works fine for me, I had a test with Maven 3.0.2 and the following POM :
project
...
properties
prop.to.override111/prop.to.override
/properties
profiles
profile
idprofile-test/id
properties
prop.to.override444/prop.to.override
/properties
On Fri, May 20, 2011 at 1:00 AM, uday shankar adonis.u...@gmail.com
wrote: Hi Rafael,
This is the command i used :
mvn install:install-file -Dfile=D:\Ota_Sonata.jar -DgroupId=org.mule.modules
-DartifactId=Ota_Sonata -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
after deploying with this
Hi Wendy,
Generally how does one decide the groupid?
Can it be any value?
Here I gave the group id asorg.mule.modules
I just decided on this group Id randomly I just wanted to put the jar in
some folder so I chose this, are there any guidelines which are to be
followed while selecting a
Are you running mvn install:install-file and mvn package in the same
machine? mvn install only put artifacts into the local repo and if you are
trying to package from another machine (other developer's or CI's machine)
then it will not find the artifact there.
1. Check your local repo and see if
So what did you give as the plugin version ??
Maven version number..? I'm a little confused...
--
View this message in context:
http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p4412500.html
Sent from
Huh - what version of maven are you using?
Is this part of the resources plugin or is this core maven that does this?
(I'm wondering if somewhere we have some wonky old plugin configured)
-Original Message-
From: Maxime Gréau [mailto:greaumax...@gmail.com]
Sent: Friday, May 20, 2011
Hi,
I'm using Maven 3.0.3. I'm running an Ant-run exec command.
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
Hello,
I've got an assembly that runs at the parent level for a
multi-module project. Let me preface by saying this setup works fine
with Maven 2.x, going to Maven 3.0.3 the issue appeared. Anyhow, we
have dependency and if we have it set to a snapshot the package goal
runs fine but
I think your real question might be, who is putting this stuff in my
WEB-INF/classes dir?
It is the resources plugin, as commanded by the war-plugin.
therefore, you would add a buildresources element to prevent this.
Below is a trivial example.
/r
==
Hi all -
I'm developing a plugin for generating images for the background of an
installer (or honestly, for whatever other purpose you need it for).
Out of curiosity - would anyone else need something like this?
So far, it can insert an infinite amount of (user configurable with an optional
Hi,
Sorry to bother everyone, but I've looked online and have been looking at the
Maven source code for a while and still haven't figured this out. Any help you
could give is greatly appreciated!
Here is my issue: I am currently using Maven with Nexus to save our build
artifacts. After we
No. But I do know a Nexus specific url (REST call) which you can use by
populating it with groupId, artifactId and version [1].
/Anders
[1]
https://docs.sonatype.com/display/SPRTNXOSS/Nexus+FAQ#NexusFAQ-Q.HowcanIretrieveasnapshotifIdon%27tknowtheexactfilename%3F
On Fri, May 20, 2011 at 23:02,
On Fri, May 20, 2011 at 5:02 PM, Freeman, Brian
brian.free...@libertymutual.com wrote:
Here is my issue: I am currently using Maven with Nexus to save our build
artifacts. After we create the artifact and it has been deployed out to
Nexus I would like to run an Ant script that we use to
I am trying to define local repository path in settings.xml on Windows.
I have a windows environment variable CODE_BASE=C:\mycode
In settings.xml , I put
localRepository${env.CODE_BASE}\build\local_depot/localRepository
But it does not read environment variable. How can I read environment
I have figured out the way to use {env.CODE_BASE} but for that each user will
have to change their settings.xml.
Is there a way, I can define localRepository in project pom file instead of
settings.xml so that user does not have to define environment variable and edit
their settings.xml.
Can you describe more about what you are specifically trying to accomplish?
Maybe the list can help better that way.
In general, the location of the repository should not matter. One of the
beautiful things about Maven is it manages the location per machine
automatically. There's no need to
Thanks Brian for your reply.
Our developers work on several projects at same time using same machine. What
we want is that when they build the particular project then every thing related
to project goes to its own build directory (lot of output other than jars)
instead of putting every thing
AFAIK there is no way to do this in settings.xml. It is a chicken egg
problem that has never been effectively solved in maven.
What you can do, is pass the repository location in as a property.
Typically I create an alias (or a .bat file on windows):
alias svmn mvn
20 matches
Mail list logo