Hi folks,
the file META-INF/maven/archetype.xml is used with the archetype
plugin 1.0-alpha
the 2.0-alpha version uses META-INF/maven/archetype-metadata.xml
Also the create-from-project mojo creates a correct
archetype-metadata.xml but it creates a buggy archetype.xml file
Hope this helps.
I don't know what the m2eclipse plugin is supposed to do, but actually it
works this way for me:
I have a Maven project with only JUnit 3.8.2 as a dependency. After
checking the Download Artifact Sources and Download Javadoc checkboxes
and running the Maven - Update Dependencies action simply
I'm using the Trinidad Maven JDev Plugin (v 1.2.7) to generate
JDeveloper project files. This works great, but not for the tag
libraries. They don't get configured at all.
I tried this example:
plugin
groupIdorg.apache.myfaces.trinidadbuild/groupId
I just read a thread over at the Dev list [1] which talked about these
stub plugins. Could you run mvn help:effective-pom to see which deploy
plugin version is resolved?
Hth,
[1] http://www.nabble.com/Unintended-usage-of-core-plugin-stubs-td19633933.html
Nick Stolwijk
~Java Developer~
Iprofs
By default src/main/resources should be made available on the test classpath,
but _after_ the src/test/resources (allowing you to override stuff for tests by
putting it in the src/test/resources directory so it is found first on the
classpath). If you run mvn -X test you should be able to find
Maven-SCM know nothing about the POM so it don't update the scm section in
it and it won't do it in the future.
To create a branch for a maven project, the best way is to use the release
plugin :
http://maven.apache.org/plugins/maven-release-plugin/examples/branch.html
To create a tag for a maven
I want to write a plugin which can display all the conflict dependences (the
same groupId and artifactId but different version) in the dependences graph.Is
the Maven-core provide this function?
I want to define some strategy when some conflicts happen, the build process
fail.
can anybody tell me
This is commons-logging' pom on central maven repository:
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom
why the commons-logging include servlet-api dependence?Is that should be
provided? I can use excludes to disable it, but that is ugly style.
it should be both provided and optionaltrue/optional as far as i know
blame the people who wrote that pom
On 24 September 2008 09:41, 陈思淼 [EMAIL PROTECTED] wrote:
This is commons-logging' pom on central maven repository:
This is fixed in 1.1.1. See [1].
[1]
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
2008/9/24 Stephen Connolly [EMAIL PROTECTED]:
it should be
Stephen Connolly wrote:
it should be both provided and optionaltrue/optional as far as i
know
blame the people who wrote that pom
Blame the auto-converter for M1 to M2 poms :-)
- Jörg
-
To unsubscribe, e-mail: [EMAIL
On 24 September 2008 09:57, Jörg Schaible [EMAIL PROTECTED]wrote:
Stephen Connolly wrote:
it should be both provided and optionaltrue/optional as far as i
know
blame the people who wrote that pom
Blame the auto-converter for M1 to M2 poms :-)
Blame the people who wrote the
On 24 September 2008 09:36, 陈思淼 [EMAIL PROTECTED] wrote:
I want to write a plugin which can display all the conflict dependences
(the
same groupId and artifactId but different version) in the dependences
graph.Is
the Maven-core provide this function?
I want to define some strategy when some
Count me in for someone that wanted to compile with more verbosity
(e.g., to see warnings properly). The only thing that worked for me is
seeing the deprecated classes (which is another parameter). Other than
that, verbose=true didn't work.
Gabriel
2008/9/24 Sahoo [EMAIL PROTECTED]:
Has anyone
That's a awesome tool for my to analyze the depence of my project, I want to
know how you guy write this tool? is this a maven-plugin denpends on
maven-core? can I get the source code to learn it?
I don't know for sure, but I guess it uses the functionality of the
dependency plugin [1] and especially the resolve goal. Also take a
look at the various analyze goals of that plugin.
[1] http://maven.apache.org/plugins/maven-dependency-plugin/
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
we're a big company's project, our project combine with jar dependence's. To
manage the dependence is a hard work to do.for example, our last accident is
becourse of dependence override.
our project denpends on ice 3.1.0, our partner group provide us a jar
which denpends on ice 3.2.0.GBK, the
It's warm heart of you.
2008/9/24 Nick Stolwijk [EMAIL PROTECTED]
I don't know for sure, but I guess it uses the functionality of the
dependency plugin [1] and especially the resolve goal. Also take a
look at the various analyze goals of that plugin.
[1]
Hi all,
I use Eclipse and the maven2 plugins to build project in Eclipse. I get an
error as I run mvn install:
[code]
...
D:\Temp\myproject\src\main\java\com\mycompany\Person.java:[41,1] annotations
are not supported in -source 1.3
(try -source 1.5 to enable annotations)
I believe it uses maven-dependency-tree:
http://maven.apache.org/shared/maven-dependency-tree/
Mark
2008/9/24 陈思淼 [EMAIL PROTECTED]:
It's warm heart of you.
2008/9/24 Nick Stolwijk [EMAIL PROTECTED]
I don't know for sure, but I guess it uses the functionality of the
dependency plugin [1]
Can you run mvn -X install and look for the compile goal. There you
see the arguments to the java compiler. Is the source parameter used?
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Wed, Sep 24, 2008 at 11:45 AM, thomas2004 [EMAIL
Where is this new make-like reactor documented? Is it part of 2.1.0-M1?
I also could not find a tag for 2.1.0-M1 in Subversion, so verifying what is
actually part of 2.1.0-M1 is a bit difficult.
Asgeir
On Fri, Sep 19, 2008 at 10:33, Brett Porter [EMAIL PROTECTED] wrote:
Well that isn't too
we're in a big company's project, our project combine with other team's jar
dependences. To manage the dependence is a very hard work to do.for example,
our last accident is becourse of ice jar dependence override.
our project denpends on ice 3.1.0, but one of our partner group provide us a
jar
2008/9/24 Asgeir S. Nilsen [EMAIL PROTECTED]:
Where is this new make-like reactor documented?
See the end of http://docs.codehaus.org/display/MAVEN/Make+Like+Reactor+Mode.
Is it part of 2.1.0-M1?
No, it's on the branch for 2.1.0-M2, or available in the plugin being voted on.
I also could
I filed http://jira.codehaus.org/browse/MNG-3764.
As a work around, I am thinking of setting fork=true and passing
-verbose as option to compiler.
Sahoo
Gabriel Garcia wrote:
Count me in for someone that wanted to compile with more verbosity
(e.g., to see warnings properly). The only thing
Here is the output of the effective pom. Names changed in some places to
protect the guilty. ;-)
[INFO] [help:effective-pom]
[INFO]
Effective POMs, after inheritance, interpolation, and profiles are applied:
!-- ==
--
!--
I'm not disagreeing with what you want to do... I'm just saying that it
would be better to write this check as an enforcer rule rather than a whole
plugin.
The idea of the enforcer plugin is to enforce stuff and fail the build if
the stuff has not been enforced.
It sounds like you are writing a
Hi,
When performing a clean build, maven will download all necessary
dependencies to the local repository. While it's doing this, it shows an
animation giving the amount it has downloaded, with the final file size.
This changes - is overwritten on the same line - during the download.
This is
mvn -B is the option you need.
- Brett
2008/9/24 Matthias Grunwalde [EMAIL PROTECTED]:
Hi,
When performing a clean build, maven will download all necessary
dependencies to the local repository. While it's doing this, it shows an
animation giving the amount it has downloaded, with the final
You can have a look at
http://docs.codehaus.org/display/MAVEN/Maven+2.1.0+Release+Plan to have an
idea of what should be in the release. In this doc, Make-like is planned for
M3.
Cheers.
2008/9/24 Asgeir S. Nilsen [EMAIL PROTECTED]
Where is this new make-like reactor documented? Is it part of
Thanks for the tip on the build helper plugin. This makes setting the
generated source more sensible than just altering sourceDirectory.
newton.dave wrote:
--- On Tue, 9/23/08, stug23 wrote:
Does anyone on this group do this differently than what I
sketched out here? If so, why and what
Thanks I'll take a look at how jaxb maven plugin does this.
Is there really a difference in what you are recommending? When you say 'new
directory' don't you just mean somewhere under target (e.g.,
target/codegen/java)?
Michael McCallum-3 wrote:
no you should generate into a new directory
Hey,
is anyone of you experienced with umlgraph in your javadoc? I found the dotuml
plug-in for Maven here
(http://maven-plugins.sourceforge.net/maven-dotuml-plugin/) , but it looks a
bit deprecated.
Should I use the dotuml plug-in or include the umlgraph in my pom as it is
described
Would anyone happen to know the JIRA number for this issue?
Thanks.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2008 4:44 PM
To: Maven Users List
Subject: Re: Purpose and Status of 'stage' Plugin
there already a JIRA for that.
When artifact has SNAPSHOT dependency, 'addClassPath' feature of
maven-jar-plugin will use 'SNAPSHOT' as version string. However,
maven-assembly-plugin's 'dependencySet' feature will save file using
fully qualified repository version (something like
20080924.150522-14). This inconsistency leaves
Hi,
ping: Someone know when the 2.0-beta-8 of maven release plugin will be
released ?
We are really waiting for it.
Thanks,
Rémy
Try the howto here:
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/alternate-doclet.html
- Rune
Matthias Dorfner skrev:
Hey,
is anyone of you experienced with umlgraph in your javadoc? I found the dotuml
plug-in for Maven here
Anyone wanna give this one a try? :)
On Mon, Sep 22, 2008 at 10:41 AM, Kem Elbrader
[EMAIL PROTECTED] wrote:
We directory deploy our ear project during development. We've noticed
that the most time spent in the build of our ear is while it is
Building jar: Since we aren't using the .ear
http://jira.codehaus.org/browse/MSTAGE
On Wed, Sep 24, 2008 at 8:54 AM, Harper, Brad [EMAIL PROTECTED] wrote:
Would anyone happen to know the JIRA number for this issue?
Thanks.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2008 4:44 PM
Olel wrote:
I don't know what the m2eclipse plugin is supposed to do, but actually it
works this way for me:
I have a Maven project with only JUnit 3.8.2 as a dependency. After
checking the Download Artifact Sources and Download Javadoc checkboxes
and running the Maven - Update
Olivier Lamy said:
Hi,
Personnaly, I have planned to do it near end of September.
I hope will be so.
Bye
Remy Sanlaville wrote:
Hi,
ping: Someone know when the 2.0-beta-8 of maven release plugin will be
released ?
We are really waiting for it.
Thanks,
Rémy
--
View
I have setted the version to 1.0-SNAPSHOT, but I need to know what's the
current value. Is there a way to know that using any Maven API? or maybe
generating a file after compiling?
Thanks.
--
View this message in context:
Hello,
I searched the archive, but was not able to find an answer to my question.
I am running maven as follows:
mvn clean test -Dsomeparameter=somevalue
someparameter will vary per mvn call.
It does not appear that my surefire tests are able to find this variable
when they execute, so I'm
We do it like this:
artifactIdmaven-surefire-plugin/artifactId
configuration
forkModeonce/forkMode
workingDirectorytarget/workingDirectory
argLine-Djava.library.path=lib/argLine
On Wed, Sep 24, 2008 at
Thanks for your reply.
Well, it looks like you are hard-coding the -D line into the plugin config.
In my situation, would this work?
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.4.3/version
configuration
Which is the preferred goal to execute? The online documentation seems to
contradict itself. In certain places it indicates that 'create' is
deprecated, however
http://maven.apache.org/guides/mini/guide-creating-archetypes.html which was
updated on 9/19/08, still says create.
On Wed, Sep 24, 2008 at 11:30 AM, Wendy Smoak [EMAIL PROTECTED] wrote:
Take a look at the lifecycle [1] and see if you can stop at one of the
earlier phases. Maybe 'mvn test' or 'mvn compile' would do what you
need.
Missing footnote. :)
[1]
On Mon, Sep 22, 2008 at 9:41 AM, Kem Elbrader
[EMAIL PROTECTED] wrote:
We directory deploy our ear project during development. We've noticed
that the most time spent in the build of our ear is while it is
Building jar: Since we aren't using the .ear file during
development it'd be nice if
Is there any good documentation that explains how Velocity fits into
creating your own archetypes??
Thanks!
Justin
Hi Justin
The prefered goal is archetype:generate.
May you please fill a jira against the maven site stating that the
guide is outdated.
And also please fill a jira againt the archetype plugin linking to the last.
Thanks,
Raphaël
2008/9/24, Justin Miller [EMAIL PROTECTED]:
Which is the
Hello List,
I am putting together a multi-module project that I would like, at the end,
to bundle up two or three of the sub-modules into a .tar.gz with
accompanying documentation (app consists of multiple components that are
deployed separately).
I had started out with the idea of include a
On Wed, Sep 24, 2008 at 12:05 PM, Sam Wilson [EMAIL PROTECTED] wrote:
Unfortunately it does not seem as though there is a way to attach this
assembly plugin to the root-pom project's lifecycle in such a way that it
will be run after all the child modules have been produced. So I am stuck
Sorry, i do not get it.
My explict configuration in buildpluginsplugin overwrites the default
config (or, that is what i expect). Where is the conflict? I thought that i
just missed a configuration...
Thanks
Klaus
On Tue, Sep 23, 2008 at 6:35 AM, Brett Porter [EMAIL PROTECTED]wrote:
I think
What I want to have, is testng.xml tests run once in the test phase, and
testng-functional.xml tests to run once in the integration-test phase.
Right now, I have the cfg I sent. So I have my testng.xml tests running
twice in the test phase, and the testng-functional.xml tests running twice
in the
Hey Justin,
I am not sure about detailed Velocity documentation, but essentially all
files within your archetype that are configured to be filtered will be
processed by Velocity, i.e. any file can be a template.
The files to be filtered are configured in the archetype-metadata.xml
file.
For
In the config you first post, only one of your executions mentions a XML
file so it'll ignore (or generate) your testng.xml. What what maven/testng
stuff I've done - if you mention the suitexml file then groups/exclusions
defined in the pom are ignored ( or should be ).
On Thu, Sep 25, 2008 at
Hi,
is there a general recommendation if and how to change your versions when you
branch? Simple scenario is when you branch off released code for maintenance
and use the release plugin for that. But what if you want to branch from some
random point of your trunk? Maybe this is more a svn
I would normally expect to see the resources in build, but you have
a second configuration outside the execution attempting to override
that.
Is it your intent to copy the one filtered file from
src/main/resources in process-sources and then only the files in
src/main/resources/META-INF during
Hi all,
I'd like to access a child pom property from its parent. Is it possible?
Something with this syntax: ${parentProject.childProject.property}.
The problem is that I have an EAR project and would like to use properties
from EJB and WAR projects and vice-versa.
Thanks,
Andre
Our CI server builds and deploys snapshots to our nexus repository
server every time someone commits.
During the build of a snapshot multi-module project, it downloads the
previous snapshots of the modules to the local repository, even though
they are in the reactor about to be built. This has
Give us more context -- is this in a plugin, are you using Maven
embedded, or what??
Wayne
On Wed, Sep 24, 2008 at 9:42 AM, mateamargo [EMAIL PROTECTED] wrote:
I have setted the version to 1.0-SNAPSHOT, but I need to know what's the
current value. Is there a way to know that using any Maven
Hi all,
I am new to Maven's eclipse plugin. I installed a new archetype using
the command line mvn install command.
How can I use that archetype inside of eclipse to create a project?
Eclipse asks me for some catalog file that contains information about
the new archetype so I was
Hi all,
I am new to Maven's eclipse plugin. I installed a new archetype using
the command line mvn install command.
How can I use that archetype inside of eclipse to create a project?
Eclipse asks me for some catalog file that contains information about
the new archetype so I was
2008/9/18 Marc Schneider [EMAIL PROTECTED]:
So running :
mvn -P testLocal clean tomcat:deploy
should be equivalent to :
mvn clean tomcat:deploy ?
But if I don't put -P testLocal I get an error message as if some
parameters are missing.
What is the error message?
- Brett
--
Brett
I have something like this in my ant file and the maven ant tasks 2.0.9 and
ant 1.7 that loads a pom.xml file and creates a bunch of filesets:
target name=wtf
!-- declare pom.xml --
artifact:pom id=maven.project file=pom.xml /
!--
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.4.3/version
configuration
argLine-Xmx256m/argLine
Patel, Ronak (US SSA) wrote:
I am new to Maven's eclipse plugin. I installed a new archetype using
the command line mvn install command.
How can I use that archetype inside of eclipse to create a project?
Eclipse asks me for some catalog file that contains information about
the new
Hi,
I have some problem. I am developing an application which should work
on mobile devices and desktop. The problem is that I don't want to
duplicate the common code. So I createdd a project common which
contains common part of code. I also have a mobile project and desktop
project, both of them
68 matches
Mail list logo