Ok, perhaps I was not able to describe properly my issue, I try with other
words:
How could I do to achieve this:
My web app project has obviously the ...src\main\webapp\WEB-INF folder with
inside some xml file, for example web.xml, repository.xml and others...
I would like to manage some
I'm running into the exact same problem.
I'd be really convenient to be able to keep the same properties name.
Could someone confirm this is a problem or the expected behavior?
Is there any workaround? apart from renaming properties?
cheers
-nodje
rundmsef wrote:
If you are attempting
This doesn't work very well in practice. In order to avoid having to put
this in every single pom, you would want to put it in a common parent or
corporate pom. If you're building on a clean system, it needs to find
the repo to find the parent which will tell it where the repo
is...chicken or egg.
Hi Rémy,
You'd better ask your question directly to the cargo mailing list (cf.
http://www.nabble.com/Cargo---User-f2406.html).
Rémy
Is this directory correct? Above you named it configuration/dev instead
of configuration/release.
Hi Martin,
the directory is correct, I simply made an error in writing my first
postconfiguration/dev is correct
Is the profile active? You can verify this by executing mvn -P dev
Hi all,
I have a multi-module project project which is built nightly by
Continuum with the deploy goal.
Most of the time the build fails because of communication errors, such as:
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from [EMAIL
Hi all,
During mvn install builds, there is a frequent connection error:
Provider message: The svn command failed.
Command output:
---
svn: PROPFIND request failed on '/system-serialization/trunk'
svn: PROPFIND of
maven central does have this plugin
http://repo2.maven.org/maven2/org/codehaus/mojo/dbunit-maven-plugin/
what is your pom looks like? any more error details?
-D
On Sun, Nov 2, 2008 at 7:32 PM, Sreenivasulu Pulijala
[EMAIL PROTECTED] wrote:
Hi,
I got the following error , while I was
Hi there,
i have a working setup with a multi module which is working fine.
But now i have observed a little strange thing which i don't understand.
Root
+--- M1
+--- M2
+--- M3
If i do a mvn clean package from Root the defined assemblies will be
generated.
If i do a mvn clean package
inheritance? Root is parent of M3!
K
-Ursprüngliche Nachricht-
Von: Karl Heinz Marbaise [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 3. November 2008 15:33
An: users@maven.apache.org
Betreff: Assembly with Multi Module Project
Hi there,
i have a working setup with a multi module which
Dear mavenites,
I cant seem to figure out how to turn on verbose option to ant in
maven-antrun-plugin.
Surely this must be supported? TIA for your help.
--
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com
-
To
Hello,
You should definitly have a look to docbkx-tools plugin (
http://code.google.com/p/docbkx-tools/
http://code.google.com/p/docbkx-tools/ and
http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html
http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html ).
It is working
Anyone? :-)
Hi
I'm trying to use the Checkstyle plugin with one central
checkstyle.xml
configuration for all projects.
I set up a web server which has the file at
http://buildconfig.ipie.ch/checkstyle/checkstyle.xml
I configured this in my POM:
plugin
I need to zip my webapp folder content starting at that level retaining the
folder structure (not at the root and not including webapp folder itself) - Is
it possible to do it with Assembly or do I need to write a custom mojo?
Thanks,
Bob S.
Dear all
I have a parent project 'proj' which contains two sub projects: 'core'
and 'tools'.
core depends on tools. tools is built first. core and tools have a child
relationship to the parent 'proj'.
When running 'mvn package' in the parent project, everything builds
fine. no problem.
On 31 Oct 2008, Raffaele wrote:
Hi all,
I have yet a question about correct using of WAR plugin, I'll try to
describe my scenario:
Here it is a part of my project structure:
| configuration
|- dev
|-- WEB-INF
|--- repository.xml
| src
|- main
|-- webapp
|--- WEB-INF
|
Hi,
I'd like to access to the org.apache.maven.project.MavenProject or
org.apache.maven.model.Model from 'outside' of the maven plugin
environment.
I dont want to (I can't) write a maven plugin that get thoses deps
injected by plexus or Spring.
I need to access pom's information from an external
Hi all,
I should
1. Build my project (jar into jboss should be deployed).
2. After that run my tests on jar. %-O
All must automatically maked by Maven. %-|
The part one is clear.
But how can I go ahead that 1.2. work?:confused:
Thanks beforehand,
Regards, butters
--
View this message in
Hello all...
Every day I am one step closer to decide to migrate to maven2, however I have
a new question.
Suppose that I have a project X that depends on Y and Z. When I finish this
project it is common to give the source code to the client. Usually, I deliver
the source code, ant scripts and
If you just want to introspect POM metadata then have a look at maven-runtime:
http://maven.apache.org/shared/maven-runtime/
Mark
2008/11/3 Julien Graglia [EMAIL PROTECTED]:
Hi,
I'd like to access to the org.apache.maven.project.MavenProject or
org.apache.maven.model.Model from 'outside' of
Hi,
To make it quick here is my problem :
I'm using the site:deploy goal in my mvn command line to deploy the maven
site somewhere on my disks and it's working fine. In the same time i'd like
my site to be generated in my target directory (which is ok under
/target/site) but in the
David Ojeda wrote:
So my question is: what can I do if I want to deliver give the source code and
the dependencies jars?
Here are some of my ideas:
- Maintain a private repository with dependencies and use the deploy:deploy-
file goal to add dependencies to it.
Problem: in the love/hate
Is there a way to disable Cobertura? When it runs, my test lifecycle is run
again, and I don't want this to happen. I want the POM to behave like
Cobertura doesn't exist.
Is this possible?
Hi David,
nobody said that a repository has to be remote, you can create a local
file repository, and install there (copying it from the main repo, or
using mvn deploy) all the dependencies you want, then configure this
repository in your pom, and ship it together with you project.
For example,
Hi,
I am trying to pull dwr from the central repository
The most recent stable release of dwr is 2.05
(http://directwebremoting.org/dwr/download)
But only find 1.1.3 in maven repository
http://repo1.maven.org/maven2/dwr/dwr/1.1.3/
Appreciated if I can get some help here.
Thanks a
Qi Gong a écrit :
Hi,
I am trying to pull dwr from the central repository
The most recent stable release of dwr is 2.05
(http://directwebremoting.org/dwr/download)
But only find 1.1.3 in maven repository
http://repo1.maven.org/maven2/dwr/dwr/1.1.3/
dwr has been relocated
put the cobertura plugin configuration in a profile that is not active by
default.
2008/11/3 Blake Martin [EMAIL PROTECTED]
Is there a way to disable Cobertura? When it runs, my test lifecycle is run
again, and I don't want this to happen. I want the POM to behave like
Cobertura doesn't
Each one of those profiles has its repository.xml file, and I would like
that when I run mvn package -P one of those profiles the correct
repository.xml file went to final packaged war.
Generally, you would do this with a single repository.xml file and use
filtering to set the
Unless you are trying to do: Stupid code coverage mistake #1...
Stupid code coverage mistake #1 is only running your tests once (usually
with instrumentation... but the same mistake works the other way around).
This is a mistake because 99.9% of developers (who try to do this) do not
understand
I concur 100%!
Strange, but true analogy - quantum cryptography is so interesting
because of the same principle: we cannot observe a phenomena without
changing it
Stephen Connolly wrote:
Unless you are trying to do: Stupid code coverage mistake #1...
Stupid code coverage mistake #1 is only
I’ve been using Maven for a year now and am pretty happy with it.
It has cons and pros.
Recently, I decided to introduce some changes into the build process and I was
unable to figure out the following:
* I want to have the final artifact name (.jar, .war, etc) WITHOUT the version
number. The
On Mon, Nov 3, 2008 at 10:55 AM, Emmanuel Séguin [EMAIL PROTECTED] wrote:
To make it quick here is my problem :
I'm using the site:deploy goal in my mvn command line to deploy the maven
site somewhere on my disks and it's working fine. In the same time i'd like
my site to be generated in my
Taub, Jonathan wrote:
Recently, I decided to introduce some changes into the build process and I was
unable to figure out the following:
* I want to have the final artifact name (.jar, .war, etc) WITHOUT the version
number. The application/libraries are not meant to be a third party and
I understand your concern.
However, the application itself is self contained and is not meant to be a
third party application/library. Each release is tagged in Subversion, proper
release notes are maintained, and the application will contain a web page
specifying the current build/version.
You can use maven release plugin to help alleviate the burden of updating the
versions in the pom files.
Also isnt it the whole point of CVS tagging combined with maven build to
reproduce exactly the same binaries ? I would strongly advise against checking
any sorts of binaries in your
On Nov 3, 2008, at 12:42 PM, Oleg Gusakov wrote:
Strange, but true analogy - quantum cryptography is so interesting
because of the same principle: we cannot observe a phenomena
without changing it
Otherwise known as the Heisenbug:
http://en.wikipedia.org/wiki/Unusual_software_bug
Trevor
Regardless of the versioning control system being used (CVS, Subversion, etc.),
I agree, that generally, it should include source files only.
HOWEVER, depending on your build, you may have more than one repository. Each
of the repositories is hosted by a 3rd party which has no obligation
Hello,
I have one module (A) dependant on another module (B). I made a change to
the API of A and did a deploy to the repository (SNAPSHOT version). I then
try to compile B, but it doesn't download the new SNAPSHOT version that's
just been deployed, the only way I was able to is by deleting
If you can provide me a snapshot build of the fix, I can also test it
on many of my company project that all show the issue.
On Mon, Nov 3, 2008 at 12:43 AM, Eugene Kuleshov [EMAIL PROTECTED] wrote:
Gopal Patwa wrote:
[skip]
So, I can't use Build Automatically option from eclipse, if I
Taub, Jonathan wrote:
I’ve been using Maven for a year now and am pretty happy with it.
It has cons and pros.
Recently, I decided to introduce some changes into the build process and I
was unable to figure out the following:
* I want to have the final artifact name (.jar, .war, etc)
Taub, Jonathan wrote:
I understand your concern.
However, the application itself is self contained and is not meant to be a
third party
application/library. Each release is tagged in Subversion, proper
release notes are
maintained, and the application will contain a web page specifying
the
Doesn't cobertura have a skip parameter?
-Original Message-
From: Blake Martin [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008 10:58 AM
To: Maven Users List
Subject: No Cobertura, please
Is there a way to disable Cobertura? When it runs, my test lifecycle is
run
again, and I
I am running my application using the maven-jetty-plugin. I need help with
configuring log4j. I added log4j.xml inside my web-inf, my application is
spring based and I am assuming spring automatically initializes log4j
whenever it finds in classpath. my application is a war file and palced my
Hello,
I'm new to maven and I have a question regarding multiple projects and
how the can be linked. I've created a common code project, and I
have another which depends upon this project. I've got two
directories, two pom files, etc., and the common code project can
generate a jar file
[EMAIL PROTECTED] wrote:
I'm new to maven and I have a question regarding multiple projects and
how the can be linked. I've created a common code project, and I
have another which depends upon this project. I've got two
directories, two pom files, etc., and the common code project can
Each person has his/her own experience.
I have had the unfortunate experience that builds cannot be reproduced,
when the entire build is performed automatically (bugs do exist elsewhere).
So this is not a myth. I even came across a scenario that on rare cases,
creating a .jar file using the exact
Hi,
Which version of the resources plugin are you using ?
--
Olivier
2008/11/3 nodje [EMAIL PROTECTED]:
I'm running into the exact same problem.
I'd be really convenient to be able to keep the same properties name.
Could someone confirm this is a problem or the expected behavior?
Is there
As for repositories hosted by 3rd parties, if you dont trust them why not setup
your own maven2 intranet repository (which is quite easy to do by the way) and
copy the dependencies you need there ?
Whenever you release artifacts using the maven release plugin it will
automatically generate an
I've got a POM that packages up my code using the Assembly plugin,
then it does some custom processing of the assembled code using the
AntRun plugin. To accomplish this, I've got both plugins bound to the
package phase so that they always run together.
This works okay, except that whenever
I have a project with a dependency on activemq. During the build, this
activemq dependency seems to introduce a dependency on javacc with what
looks like a bad version number, which cannot be located and breaks the
build. Here's the output:
Missing:
--
1)
That being said you should never need to.. - again, this is incorrect,
given personal experience. While bloating the size of the repository I agree,
the file will reside outside of source code folder, naturally.
I appreciate people feedback on this.
However, please keep in mind that the topic
Please help me setup log4j with maven jetty plugin . here my configration
for maven jetty plugin
plugin
groupIdorg.mortbay.jetty/groupId
artifactIdmaven-jetty-plugin/artifactId
version6.1.12.rc4/version
configuration
HI,
I am trying to set up an ANT FTP task using maven-antrun-plugin as
below..but it errors out with the following error..
I have the oro.jar and commons-net.jar in my C:\ant\lib folder..
Thanks!
Embedded error: Could not create task or type of type: ftp.
plugin
I am trying to set up an ANT FTP task using maven-antrun-plugin as
below..but it errors out with the following error..
I have the oro.jar and commons-net.jar in my C:\ant\lib folder..
You will need to add plugin dependencies to the maven-antrun-plugin
itself to specify the jars necessary for
Taub, Jonathan wrote:
I am well aware that some of the things I want to do go against Maven.
However, all is based on personal experience and I don't consider Maven to be
a magic pill. My experience has shown me that too many people rely on
technology and automation to solve everything
Hi Eugene,
I tried with simple multi-module maven project but could not reproduce the
problem, I will perform quick check between my production project and test
project and see what I will be required to reproduce this issue in some
sample test project.
Eugene Kuleshov wrote:
Gopal Patwa
Again, I appreciate the feedback. All that has been said is already known to
me. Builds should always be automated - did not ask this to be different.
I have had the pleasure of working on a project where there was actually too
much documentation. Improper documentation resulted in having it
On Mon, Nov 3, 2008 at 11:10 PM, Mimil [EMAIL PROTECTED] wrote:
Hello,
You should definitly have a look to docbkx-tools plugin (
http://code.google.com/p/docbkx-tools/
http://code.google.com/p/docbkx-tools/ and
http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html
Does this help:
http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin
Near the bottom is some stuff about logging.
miro wrote:
Please help me setup log4j with maven jetty plugin . here my configration
for maven jetty plugin
plugin
Hello
i have my forst j2ee project using maven.
how can i deploy the j2ee project (war) into one local jboss using maven?
can you help me?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
hello
into my ide (eclipse) i have severeal j22 projects (2 war, one core java
project and 3 webservice project.
for building this with is the betther method? to build all into only one
maven multi module project or one maven ear project and several projects?
thanks
Jim,
Looking at central repository, the pom provided by
activemq:activemq-core:4.0-M3 seems to require some more information, like
versions of dependencies. So you have two choices:
1. to provide all these information (for all packages listed in [1]) through
-D parameter in command line (ex: mvn
Здравствуйте!
Ваш запрос принят. Запросу присвоен тикет №356591250
В течение одного рабочего дня им займется сотрудник технической поддержки.
Вы получите от него сообщение.
Данное сообщение сгенерировано роботом.
-
To
Hi,
Take a look at Cargo Plugin [1]. But, if you only need to copy your package
into hotdeploy dir, you can just do a batch file to do it ;-)
Rafael Trestini
Refs:
[1] http://cargo.codehaus.org/Maven2+plugin
On Mon, Nov 3, 2008 at 11:03 PM, Koxkorrita [EMAIL PROTECTED] wrote:
Hello
i have
Maven 2.09, Windows XP, Java 1.5
I have built a Mojo which extends AbstractMojo via a couple of abstract
classes. These abstracts themselves request parameters, such that the
list of declarted parameters is:
/**
* @parameter expression=${localRepository}
*/
protected
It works just fine, with the caveats and practice you mentioned. It should
be obvious that the location of central cannot be overridden before you have
the pom. I'd say that in a typical corporate environment you want to do
both: override central in your company pom and use your own team's proxy
On Sun, Nov 2, 2008 at 9:36 AM, Craig L Russell [EMAIL PROTECTED] wrote:
I've got a problem using java native libraries with mvn. The tests that fail
with mvn run with ant.
Any ideas? Other things to try?
...
Maven version: 2.0.6
Can you reproduce it with 2.0.9 or the latest 2.0.10 release
Since there seems to be little or no doco or support issues around this
I'm obviously missing something obvious. Could someone kindly point out
to me what I've missed.
Ugu, little to no doco?
http://www.sonatype.com/book/reference/writing-plugins.html
Glancing at the code you supplied, I
Good question actually.
I realize I don't even specify it in my pom, I took for granted it was
included with the Maven default config. Which, when looking at the Maven
super pom, it is not. It's only specified in the pluginManagement section
and with version 2.2. As I understand pluginManagement
But I thought expression= was used to put vm args and other
environmental values into a parameter. In fact, this is what I do for
/**
* @parameter expression=${localRepository}
*/
protected ArtifactRepository localRepository;
But everywhere else, I want to set the values from
Maven 2.09, Windows XP, Java 1.5
I have built a Mojo which extends AbstractMojo via a couple of abstract
classes. These abstracts themselves request parameters, such that the
list of declarted parameters is:
/**
* @parameter expression=${localRepository}
*/
protected
Thanks Wayne, that worked wonderfully!
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008 4:31 PM
To: Maven Users List
Subject: Re: Setting up an ANT FTP Task using maven-antrun plugin
I am trying to set up an ANT FTP task using
Hi
I am pretty new to maven . My question is what goal will be executed for the
followng script
build
defaultGoalinstall/defaultGoal
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
/plugin
/plugins
/build
How
Hi,
As we have an it test [1] which test this and works, it should :-)
--
Olivier
[1]
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/it/filter-test-resources/
2008/11/4 nodje [EMAIL PROTECTED]:
Good question actually.
I realize I don't even specify it in my
But I thought expression= was used to put vm args and other
environmental values into a parameter. In fact, this is what I do for
I won't claim to be a Plexus expert. In the plugins I have developed,
I have used expression with no default-value and default-value with no
expression, depending on
OK, I think I've found the problem.
When I put configuration inside the execution tags it does not get read
build
plugins
plugin
groupIdsample.plugin/groupId
artifactIdmaven-hello-plugin/artifactId
version1.0-SNAPSHOT/version
executions
Doesn't Maven check if there is a newer SNAPSHOT version based on the
timestamp??
Only if you have configured updatePolicy always in the repository
configuration of your settings.xml. Otherwise, the default is daily.
http://maven.apache.org/settings.html
Wayne
Ah, I see where you're going.
I did actually try that, unfortunately, it would either pipe through
null (because the expression value did not resolve to anything), or the
default value, itself (if that was what I was trying to parse). Never
did it actually read the pom file.
Anyway, thanks, as
78 matches
Mail list logo