Hi,
I'm working on a multimodule project and after making a change in a
module X, I would like to do the following:
- mvn clean install on all modules in the project that have compile
dependencies on X;
- mvn test on all modules in the project that have runtime and test
dependencies on X.
In your dependency declaration, did you include war for
the child1 dep in the child2 pom? Or how are you declaring the
dependency?
Perhaps show us your pom(s).
Wayne
On 11/26/07, Anand Rathi <[EMAIL PROTECTED]> wrote:
> Hi Juven,
> I removed child1 jar dependency and only kept child1 war depende
Hi Juven,
I removed child1 jar dependency and only kept child1 war dependency but while
building child2 project, it is still expanding child1 jar file instead of
child1 war file. Also it is picking up 'child1-1.0-SNAPSHOT.jar' from
'child1\target' folder instead of repository. This is happening
I was using maven-assembly-plugin 2.2-SNAPSHOT and tried to switch to
2.2-beta-2-SNAPSHOT but encountered a problem.
I reference properties from my pom in the assembly descriptor, like this:
...
myapp/WEB-INF
..
...
${basedir}/target/config/somefile.conf
$
An improvement request is filed:
http://jira.codehaus.org/browse/MCOMPILER-62
Sahoo
Wayne Fay wrote:
I haven't looked at the code, but based on some historical emails on
this list it seemed like multiple tags were the way
to go. One possible fix would be to take away the quoting of these
argum
Many plugins offer a configuration option. Check the plugin
docs to see if jspc-m-p does, and if it does not, file a JIRA to
request that someone else add it or do it yourself. Then you could
simply add the plugin in the parent, and declare it with
true in the non-WAR children projects.
Wayne
On
Hi, Anand:
If child2 has a dependency on child1 war, I think you don't need to make
dependency on child1 jar. Cause all the xml file and class file will be
inherited.
Thanks,
Juven
On Nov 26, 2007 3:34 PM, Anand Rathi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a multimodule project as sh
It sounds odd to have that many release version per day. Version range
notation would be perfect for what you need..
i.e.,
[2.1, )
Having said that I found a number of problems with using version range and
I am stuck with 2.0.6 because 2.0.7 gives me NPE when it tries to resolve
conflict betw
Hi
I have a super-parent POM that all of my projects inherit...
90% of the projects are WAR files and few are multi module JARs
I would like to define a JSPC compile plugin at the super-parent POM level but
the problem arises when building non-WAR projects
How can I "redefine" specific
Copied from [1]:
The quick answer is that because of cross-site scripting security built
into JavaScript engines in all browsers, you can't edit the content of a
web page from another domain. The foreign page will probably load
correctly and be visible in the test runner window, but Selenium w
People who have volunteered seem to want about one week to work on this.
So I don't plan to make the release this week. If you need more time
than a week, let us know how much and we'll see if we can adapt the
release date to your requirements.
Thanks!
Jose Alejandro Uriza Zepahua wrote:
I w
Thanks!
Juven Xu wrote:
Hi, Denneis:
I can take the zh_CN translation and finish it in this week.
On Nov 26, 2007 3:35 PM, Milos Kleint <[EMAIL PROTECTED]> wrote:
it's in mojo's sandbox
https://svn.codehaus.org/mojo/trunk/sandbox/l10n-maven-plugin/
Milos
On 11/26/07, Wim Deblauwe <[EMAIL
hi all,
i am trying out Maven2 with selenium plugin, but i am getting alwasy
same error and i was wondering if anyone else here came across
same situation...
here's my test
( i had my own url but as i kept on getting
exceptions i tried with a well known one
Is it possible to have more than build definition in the same project
group to be set to default? Thank you.
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipie
Using maven 2.0.7 - I have a project that creates a war file. I want to
modify the war file and rename some of the files based on the current
project version. So my assembly.xml looks like:
distribution
war
true
src/main/webapp/script
I haven't looked at the code, but based on some historical emails on
this list it seemed like multiple tags were the way
to go. One possible fix would be to take away the quoting of these
arguments, but I'm not sure if this wouldn't create some new
unintended side-effects.
It certainly sounds lik
org.apache.maven.plugins
maven-scm-plugin
1.0-rc1
*${scm.username}
${scm.password}*
On Nov 26, 2007 11:37 AM, Jon Strayer <[EMAIL PROTECTED]> wrote:
> How do
How do I set the user id maven uses when deploying via scp?
--
Esse Quam Videre
To Be, rather than to Seem
My first assumption was indeed wrong, because I used java 1.5 to check
for the existence of those properties. Also, your description (They are
not supported by javac.) set me on the wrong track. See my other mail
for the how and why of this error.
And indeed, in the current implementation, whe
> Just do what is asked (you need to have maven 2 installed), go to
> those url's, download the needed jar and add it to your local
> repository using the mvn install:install-file command.
Already done that, that's why I'm posting this thread.
> Apache can not host those files in their repository
Unfortunately what I suggested doesn't work because of
http://jira.codehaus.org/browse/MDEPLOY-44 - setting uniqueVersion from the
command line doesn't work together with deploy:deploy, only with
deploy:deploy-file - of course you could use the latter but it gets even
more cumbersome.
Kalle
On 1
Hi,
+1 for the idea of making a dependency:resolve-gui goal; it would be
nice :-)
I have a problem testing your tool : it doesn't seem to properly manage
properties.
I don't know if it comes from your code or maven-model but there's an
issue having in a pom.xml something like this :
...
Yup, that was the problem, removing the remote debug args fixed it.
Should I file a Jira issue about it?
Bashar
Jorg Heymans wrote:
I've seen this happening when MAVEN_OPTS is set to enable remote debugging.
What happens is that the release plugin invokes a system exec of some sort
of mvn which
Hi,
Just do what is asked (you need to have maven 2 installed), go to
those url's, download the needed jar and add it to your local
repository using the mvn install:install-file command.
Apache can not host those files in their repository because of
licensing issues...
If you have a company-wide
Now down to one artifact when using the data-management-cli-1.1-app.jar
migration tool:
0 [main] INFO org.apache.maven.continuum.management.DataManagementCli -
Processing Continuum database...
Exception in thread "main"
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Mis
I doubt those message come from javac. They were printed by maven when I
ran it with -X option. Tell me what is the option that is *not*
supported by javac. AFAIK, all the options that I want to pass are very
much supported by javac. Check out the documentation [1] of javac that
comes with Sun
I've found the problem. Plexus (which runs the compiler and commandline) is
quoting each argument. So for this configuration:
org.apache.maven.plugins
maven-compiler-plugin
1.6
1.6
${java.home}/lib/rt.ja
CasMeiron wrote:
Any help guys?
I would suggest using application.xml to point in the datasource file in
the EAR with:
path/to/my/myapp-ds.xml
Now, to include this in the EAR during the build is another issue. You
could add the file in ear-project/src/main/application/APP-INF/classes,
I
Hi,
Can Java2wsdl goal be used to generate artifacts for multiple java service
classes.
I have my maven project, which contains multiple service implementation
classes which i need to expose as webervices. I'm using java2wsdl, wsdl2java
and admin goals all together to publish webservices.
The pr
Any help guys?
On Nov 23, 2007 3:29 PM, CasMeiron <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Im trying to create a full ear project with maven2.
> Entities module, Ejb3 module, war modules etc...
> In my ejb3 module, i have the file "my-app-ds.xml" inside
> src/main/resources/META-INF
> In my ear
Hmm, weird.
As a workaround, I think you can use datamanagement 1.1 to migrate your data
because we don't have db schema (if I remember it correctly between 1.1-beta-4
and 1.1 final)
Emmanuel
Johnathan Gifford a écrit :
While trying to migrate our data from 1.1-beta-4, I'm getting the follow
If you are releasing something, I think it's wrong to force your clients to
move onto the new versions. If the client modules using your module would be
in control of what they use, they'd update versions in their own schedule,
even skip some. I haven't tried, but I wonder if it'd work to use both
Thanks a lot Wayne
Wouldn't it be a good feature to be able to specify
that all dependencies for a particular project needs to be rebuilt or not
according to the requirements? That way we do not have to worry about a
dependent project being modified and us not having the l
While trying to migrate our data from 1.1-beta-4, I'm getting the following
error trying to export data out of the beta install:
0 [main] INFO org.apache.maven.continuum.management.DataManagementCli -
Processing Continuum database...
Exception in thread "main"
org.apache.maven.artifact.resolve
that only works for plugins, not for compile dependencies...
I have the same problem, but I do my versioning slightly different.
When I release my 1.0.0-SNAPSHOT, I'll make the release version
1.0.0.v20071126, and keep the development version at 1.0.0-SNAPSHOT...
Tom
On Nov 26, 2007 5:32 PM, EJ
The fault message you see is actually from javac itself. You're trying to add
options that are not supported by javac. All javac options are "supported" by
the mojo, it simply passes them to javac.
Why would you want to add options to javac which are not supported by javac?
With regards,
Nick
Hi all,
I was just building my site again (to check if everything is still okay for an
upcoming release) and I saw all those ugly JavaDoc warnings fly by.
I've been thinking about this before, but never got around to posting: Is
there a taglet or something that I can use for my Maven-plugins? A
I don't remember exactly (and my list of mvn bookmarks aren't working as well
as they used to), but my recollection is if you put nothing for version number,
it depends on the metadata stored in your internal repository (as long as that
is kept up to date). Or was there a way to say "use the re
What does your SCM configuration look like? Which protocol are you using?
Please give some more information.
With regards,
Nick Stolwijk
-Original Message-
From: Bashar Jawad [mailto:[EMAIL PROTECTED]
Sent: Mon 11/26/2007 5:11 PM
To: Maven Users List
Subject: Re: Maven release plugin:
I don't think there is anything stopping anyone to wrap a
plugin/MOJO-interface around the maven-dependency-browser to achieve
what you suggest :)
- Rune
Martin Gilday wrote:
Thanks Jake. I wasn't suggesting you move away from the GUI, I just
wasn't aware that you couldn't lauch a GUI from
I've seen this happening when MAVEN_OPTS is set to enable remote debugging.
What happens is that the release plugin invokes a system exec of some sort
of mvn which then tries to use the same MAVEN_OPTS and fails because the
debug port is already taken.
Makes sense?
Jorg
On Nov 26, 2007 5:11 PM,
I need some help understanding the final tag, release, assemble process with
continuum ans remote subversion.
Here is my scenario:
I have a remote SVN that all developers use. Then I have a continuum box,
that also has our remote repository. Each time we build on the build server,
I want this to b
You have to use href="./link.xml", see
http://jira.codehaus.org/browse/DOXIA-47. We have implemented a
workaround for html files only for backward compatibility reasons, but
you should really use that for all file types (ie href="link.html" will
work but you should really use href="./link.html"
I still can't resolve this issue. I am using Maven 2.0.7. This is a
major blocker issue for me so I would really appreciate any help. Does
anyone at least know what port the release plugin uses ?
Thanks,
Bashar Jawad wrote:
I am trying to use the maven-release-plugin to prepare and perform a
Yes, I knew that approach, but the options I actually want to pass are
not supported by the mojo. nowarn and verbose were just used as
examples; I want to pass -proc:none and -implicit. They are not
supported by javac. There are many such options which are not supported
by the mojo. I thought c
Hi,
I've just noticed a problem with maven -site-plugin 2.0-beta-6-SNAPSHOT :
simple relative links to xml files are transformed into internal links , so
that
link.xml in the xdoc file becomes link.xml in the generated html file
This occurs wit
No, the surefire plugin runs your tests, and is by default enabled for most
packagings, so if you want to pass in properties you have to override the
configuration. The report plugin only does that, the reporting. It takes the
results from target/surefire-reports and creates the html files from
Hi,
yes, we were only using the reports plugin, ive added the
maven-surefire-plugin and the system properties get passed through, I would
have thought the reports plugin would pass them in.
nicklist wrote:
>
> You are configuring the wrong plugin:
>
> On the webpage:
>
> org.apache.m
I would like to help you with the Spanish translation. When would you
need it?
Regards,
Alejandro Uriza
-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED]
Sent: November 24, 2007 1:03 PM
To: Maven Users List
Subject: The Maven team needs help from translators
Hi all
W
If it is only a jar file you wish to deploy:
mvn deploy:deploy-file [1]
Hth,
Nick Stolwijk
[1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html
-Original Message-
From: Thomas Jackson [mailto:[EMAIL PROTECTED]
Sent: Mon 11/26/2007 3:36 PM
To: Maven Users
Subje
I have a jar from a third party that I want to use in my maven project.
I was wondering if there is an easy way to setup a maven project so that
I can replace the jar and have it deploy to the server using mvn
deploy. Does anyone have any instructions or samples of doing this? I
know I can c
You are configuring the wrong plugin:
On the webpage:
org.apache.maven.plugins
maven-surefire-plugin
In your code:
org.codehaus.mojo
surefire-report-maven-plugin
Hth,
Nick Stolwijk
-Original Message-
From: Jimbog [mailto:[EMAIL PROTECTED]
Sent: Mon 11
According to the web page [1], this should be:
org.apache.maven.plugins
maven-compiler-plugin
${java.home}\lib\rt.jar
So can you try that?
Hth,
Nick Stolwijk
[1]
http://maven.apache.org/pl
Hi,
Im trying to pass a system property into surefire to override a coherence
cluster address, I have my surefire plugin configured as per..
http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html
Try this approach:
true
1024m
true
true
etc...
To know element names to use, use the Name found in the Optional Parameters
section of this page:
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
> --
Hey all,
We have released the 1.3 final version of the maven-js-plugin. Please
see http://ossi.mobilvox.com/maven-js-plugin for full release details
and documentation on the plugin. Also, the project can be found at
http://sourceforge.net/projects/maven-js-plugin
Thanks,
Adam Altemus
Software
Hi,
I will try to help with the italian translations.
Giancarlo
2007/11/24, Dennis Lundberg <[EMAIL PROTECTED]>:
> Hi all
>
> We are preparing the next release of the
> maven-project-info-reports-plugin. The current localizations are lacking
> translations for lots of resources. We need your he
Ignore my earlier email. The suggestion actually does *not* work. When I
run with -X option, it shows only the last compilerArgument. See the
following output:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile' -->
[DEBUG] (f) basedir = /tmp/my-app
[DEBU
2007/11/26, Milos Kleint <[EMAIL PROTECTED]>:
> it's in mojo's sandbox
> https://svn.codehaus.org/mojo/trunk/sandbox/l10n-maven-plugin/
Very interesting !
Any chance to see it out of the sandbox soon ?
Thanks
Damien Lecan
-
To
Thank you, Vincent:
I've checked out the maven-site-plugin and
maven-project-info-reports-plugin, starting doing translation for zh_CN.
I have to say it's a fantastic experience to make contributions for Maven
and I hope I can do more.
On Nov 26, 2007 8:04 PM, Vincent Siveton <[EMAIL PROTECTE
Hi, Denneis:
I can take the zh_CN translation and finish it in this week.
On Nov 26, 2007 3:35 PM, Milos Kleint <[EMAIL PROTECTED]> wrote:
> it's in mojo's sandbox
> https://svn.codehaus.org/mojo/trunk/sandbox/l10n-maven-plugin/
>
> Milos
>
> On 11/26/07, Wim Deblauwe <[EMAIL PROTECTED]> wrote
Hi
Thanks for your help. Here is a first step that could help you
http://maven.apache.org/plugins/maven-site-plugin/i18n.html
Cheers,
Vincent
2007/11/23, Juven Xu <[EMAIL PROTECTED]>:
> Hi, guys:
>
> I'm a maven user from China and I do the build work for my company which
> is in Shanghai.
>
Try using the SCM plugin [1] to checkout the files you want into the target
directory. From there the assembly plugin can use them.
Hth,
Nick Stolwijk
[1] http://maven.apache.org/scm/plugins/
-Original Message-
From: Vishal Pahwa [mailto:[EMAIL PROTECTED]
Sent: Mon 11/26/2007 12:52 PM
On Mon, Nov 26, 2007 at 12:28:44PM +0100, Nicole Lacoste wrote:
> Please don't address the list as gentlemen! It isn't nice for the
> gentlewomen who are on the list too :-)
Ouch, please excuse me, I didn't mind to offend you ;)
Probably I had to use "Gentlehomo"? ;)
--
Eugene N Dzhurinsky
pg
Hi
We are using maven2.0.6. I am using assembly plugin for generating the
release package. In that i am using tag. but i need to give
the location from SVN address so that i could get the files directly
from SVN repository. In ant i know tag is available as src="" target=""
username="" passwor
On Mon, Nov 26, 2007 at 11:13:43AM +0100, [EMAIL PROTECTED] wrote:
> If I recall correctly, there is a bug in the settings.
>
> When you have a repository and a server with the same id, Maven gets confused.
>
> So, do you also have a repository configured with id ourrepository?
>
> Normally I po
Please don't address the list as gentlemen! It isn't nice for the
gentlewomen who are on the list too :-)
Nicole
On 26/11/2007, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
>
> Hello, gentlemen, we are using Artifactory to hold the modules we're using
> in
> Maven, for some weird reason we can
Ok my problem is solved,
--> Sorry
Saloucious wrote:
>
> Ok my problem are solved,
> because I haven't understand that defining a profiles List on command line
> (-P) overrides actived By Default profiles configuration
>
>
>
> Wendy Smoak-3 wrote:
>>
>> On Nov 23, 2007 10:03 AM, Saloucio
Ok my problem are solved,
because I haven't understand that defining a profiles List on command line
(-P) overrides actived By Default profiles configuration
Wendy Smoak-3 wrote:
>
> On Nov 23, 2007 10:03 AM, Saloucious <[EMAIL PROTECTED]> wrote:
>
>> Is it possible to activate a profile if a
Hi, João, Ludovic
This feature is part of the upcomming new archetype plugin
Regards,
Raphaël
2007/11/11, Ludovic Claude <[EMAIL PROTECTED]>:
> Hi João,
>
> I've tried to do that as well, and I never found a way to make this
> work. If you find a solution, please let me know!
>
> Regards,
> Lud
Hi,
I'm trying to use maven-dependency-plugin with tag in my
configuration part:
org.apache.maven.plugins
maven-dependency-plugin
get-resources
process-resources
If I recall correctly, there is a bug in the settings.
When you have a repository and a server with the same id, Maven gets confused.
So, do you also have a repository configured with id ourrepository?
Normally I postfix every server id with .server, so in this case the server id
becomes ourrep
Hello, gentlemen, we are using Artifactory to hold the modules we're using in
Maven, for some weird reason we can't upload an artifact to the repository.
For example I want to deploy the artifact with such command:
mvn deploy:deploy-file -DgroupId=org.apache.hadoop \
-DartifactId=hadoop-core
Thanks Jake. I wasn't suggesting you move away from the GUI, I just
wasn't aware that you couldn't lauch a GUI from a Maven plugin. It
would just be nice for something like this to be part of the dependency
plugin. mvn dependency:resolve is great, mvn dependency:resolve-gui
would be even better.
Thanks, that works.
Sahoo
Wayne Fay wrote:
Try this, Sahoo:
org.apache.maven.plugins
maven-compiler-plugin
-nowarn
-verbose
On 11/22/07, Sahoo <[EMAIL PROTECTED]> wrote:
As suggested in [1], I tried configuring maven-compiler-plugin like this:
-nowa
75 matches
Mail list logo