Is there any mechanism for loading properties into the POM from a file,
in the style of an Ant property file=foo.properties / declaration? I
know M2 tries to keep everything in the one file, but the particular
issue I'm coming up against is wanting to define the project version
based on a
I have the same problem, and it's a bug in the core grammar of PMD
(http://sourceforge.net/tracker/index.php?func=detailaid=1339470group_id=56262atid=479921).
It doesn't look like it's getting fixed any time soon, but there's a patch at
http://jira.codehaus.org/browse/MPMD-16 that works with
I'd use an ant task like the following:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
executions
execution
idDelete the class files/id
phasegenerate-sources/phase
configuration
Now, I may just be going blind, but I can't find up to date Eclipse
components on Ibiblio. If my Maven project depends on the SWT widgets,
or Jface, or any other component, is there an alternative to creating my
own objects? I found Eclipse 2.1.0 versions in
http://www.ibiblio.org/maven2/eclipse/,
I'm having distinct problems with the Antrun plugin for Maven2,
specifically with the inheritance of properties and environment
variables. With a simple test where the pom.xml calls a build.xml, which
then uses javac, Ant complains about not being able to find
com.sun.tools.javac.Main on the
/tools.jar/systemPath
/dependency
/dependencies
/plugin
-Original Message-
From: Giles, Nick [mailto:[EMAIL PROTECTED]
Sent: 23 December 2005 11:51
To: users@maven.apache.org
Subject: [m2] Antrun / Javac
I'm having distinct problems with the Antrun plugin for Maven2
In Maven 1 several plugins used to automatically link to the generated
source pages, plugins like PMD or Checkstyle, possibly even the unit
test plugin, I'm a little hazy. So far, I can't find a way of enabling
this for any of those three plugins. Does anyone know if this is
currently possible, a
I've been trying to get Checkstyle to produce a report for a while now,
and it doesn't seem to want to work. I've noticed a couple of similar
unresolved problems on this list, but I'll add all the detail I can, and
I'm happy to experiment and patch code. I started off with the release
version of
You're right there, checkstyle will run successfully when invoked as
'mvn checkstyle:checkstyle', and produces a report, but it's not
integrated into the rest of the site. I guess I can hack it for now with
some external links into it, maybe do a bit of post-processing, but I'd
still like to fix
When I provide the Checkstyle plugin with a customised config file, it
causes it to crash unpleasantly when generating the report. It appears
that this is due to calling the 'remove' method on Arrays$ArrayList,
which doesn't implement the method. The call is actually removing the
'severity'
-Original Message-
From: Giles, Nick [mailto:[EMAIL PROTECTED]
Sent: 14 December 2005 12:54
To: Maven Users List
Subject: RE: [m2] Checkstyle reports
You're right there, checkstyle will run successfully when invoked as
'mvn checkstyle:checkstyle', and produces a report, but it's not
integrated
11 matches
Mail list logo