Take a look at the SCM plugin:
http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
Wayne
On 3/18/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am working on the maven tool for my project ,where I have to
> checkout from CVS and I want to ask for CVS user id and pas
Hi,
I am working on the maven tool for my project ,where I have to
checkout from CVS and I want to ask for CVS user id and password from
the user while checkingout the project.This process I want to do
dynamically to checkout multiple projects.
I am new user of maven ,Pleases help me out to
I tried to create sample project and added an external resource (xml
file) to test what you said.
mvn archetype:create \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DgroupId=com.mycompany.app \
-DartifactId=my-app
Result : The xml is not copied in the same directory in the Jar (sr
I've never tried this exact scenario, but couldn't you also do this in the
root pom and remove A3 and B4 from the A and B poms respectively?
A
B
A/A3
B/B4
Of course this assumes that previous modules don't depend on A3 or B4.
Chris
On Tue, Mar 18, 2008 at 7:19 PM, Brian E. Fox <[EMAIL PROTECTED
cobertura:cobertura report when package war deploy to jetty
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Absolutely. That dependency is inherited by this module and you are
asking the plugin to unpack all dependencies. You can exclude artifacts
by name or group (among other things) to get down to the list you want.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tu
I use the maven-jar-plugin in my module, as follows:
org.apache.maven.plugins
maven-jar-plugin
ds_build-jar
package
jar
ds
${project.build.directory}
The top level parent's pom has a dependency listed on junit. Does this
affect?
Brian E. Fox wrote:
Are there any dependencies listed in the parent of the attached pom?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 8:24 PM
To: Maven
It seems to me like the paths or m2_home env vars are wrong. It looks
like it's executing a class from 2.0.8 against the 2.0.7 uber.jar.
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 4:23 PM
To: Maven Users List
Subject: Re: mvn 2.0.8
Are you
Maven starts with the ordering listed in the poms (A and its children,
then B and its children, etc) unless there is a dependency. If it sees a
dependency, then it will automatically reorder by pushing down modules
that have a dependency so they build after their dep.
I'm wondering why the order
Are there any dependencies listed in the parent of the attached pom?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 8:24 PM
To: Maven Users List
Subject: Re: Using the maven-dependency-plugin
The outcome of a "mvn install" is the follow
you can try the example:
maven-antrun-plugin
start-hsqldb
site
The outcome of a "mvn install" is the following:
$ ls src/main/java/__ds_archive
com junit META-INF org
$ ls src/main/java/__cp_archive
com META-INF
As you can see from above, the 2 extra junit packages have been unpacked
in the case of __ds_archive from nowhere. The dependencies mentioned
I have multiple executions because i want 2 different archives to be
created with the same dependencies, but with different set of files. As
in, i exclude some in one and include some in the other.
I have attached my pom.xml herewith.
Thanks,
Shalini.
Brian E. Fox wrote:
What happens for the
What happens for the subsequent executions? Can you paste your pom? Why
do you have multiple executions? The unpack-dependencies can take a list
of dependencies and each one can be unpacked into different folders (the
output directory is configurable at the artifactItem level too)
-Original Me
I haven't tried the test yet, but I'd be willing to bet this is a maven core
issue and not the plugin itself. Either way, I intend to resume working on the
enforcer ASAP. I've been working on 2.0.9 and staged a release candidate today,
so I should have time to finish the enforcer.
-Original
I want to create a core.jar that I can put all my model and DAO object that
I can use dbunit to test during my build. I have been combing through the
net all day trying examples that say they work but have no luck getting this
to function.
*I have a test persistance.xml in /src/test/resources/*
*
answered to your other thread about it. You need to use
dependencyManagement in maven 2.0.9+ to force the versions when Maven
doesnt resolve the ranges as Eclipse expects
I will post soon the material from the tutorial I gave at EclipseCON
covering that and other issues with Maven and OSGi
http://
The Maven team is pleased to announce the release of the Maven Plugin
Tools, version 2.4
The Maven Plugin Tools contains the necessary tools to be able to
produce Maven Plugins in a variety of languages.
Maven Plugin:
http://maven.apache.org/plugins/maven-plugin-plugin/
Maven Plugin Tools:
http:
Rémy Sanlaville wrote:
Because we already have a plugin that generates a report from an SCM
system, namely maven-changelog-plugin.
Yes but the reports are completely different :
- maven-changes-plugin :
http://maven.apache.org/plugins/maven-changes-plugin/changes-report.html
- maven-changelo
Hi all,
(I hesitated on posting this on the developer list)
So, I tried hacking the SnapshotTransformation class to be able to configure
the use of the local time instead of UTC if wanted.
After some times trying to install the jar (mvn install) and test it with a mvn
deploy on some other projec
Great - thank you - I'll give it try!
Wayne Fay wrote:
Plugins are automatically downloaded and installed on an as-needed
basis. You don't need to do anything manually to make it happen.
Just build up a pom and type "mvn install" and it will be downloaded and used.
Wayne
On 3/18/08, Agile Asp
What kind of system are you on? For all I know, you've stumbled across
an obscure bug related to your specific environment.
Also try mvn -U to force it to find updates, perhaps you've got a
buggy Plexus-Util.
Wayne
On 3/18/08, Michael Clark <[EMAIL PROTECTED]> wrote:
> Yup same results
>
> [EMAI
Yup same results
[EMAIL PROTECTED]:~/cc/maven-2.0.8/bin> ./mvn --version
Exception in thread "main" java.lang.IllegalAccessError: tried to access
field hidden.org.codehaus.plexus.util.Os.OS_NAME from class
org.apache.maven.cli.MavenCli
at org.apache.maven.cli.MavenCli.(MavenCli.java:76)
Plugins are automatically downloaded and installed on an as-needed
basis. You don't need to do anything manually to make it happen.
Just build up a pom and type "mvn install" and it will be downloaded and used.
Wayne
On 3/18/08, Agile Aspect <[EMAIL PROTECTED]> wrote:
> Hi - I just installed Mav
Hi - I just installed Maven 2.0.8 as per instructions.
Running
mvn --version
yields
Maven version: 2.0.8
Java version: 1.6.0_03
OS name: "linux" version: "2.6.17.13" arch: "i386" Family: "unix"
The FAQ indicates that to check the installed plugins I need execute
mvn -Dplugin=i
Are you sure you're running the mvn binary you think you're running?
Try ./mvn --version instead. I'd assume you failed to update your PATH
etc as required.
Wayne
On 3/18/08, Michael Clark <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have been using 2,.0.7 for some time and I'm very happy I just tried
Hi,
I have been using 2,.0.7 for some time and I'm very happy I just tried a
quick update to 2.0.8 and am having no luck. Any suggestions?
I keep getting
[EMAIL PROTECTED]:~/cc/maven-2.0.8> mvn --version
Exception in thread "main" java.lang.IllegalAccessError: tried to access
field hidden.org.co
I have looked into this a bit more and it appears that the problem is
with the qualifiers getting added to the versions of the artifacts
deployed by the eclipse:to-maven target. The solution involves allowing
the 'stripQualifier' parameter to be exposed in the plugin, here is a
note I sent to the
Hi,
I am using the maven-dependency-plugin "unpack-dependencies" to unpack
the dependencies into some directory in my target directory. When i have
multiple executions, the first unpack-dependencies execution unpacks the
junit jar by default into my output directory. This does not happen for
I found that replacing...
/path/to/repo
with...
C:\path\to\repo
... in settings.xml fixes the problem in XP. In 2.4 "/path/to/repo" worked
properly and is more portable than specifying a drive and corresponding
backslashes. Can anyone else verify that this fixes their issues as well?
-Or
Hey guys, i believe there is a bug in either the way versions for
dependencies are matched or in the way the eclipse:to-maven plugin
works.
When I run the eclipse:to-maven target, my brand new repository is
populated with eclipse plugins and nothing else. I attempt to build a
project which dep
We are also getting this behavior maven 2.0.8 windows XP.
Liz Sommers
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I tested with packaging as jar or war and still have the issue
-Original Message-
From: Arne Rivenes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 12:49 PM
To: Maven Users List
Subject: SV: [ANN] Maven Eclipse Plugin 2.5 Released
This error occurs in my projects to after switch
This error occurs in my projects to after switching to 2.5, but so far only in
when packaging are war, not jar or ejb.
I'm using wtpversion 2.0.
I'm using windows XP, Maven 2.0.8
Arne.
-Opprinnelig melding-
Fra: Hoover, William [mailto:[EMAIL PROTECTED]
Sendt: 18. mars 2008 17:36
Til:
Maven 2.0.8 running on Windows XP, Jrockit 6.0
maven-eclipse-plugin 2.5 (final)
localrepository set to custom path from my settings.xml
All works fine for me.
2008/3/18, Hoover, William <[EMAIL PROTECTED]>:
>
> What OS and Maven version are you using?
>
>
> -Original Message-
> From: [EMA
What OS and Maven version are you using?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of nicolas de loof
Sent: Tuesday, March 18, 2008 10:10 AM
To: Maven Users List
Subject: Re: [ANN] Maven Eclipse Plugin 2.5 Released
I also use a custom local repository lo
Hi!
I know that the attribute profiles in task artifact:dependencies is not yet
supported. I was though wondering is there a mechanism to specify the
correct property/ies in the rest of the ant file so that the correct profile
would be picked up by the dependency task.
In other words I'd like to
This plugin should either be altered to process other files OR be
renamed to "velocity-file-processor".
It's very confusing and in this case a massive time sink, trying to
learn the particulars of a plugin that in the end didn't suit our
purposes.
-Original Message-
From: Daniel Kulp [ma
My company is french, we sell to frenchies and have almost no chance to ever
sell to another country ;).
In fact, we work in the healthcare area and there's lots and lots of
administrative rules that even make it difficult to follow only for the french
market :-).
So, I'll hack the code and pr
Hello,
When I try to create a test-jar that depends of another test-jar
I cant include this second test-jar in the first.
I put the second test-jar in the pom.xml of the first as
test-jartest but the manifest built by maven do
not include this jar (of c
I'm find that the error only appends with jdk1.4
But my project must be compiled and test with jdk1.4
So I can I use the latest version of surefire plugin without problem.
I'm trying to search surefire related thread in archive but I don't see
interesting thing.
Can anyone help me ?
Guillaume Bouc
I would like to create an archetype of a Java project where the package name
of the Java files is predicated on the artifactId specified when
"archetype:create" is invoked.
IOW, the archetype-resources directory needs to look something like this:
archetype-resources
|
`--src
|
`--ma
Not that I'm aware of, at least, not today. If you really must have
this feature, you could add a configuration and hack the code, but as
with any user-provided patch, there's no guarantee it would be
accepted into the core if you contributed it via Jira.
Maven uses UTC on purpose so that timestam
This is a general problem with any eclipse integration that manages
its own classpath container. This is something we're trying to work on
with other groups at Eclipse. We're at EclipseCon this week and so
we're trying to figure out how this might best work.
On 17-Mar-08, at 6:23 AM, Felipe
What exactly is your question? Just go ahead and ask it, and if
someone knows the answer or wants to help, they will reply.
It is better to include MORE information than LESS.
Wayne
On 3/18/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
> Hi,
> how can I send my queries to get it resoved .please p
Oh Okay. Yes simon you are right.
Thanks for the advise.
Regards,
Amit
On Tue, Mar 18, 2008 at 3:46 PM, David Delbecq <[EMAIL PROTECTED]> wrote:
> En l'instant précis du 18/03/08 09:42, amit kumar s'exprimait en ces
> termes:
> > Hi,
> > I have a multi-module project with the following structur
I also use a custom local repository location and get the expected
"M2_REPO/commons-logging" in my .classpath.
Nico
2008/3/18, Arnaud HERITIER <[EMAIL PROTECTED]>:
>
> yes please open a bug.
> I don't use the standard location and didn't notice it.
> If I can reproduce it, I'll publish a version
Hi David,
well first of all thanks so much for yours quick response. I have tried your
code and it works fine for me. it seems that the
webapp is dealing with the timestamps
of the files correctly although I thought that the webapp would be the default
webSourceDirectory. If the webSourceDirect
yes please open a bug.
I don't use the standard location and didn't notice it.
If I can reproduce it, I'll publish a version 2.5.1 in few days.
cheers.
On Tue, Mar 18, 2008 at 1:56 PM, Hoover, William <[EMAIL PROTECTED]> wrote:
> I'm not using the default repository location either. I think you ma
I try with version 2.0.7 and 2.0.8. I have the same error.
I'm on windows with jdk1.6.0.
My project is compiled with a jdk1.4.2 and my test is run with the same jdk.
Guillaume Boucherie
2008/3/18, Martin Höller <[EMAIL PROTECTED]>:
>
> On Tuesday 18 March 2008 Guillaume Boucherie wrote:
> > I ha
En l'instant précis du 18/03/08 12:43, Dominik Heller s'exprimait en ces
termes:
Hi i am pretty new to maven and encountered a problem by overwriting some
external resources. I am using maven 2.0.7 and the maven-war-plugin 2.0.2. What
I want to do is to overwrite a folder config in the WEB-INF
I'm not using the default repository location either. I think you may be right-
it may have something to do with that.
-Original Message-
From: MATHUS Baptiste [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 8:29 AM
To: Maven Users List
Subject: RE: [ANN] Maven Eclipse Plugin 2.5
Hi,
I am using maven to checkout the project from cvs.I want to
checkout from CVS, for that i want it should ask for CVS user id and
password from the user in command line to connect to cvs for checkout.
And I also want to do the checkout for the different projects module
that are present in
Hi,
I developed a plugin with a Mojo that is being executed manually.
mvn myPlugin:my-goal
The Mojo has the following annotation:
@execute phase=compile
The Mojo is invoked from the directory of the master project in a multi
module project.
According to the documentation I expect that before t
+1. Same problem here. Just saw the behaviour some minutes ago.
Precision: I'm not using the default repository location, this might a cause of
this problem.
Do you want someone to log a bug in the tracker, Arnaud?
Cheers.
-Message d'origine-
De : Hoover, William [mailto:[EMAIL PROTECTED
On Tuesday 18 March 2008 buFka wrote:
> maybe was the description of my problem not correct (sorry, my english
> not the best). I'm looking for an HOWTO like this one:
>
> http://maven.apache.org/maven-1.x/start/adapting.html
>
> but i want to use Maven2 and not the 1.x. the structure of the projec
Using "mvn eclipse:clean eclipse:eclipse" with version 2.5. For example, if
M2_REPO = /path/to/repo executing the command renders build paths for
dependencies for project as
M2_REPO/path/to/repo/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
If I use version 2.4 M2_REPO
maybe was the description of my problem not correct (sorry, my english not
the best). I'm looking for an HOWTO like this one:
http://maven.apache.org/maven-1.x/start/adapting.html
but i want to use Maven2 and not the 1.x. the structure of the project
should remain exactly as it is now (not defi
Hi,
how can I send my queries to get it resoved .please provide me the details.
--
Regads,
Sowmya.R
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
We're having a small problem with deployment: UTC is being used for
replacing SNAPSHOT with timestamp.
For us, UTC is one hour behind local time. In some days, it will be 2
hours.
It's a bit annoying because people are sometimes wondering which
snapshot is corresponding to their commit.
Hi i am pretty new to maven and encountered a problem by overwriting some
external resources. I am using maven 2.0.7 and the maven-war-plugin 2.0.2. What
I want to do is to overwrite a folder config in the WEB-INF containing some
files with an other folder config which is stored in an external r
Hi Amit,
The problem was detected reviously and filed under
http://jira.codehaus.org/browse/MOJO-738
I solved the problem as follows:
1. I checked out version 6085 of the trunk of the pde-maven-plugin. I used
this specific version because I'm using Eclipse 3.3 with maven 2.0.8 on
Windows.
2. I ch
On Tuesday 18 March 2008 buFka wrote:
> I am a newbie with Maven. My problem: I want to integrate an already
> existing project (Webapp) into Maven
For general maven questions read one of [0] or [1].
For maven webapp specific questions see the maven-war-plugin [2].
hth,
- martin
[0] http://www.s
On Tuesday 18 March 2008 Guillaume Boucherie wrote:
> I have the problem with surefire 2.4.2 but it works for 2.3.1 !!
Which maven versions?
There were some issues with combinations of surefire 2.4.x and maven prior
to 2.0.8 as well as with maven 2.0.8 and surefire 2.3.x. Try searching the
arch
On Tuesday 18 March 2008 Arnaud HERITIER wrote:
> The Maven team is pleased to announce the release of the Maven Eclipse
> Plugin, version 2.5
Glad to hear this!
I've already been using the latest snapshots, so I don't expect much
problems upgrading to 2.5. Anyway, good work so far! Thanks!
- m
Hi all!
I stumbled over a problem with the maven-enforcer-plugin (tested with
1.0-alpha-3 and 1.0-SNAPSHOT): when a new multi-module project is created
and the m-enforcer-p is used, maven fails with a "Failed to resolve
artifact" error.
This only happens when the new artifacts are not already
Martin Höller schrieb:
On Saturday 08 March 2008 Ingo Düppe wrote:
I like to exclude some of my modules within my multi-module projects
from beeing considered by report generating. For instance, I do like to
generate a aggregated javadoc report for all jar modules but not of the
model - modul
The Maven team is pleased to announce the release of the Maven Eclipse
Plugin, version 2.5
This plugin is used to generate Eclipse IDE files (*.classpath,
*.wtpmodules and the .settings folder) for use with a project.
http://maven.apache.org/plugins/maven-eclipse-plugin/
You can run mvn -up to g
En l'instant précis du 18/03/08 09:42, amit kumar s'exprimait en ces
termes:
Hi,
I have a multi-module project with the following structure.
Root
-A
-A1
-A2
-A3
-B
-B1
-B2
-B3
-B4
In the Root's pom i have mention
Hi all,
I encounter problem with my junit tests when I try to update version of
surefire plugin.
Actually all my tests that need to read xml files failed with the following
error :
org.apache.xml.utils.WrappedRuntimeException: Output method is xml could not
load output_xml.properties (check CLASS
I am a newbie with Maven. My problem: I want to integrate an already existing
project (Webapp) into Maven (schould I create the pom.xml manually into the
root folder of the project?). I'm not sure how this works. The "Getting
started" section couldnt help me. As a result must be delivered a
"war"-
amit kumar wrote:
to something like
-Root
-A
-A1
-A2
-B
-B1
-B2
-A3
-B4
It is actually a requirement. But I doubt that there is a possibility that
the CVS structure itself is not competent enough then to handle inter-module
dependencies.
This looks suspiciously like a circular dependency?
I
Hello,
I have the following structure locally:
releases
- pom.xml
- module1
- pom.xml
- module2
- pom.xml
The release is a pom.xml that mainly contains a version number
(SNAPSHOT), tags and scm informations
All poms have correct information tags. Individually, i can perform a
release
amit kumar schrieb:
> Hi,
> I have a multi-module project with the following structure.
>
> Root
> -A
> -A1
> -A2
> -A3
> -B
> -B1
> -B2
> -B3
> -B4
>
>
> In the Root's pom i have mentioned my modules as:
> A
> B
>
>
Hi,
I have a multi-module project with the following structure.
Root
-A
-A1
-A2
-A3
-B
-B1
-B2
-B3
-B4
In the Root's pom i have mentioned my modules as:
A
B
Now is there a way that I can change the normal build or
Hi,
I have configured my reporting section with the cobertura plugin, version
2.0.
I also have a maven-exec-plugin defined to setup my testdatabase during the
test-compile phase as shown below:
(notice the classpath definition. If I understand this correctly, this
configuration should make all pro
Hi Jeroren,
I spent almost a week on avoiding that src.zip in the plugin.zip. I did not
find any help on that and ultimately I had to resolve to a workaround which
is that I now build a feature(dummy) which includes the plug in I actually
want to build. When I get the feature.zip, I find my plug in
78 matches
Mail list logo