I think you're casting the wrong type here..
It should be,
Xpp3Dom dom = (Xpp3Dom) plgn.getConfiguration();
ConfigurationContainer is extended by Plugin, and the getConfiguration()
method returns an Object which can be cast as an Xp33Dom. You can take a
look at this for an example:
Hi,
I had the same requirement and used profiles to achieve this. Depending
on the given parameter, a different extra resource directory is added :
In the WEB-INF/classes, you get the resources from the resources
directory plus the resources from the resources_ENV directory.
Snippets from my
Hello,
I'd like to have a set of profiles in my corporate parent POM for various
maven usage. To enable them depending on projects I'd like to set a
property in the project POM to enable the profile :
example :
- corporate parent pom :
profile
idJava5/id
activation
I’m running into a strange Maven problem. I’m listing junit as a
dependency in the usual way, i.e.
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version4.1/version
scopetest/scope
/dependency
When I build the project cleanly:
mvn clean install
I get a bunch of
As part of my build I wish to copy a properties file to a directory
belonging to an OC4J container.I wish to do this just before doing a
remote deployment to the OC4J container.I know about wagon-ftp but
I'm not sure if it the right tool I'm looking for.
--
Don't take the name of root in vain.
Hi all,
I am trying to write an archetype for my project and discovered that the
resources are always copied into the src/main/resources/ generated
directory instead of being copied into the src/main/resource/my/groupid/
(in parallel with the sources src/main/mylang/my/groupid/).
I have
unfortunately won't work with the current archetype plugin. I have the
same problem. the resource is source trick used to work a while back
but not anymore.
The only solution I found is to use the archetypeng code at
mojo.codehaus.org that will eventually replace the current archetype
codebase
On 5/28/07, Jeff Mutonho [EMAIL PROTECTED] wrote:
As part of my build I wish to copy a properties file to a directory
belonging to an OC4J container.I wish to do this just before doing a
remote deployment to the OC4J container.I know about wagon-ftp but
I'm not sure if it the right tool I'm
Hi all :-)
I've been using Maven to build my application and it's structured in the
following way.:
- 12 modules (01 of these has the class with the main entry point)
- Each module has its own pom.xml file
Ok what I want is something similar to JBoss directory structure ... for
example, when
I think it is already described by the Jira report here:
http://jira.codehaus.org/browse/ARCHETYPE-54
I have added my vote.
Adrian.
Milos Kleint wrote:
unfortunately won't work with the current archetype plugin. I have the
same problem. the resource is source trick used to work a while back
but
Hi Marcos,
Check out the assembly plugin (see [1]), which should be able to help
you with you what you want.
Cheers,
Johan
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
Marcos wrote:
Hi all :-)
I've been using Maven to build my application and it's structured in the
When will there be a version of surefire that lets me use the current TestNG
(5.5) that is not an alpha?
On 5/3/07, Martin Gilday [EMAIL PROTECTED] wrote:
The TestNG docs have been updated to cover the current state of play in
getting Maven, Surefire and TestNG working together.
...and when will be there a combination that does not require SNAPSHOT
versions?
Andreas
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Monday, May 28, 2007 9:12 AM
To: Maven Users List
Subject: Re: TestNG documentation
When will there be a version of
Hi all,
As part of my M2 projects I am maintaining their documentation in HTML
format. I am looking for a M2 (or ANT) plugin that checks HTML links
given a root directory. Anyone knows about such a thing?
TIA,
Adrian.
P.S. I have googled about and found nothing except the Maven (1.x)
Brett Porter wrote:
Hi,
The surefire 2.3.1 release vote is imminent, so I'd like to ask people
to test the latest build.
I'm particularly interested in those:
- who can't use 2.3 because of a regression since 2.2
- who currently use 2.3 on Windows
- who use different types of classloading
On 5/28/07, Andreas Guther [EMAIL PROTECTED] wrote:
...and when will be there a combination that does not require SNAPSHOT
versions?
Of Surefire? Did you and Howard see Brett's recent call to test
Surefire 2.3.1 in advance of a release? Testing and reporting back on
that thread would be
That would be much appreciated, but unfortunately it does not cover
the more recent TestNG versions.
2.4 is the target version for supporting all versions of TestNG 4.7
and up. We've had support from TestNG in making it work in a way that
should expose it's entire feature set, as well as future
Good afternoon.
I recently upgraded from Maven 2.0.4 to 2.0.6. At about the same
time, the maven-release-plugin stopped working with subversion SCM
configurations.
When I try to run release:prepare, I get the following:
[INFO] Executing: svn --non-interactive status
[INFO] Working directory:
I fixed added the support for RAD 7 some days ago. You can try with a recent
snapshot
If you find a problem, don't hesitate to open an issue
Cheers
Arnaud
On 25/05/07, Tyler Nelson [EMAIL PROTECTED] wrote:
Hi Timothy,
Thanks for the response. With simple projects we haven't noticed
As per:
http://maven.apache.org/plugins/maven-ejb-plugin/examples/ejb-client-dependency.html
This does not seem to work for me. I'm using compiler 2.0.2 and EJB
2.1plugins. The compiler does generate client jars for me but I can't
seem to
use it as a dependency of type ejb. Everytime I try
This is a bit of nastiness that I've encountered in the past as well.
All the suggestions offered are mostly functional, but ugly in my
view...
So, I have recently started committing to Maven... MNG-2010 is what
I've posted my first changes to, and will be hitting the compile and
surefire
21 matches
Mail list logo