[EMAIL PROTECTED] wrote on 18/06/2008 16:50:05:
> Can we make use of our own properties/variables in archetypes?
>
> The m2eclipse plugin allows us to define properties to be used at
arcetype
> generation time.
>
> The problem is, I've not see a single references as to _how_ to do
> this!???
which version are you using?
I´m using Archiva 1.0.2 and it does download sources, sure.
In my pom.xml i have:
org.apache.maven.plugins
maven-eclipse-plugin
2.4
bin
true
Hi!
Did you try specifying the property in your pom.xml or settings.xml like
this:
whatever.value
hth,
- martin
On Wednesday 18 June 2008 Karan Malhi wrote:
> Thanks for the response Martin,
>
> I did look at that documentation and added the downloadSources and
> downloadJavadocs elements
I put test case in the src/test/java directory also some demo code there. Is
there a way to skip the demo code when doing test?
thanks.
--
View this message in context:
http://www.nabble.com/How-to-filter-Test-case--tp17996149p17996149.html
Sent from the Maven - Users mailing list archive at Na
(If I understand your problem correctly) by default release:prepare doesn't
run install goal which can cause issues like this, but you can configure
which preparation goals need to be run (also see my comment below from our
build why we need it):
org.apache.maven.plugin
Wendy wrote:
> Generally when I have plugins or tools that I use during the build, I
> release them separately and in advance of the project build. (And,
> how often are the checkstyle rules going to change?)
Yes, this is probably the workaround I'd use.
> If you're going to leave this as a modu
On Wed, Jun 18, 2008 at 5:46 PM, Hayes, Peter <[EMAIL PROTECTED]> wrote:
> I am using the checkstyle plugin for a multi-module build. As directed
> in the checkstyle documentation, I configured the checkstyle plugin to
> include a dependency on one of my sub projects like this :
Generally when I
I am using the checkstyle plugin for a multi-module build. As directed
in the checkstyle documentation, I configured the checkstyle plugin to
include a dependency on one of my sub projects like this :
...
org.apache.maven.plugins
maven-checkstyle-plugin
"Bernhard David" <[EMAIL PROTECTED]> wrote on 18/06/2008 16:21:06:
> Hello,
>
> I think you just need to declare src/main/application as a resource
> folder in your pom -
>
>
>
> src/main/application
>
>
> and it should work exactly as src/main/resources does.
Hi David.
Hi all,
I need a way in maven (using the surefire-plugin) to run all tests
in a project ignoring any test failures that might occur. All my tests
are independent of each other and i want all the tests to be run
ignoring any failures that might happen in the middle.
Note:
1. I tried using
Nestor,
You will have to create a top level aggregator project of packaging: pom.
Then you can have 2 sub modules with 1 of the EAR and the other WAR packaging.
At least that is how I setup the maven project on my end. The format is 1
archive for 1 pom file, you cannot really work around this
Hello,
i try to deploy my maven site using ftp. I followed instruction there
http://maven.apache.org/guides/mini/guide-deploy-ftp.html to activate
ftp support and i added
myproject-site
ftp://myserver/myproject
However, i got
[INFO] Wagon protocol 'ftp' doesn't support directory copying
Hi
I need to generate ear files from web applications. So what I understood is
that I need to pom.xml files. One for the project that generates the war
file an another one for the ear files that includes the war files. Is there
a way to have this two pom.xml on the same project and not create two
I suggest you read up on maven release plugin:
http://maven.apache.org/plugins/maven-release-plugin/introduction.html
I don't use it any differently then the official usage. The plugin doesn't
generate a pom file but rather modifies the existing pom file with a new
version and checks in CVS wi
Hi,
Is there any way of forcing a dependency to use the highest version available ?
For example :
Does "[4.0,)" grab the highest version above 4.0, or does it still use a “best
fit” with the other dependencies in the tree
I’ve tried it and it appears to go for the highest versio
Hello,
I have a multi-module project that looks a little something like this:
app-aggregate
--app-parent
--app-domain
--app-dal
--app-web
--app-external
app-aggregate's pom specifies the sub-projects as sub-modules.
domain, dal, web and external all specify app-parent as their parent
pom.
Are you using the latest version? A problem with this was fixed in 1.0.2.
If so, you'll need to provide more information (and clarify "no proxy"
- I assume this means no HTTP proxy, not that you've turned off
Archiva proxying of repo1 which will definitely stop updates :)
- Brett
2008/6/18 Alexa
Thanks for the response Martin,
I did look at that documentation and added the downloadSources and
downloadJavadocs elements in the pom for the eclipse plugin.
However, I have a profile named "assemble". This profile depends on a
property named "assemble". So when I run maven like
mvn eclipse:ecl
I'm developing a tool that among other things, allows for the user to pick a
CVS version and build it with maven (this is part of the process anyways).
While I have not got as far as you seem to be yet, I do not know of any
automated way to do this.
Could you elaborate on how you use the maven rel
Hi maven savvy developers,
Is there an automated way to trigger a maven build from a cvs tagged version ?
Basically I want to check out the source code for a given tag and trigger the
maven build.
So far I need to do these steps separately (checkout with cvs then build with
maven).
I use t
I'm lost with this DLL business... What pains me the most is that I'm sure
it's quite the trivial thing to do, but I can't seem to figure it out...
Mikel
On Tue, Jun 17, 2008 at 15:31, Mikel Cármenes Cavia <[EMAIL PROTECTED]>
wrote:
> Kalle,
> I have made sure to carefully deploy the dll's to my
>the jetty plugin (for v6) is something.mortbay.something:maven-jetty-plugin
>so you need to specify it... for v7 they renamed to jetty-maven-plugin so as
>long as the something.mortbay.something is in your plugin search list you
>can just use jetty: without declaring in your pom
Unless they chan
Because Maven tries to resolve the "short" name by looking at the
maven-metadata.xml file stored in org.apache.maven and then
org.codehaus.mojo (you may also define a pluginGroup in your settings).
The jetty plugin is not in one of those groups, so it's not
found...unless it's in your pom or there'
I have a plugin that was donated to me from a customer that needs to be
turned into an enforcer rule...it does exactly what you're looking for.
-Original Message-
From: Dan Fabulich [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2008 12:18 AM
To: Maven Users List
Subject: Failing the
Hi,
Just going to post a message here about what I found out recently. It
affects maven 2.0.9. I think this is a bug, and tried creating a Jira issue
but couldn't... so here goes:
During development of a MOJO I was in need of a custom class (with getters
and setters) so that the pom configuratio
Hi,
I would like to have a list of all profiles of our project. Since there are
many profiles in child-poms, it would really help, if I could get a list of
all available profiles (not only active ones). Either by console with sth
like mvn help:profiles or by report-plugin.
I know that there were
How can I get the plugin to pick up multiple hibernate.cfg.xml files?
I've added the moduleA in my moduleB as a dependency and if use
classpath:/src/main/resources/hibernate.cfg.xml
it only picks up the hibernate.cfg.xml file from moduleA jar and if I use
/src/main/resources/hibernate.cfg.xml
There are default group Ids that are searched for plugins that are named
with the correct artifact Ids.
if the groupId is org.apache.maven.plugin and the artifactId is
maven-xyz-plugin and then xyz:goal will work
otherwise if the groupId is in the list of plugin group ids specified in
your settin
Wayne Fay wrote:
>
> I would probably set that up as follows:
> Default profile (in parent pom) only specifies which are jars
> War profile specifies all modules, jars and wars
>
> I have a similar set up already for some projects - but in this case I do
> want to build (and especially compi
Chris,
you may find the following information of help:
http://maven.apache.org/plugins/maven-ear-plugin/tests.html
Regards
Andrew
I'm not sure when you put META-INF\application.xml.
Does it go under src\main\resources or src\main\application?
mvn eclipse:eclipse generates a source dir refere
Hi,
I'm really confused about the declaration of maven plugins in pom.xml.
What is the rule? Why must jetty for instance be declared (otherwise, the
call "mvn jetty:run" results into a build failure) and tomcat can be run
without appearing in pom.xml, while both of them are not core plugins?
Hi All,
I have 3 profiles defined in the Parent Pom. The parent pom has 30 modules.
Is there any way I can specify to run any combination of the 3 profiles
(somehow defined in the module pom) as part of a reactor build from the parent.
The activation by property does not work if the
Perhaps if enough of us vote, the xerces folks will resume deploying their
released artifacts to the central repository. The issue is logged here:
https://issues.apache.org/jira/browse/XERCESJ-1304
The current version is 2.9.1. That last impl artifact deployed was version
2.8.1 in January of 20
Hello everyone,
I am trying to use mvn scm:diff command.I have set the
connection
connectionin the configuration for
the mvn scm plugin too.But the command fails :(:-(..The output stack trace I
am getting is
Provider message:
The cvs command failed.
Command output:
On Monday 16 June 2008 Karan Malhi wrote:
> Hi,
>
> I have a requirement to configure the eclipse plugin within the pom so
> that I can replace the following
>
> mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
> -DsomeProperty
>
> with something in the pom so that I should be abl
Hi,
I have a Problem with Archiva. On the repo1 are new plugins, but the
Archiva getn't it from repo1. I have no proxy.
Alexander Vaysberg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
36 matches
Mail list logo