Hi Jochen,
I don't think you need to include the goalPrefix ("xml") when you lookup
the mojo in your test case
when you use the testing harness.
It should be:
ValidatorMojo vm = (ValidatorMojo) lookupMojo( "validate", testPom );
Thanks,
Odea
Jochen Wiedmann wrote:
Hi,
I am attempting t
Hi daune,
Else you can always query the Maven 2 mailing list for your project
build requirements people here are always ready to give a helpful hand until
you find a proper belgium consultant.
The mailing list is free and a very powerful source of M2 information.
cheers,
Javed
On 6/1
please see inline comments below...
Michael Waluk wrote:
Hi,
I'm trying to use Continuum 1.0.3 with Clearcase. In my pom.xml I have
specified the location of my config spec like this:
scm:clearcase:\\Xpw-rebuild101\rebuild_delta_6.1_int.vws\config_spec
This looks like the example at
http:
The surefire-plugin runs the tests for maven. And I think plugins can
be run more than once using .
Hope that helps.
^_^
Jimisola Laursen wrote:
Hi!
We have set up product so that we can configure our unit tests to run with
our three supported databases. Now I am trying to figure out ho
Hi,
I am attempting to write a plugin test by using the
maven-plugin-testing-harness. I have created the following test-POM and am
trying to invoke it through
File testPom = new File( getBasedir(), "src/test/it1/pom.xml" );
ValidatorMojo vm = (ValidatorMojo) lookupMojo( "xml:validate", testP
The examples in the link in the page you gave can help you...
try: http://maven.apache.org/plugins/maven-javadoc-plugin/configuration.html
^_^
Davis Ford wrote:
Hi, with maven 1.x I used to be able to create javadoc reports (i.e.
tag violation warnings, etc.)
Now that we have moved to maven
I was hoping to be able to do something like the following to specify
my parent pom, so that it would automatically obtain the latest
version. The parent pom doesn't change often but we should be using
the latest version automatically if it does.
Dummy-groupId
Dummy-artifactId
The snippet I originally posted was the relevant -X output. I have
attached the entire output in case something else might be useful.
Chas Douglass
Emmanuel Venisse wrote:
It's the latest version.
Can you send the full logs?
Emmanuel
Chas Douglass a écrit :
Running with -X says:
org.apa
Hi JF,
As Emmanuel and Carlos wrote, Mergere is the best option with European
based consultants and developers.
In Belgium, I know Peopleware (http://peopleware.be/) which presents
Maven training.
Cheers,
Vincent
PS: Not Mergere or Peopleware associate!
2006/6/15, [EMAIL PROTECTED] <[EMAIL P
I ran into the same problem, ended up to disable cygwin.
On 6/15/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
It's the latest version.
Can you send the full logs?
Emmanuel
Chas Douglass a écrit :
> Running with -X says:
>
> org.apache.maven.plugins:maven-release-plugin:2.0-beta-4
>
>
> Em
Hi!
We have set up product so that we can configure our unit tests to run with
our three supported databases. Now I am trying to figure out how "mvn test"
can run the tests for one database at a time but in the same "mvn test" run
(we want to make sure that we run the tests on the exact same buil
Hi!
Our team has a library that using log4j logging. We have now written a Maven
Plugin for it, so that we can use it in our Maven build environment.
However, we have one slight problem: our library uses log4j and we would
like to relay log4j output to the logging mechanism in Maven Plugin
(Abst
It's the latest version.
Can you send the full logs?
Emmanuel
Chas Douglass a écrit :
Running with -X says:
org.apache.maven.plugins:maven-release-plugin:2.0-beta-4
Emmanuel Venisse wrote:
My mistake. jdk doens't exist for cygwin, you can only use the windows
version.
I just test it with
Running with -X says:
org.apache.maven.plugins:maven-release-plugin:2.0-beta-4
Emmanuel Venisse wrote:
My mistake. jdk doens't exist for cygwin, you can only use the windows
version.
I just test it with my cygwin and all working directory are use
correctly ie. with a real windows absolute p
So if the target of a particular project is a tarball (made up of
various dependent ear/war/jar/scripts/etc), does site publish this
particular archive?
For users using cruise control, do you publish via maven or cruise
control?
Hi Mark,
I have read through all conversations within this thread and it still looks
like we still have to go to each individual project to modify the version
number when parent pom updates its version.
I have posted the exact same question in a separate thread
http://www.nabble.com/Inheriting
Hi Ben,
You're probably right.
These "alphaX" and "nightly" simply scares people :)
This week is a little bit crowded for me on non-java projects (sigh), but i
will prepare some extra candies (some of them already on Trac, like repo
relocation -- thus -- non-aggregation, to be able to prefix Px
Agreed. The stats page as-is looks potentially interesting, but not a critical
feature.
Quoting ben short <[EMAIL PROTECTED]>:
> Tamás,
>
> I have never used the stats page and cant think when it would really
> be usefull to me. I would suggest leaving it out of of the first
> release and then
My mistake. jdk doens't exist for cygwin, you can only use the windows version.
I just test it with my cygwin and all working directory are use correctly ie. with a real windows
absolute path without a cygwin part before.
What is your version of release plugin?
Emmanuel
Chas Douglass a écrit
Tamás,
I have never used the stats page and cant think when it would really
be usefull to me. I would suggest leaving it out of of the first
release and then add it in as you have time. That way you can work on
the core functionality and make that bullet proof. Thats just me
feeling :)
Ben
On 6
Ok, that works. Thanks.
javed mandary wrote:
Max is right use the exludes configuration with the compiler plugin please
see
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html ,
this will filter out undesired classes ;) .
cheers,
Javed
On 6/15/06, Max Cooper <[EMAIL PROTE
Hi, with maven 1.x I used to be able to create javadoc reports (i.e.
tag violation warnings, etc.)
Now that we have moved to maven 2.0.4, I can't seem to figure out how
to do that.
The maven javadoc plugin
http://maven.apache.org/plugins/maven-javadoc-plugin for m2 does not
describe this capabil
Hi again,
sorry, i left a few things out in my previous letter:
- I am the "Proximity developer" :)
- Proximity home page
https://is-micro.myip.hu/projects/ismicro-commons/proximity/
- Proximity Download area
https://is-micro.myip.hu/projects/ismicro-commons/deploy/proximity/
- Proximity Wiki
Hi all,
Thank you Ben for emailing me, in latest days i have little overflow at job
:)
First, the answers to the Q's:
- to serve up jars from its own cache when the internet connection is
down
Proximity WILL serve artifacts if it can/have it, even if remote peer is
down or unreachable (at the c
I would like to thank very much every involved person.
It is worked !)
So, the solution for building an ear with some war-s and some common jar-s
is the following:
- pom.xml
- ear
|- pom.xml
- war_1
|- pom.xml
...
- war_n
|- pom
WEB-INF/lib/*.jar
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 15, 2006 9:51 AM
> To: users@maven.apache.org
> Subject: RE: common jars between modules in EAR
>
> So the modification are:
> - adding for the plugin maven-war-plugin:
>
Feniks,
Thankyou very much. That works fine for me now.
Strange that it was failing silently though.
Regards,
Arthur.
--
View this message in context:
http://www.nabble.com/-m2--mvn-deploy-using-file%3A---protocol-t1792975.html#a4885939
Sent from the Maven - Users forum at Nabble.com.
--
Try this:
file:///\\my.server/repository
Should work on windows.
Hi,
you can find them here:
http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-changelog-plugin/
Or with ViewVC:
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changelog-plugin/
Fabrice.
On 6/15/06, joluv <[EMAIL PROTECTED]> wrote:
Hi.
I'm looking for the version 2.0 of
I'm having problems deploying using the file:// protocol as described in the
Better Builds With Maven book.
The POM I'm using for a simple test project is as follows:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://ma
I would strongly suggest refactoring as this is bad
-Original Message-
From: Lucas Opara [mailto:[EMAIL PROTECTED]
Sent: 15 June 2006 15:58
To: users@maven.apache.org
Subject: Cyclic references in M2 projects
Hello,
I just migrated some of our J2EE projects to maven 2.
Now I have the p
Hi.
I'm looking for the version 2.0 of the maven2 changelog plugin, but it isn't
released yet.
I've heard that the sources are available somewhere on the web, but I can't
find them. Can anybody help me please?
Thanks a lot.
--
View this message in context:
http://www.nabble.com/Sources-of-chang
Try:
mvn validate
'validate' is the earliest phase in the build lifecycle; it will pull
down the project dependencies without too much additional overhead.
-Original Message-
From: Simon Bates [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 10:29 AM
To: users@maven.apache.org
Hello,
I just migrated some of our J2EE projects to maven 2.
Now I have the problem with dependencies, with Maven telling me that I have
cyclic references between my projects.
Is it possible to handle those cyclic references or do I have to do some
refactoring?
Eclipse just gives a warning when
Thank you for the quick response. I wasn't aware there was a separate
jdk to be installed in cygwin. Where can I find it? Google wasn't
immediately helpful.
Chas Douglass
Emmanuel Venisse wrote:
this pb happen when you use a windows jdk instead a jdk installed in
cygwin.
When we run svn, w
Emmanuel Venisse wrote:
BUILD SUCCESSFUL isn't a continuum message but a ant message.
it's perhaps a bug in ShellCommandHelper, the exit code is return by
Process class and printed in AbstractBuildExecutor (line 189).
so if you don't have "Exit code:" in your log, it's because Process
objec do
So the modification are:
- adding for the plugin maven-war-plugin:
"2.0-beta-2"
(to make sure I am using the correct version)
- adding in the configuration of the war
"WEB-INF/lib/*.jar"
- removing the dependency flag for common_jar
The classpath of the war is now correct. But t
I think this is what you are looking for :
http://mojo.codehaus.org/dependency-maven-plugin/introduction.html
On 6/15/06, Simon Bates <[EMAIL PROTECTED]> wrote:
Hi everyone,
I'm just starting with Maven and I have a quick question that I was
wondering if someone might be able to help me with.
Eric Redmond wrote:
>
> You mean JUnit 4? Annotations are brand new with JUnit 4, and if it is not
> yet supported, neither will be annotations.
>
Correct. I mean JUnit 4.0. My mistake.
OK. I understand I used JUnit 4.0 cookbook not yet ported Maven and/or
Surefire.
Maybe there is a way to t
Hello,
I'd like to define **/*.jar as default-value for a mojo parameter (see example).
/**
* Pattern to lookup jar files.
* @parameter expression="${jarLookupPattern}" default-value="**/*.jar"
* @required
*/
protected String m_jarLookupPattern;
The problem is that */
Hi Everyone,
I am using continuum 1.0.3 version. It has completed building the projects
but it says it is still in progress and it is not sending the build report
email. Is this a known problem
with continuum 1.0.3, is there was fix for it.
Jun 15, 2006 2:17:30 AM
Started since : 7 h 9 min 22 s
Hi everyone,
I'm just starting with Maven and I have a quick question that I was
wondering if someone might be able to help me with.
I was wondering if a goal existed to download a project's dependencies
to a local repository without compiling? I know that the
compiler:compile goal will grab
Two days in a row, i've randomly run into this... Has anyone seen
such an error or know what the problem could be? I'm on a Mac
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.4.2_09). Please file a
bug at th
http://www.mergere.com/
I'm one too ;-)
Emmanuel
Carlos Sanchez a écrit :
I think Mergere is now the best option, where many of the Maven
developers work and the ones that published for free the Better Builds
With Maven book.
disclaimer: I'm a Mergere consultant ;)
On 6/15/06, [EMAIL PROTECT
I know that OpenLogic also supports Maven, and their relatively cheap. That
said, I don't know if you want to higher consultants who work for XBoxes ;)
http://www.openlogic.com/community/
Eric
On 6/15/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
I think Mergere is now the best option, where
G. B. wrote:
Hi,
How can I, inside my class that extends AbstractMojo, print my own version.
thanks.
Guillaume
--
View this message in context:
http://www.nabble.com/Version+of+current+Mojo-t1674737.html#a4540163
Sent from the Maven - Users forum at Nabble.com.
--
You mean JUnit 4? Annotations are brand new with JUnit 4, and if it is not
yet supported, neither will be annotations.
Eric
On 6/15/06, gilles_gty <[EMAIL PROTECTED]> wrote:
Hi there.
I am rather new with Maven 2. No Ant neither Maven 1 background.
Did any one got this annotation stuff to w
BUILD SUCCESSFUL isn't a continuum message but a ant message.
it's perhaps a bug in ShellCommandHelper, the exit code is return by Process class and printed in
AbstractBuildExecutor (line 189).
so if you don't have "Exit code:" in your log, it's because Process objec
doesn't return it.
Can yo
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 15, 2006 7:44 AM
> To: users@maven.apache.org
> Subject: common jars between modules in EAR
>
> I declared in ear's pom:
> * the webModule simple_war and
> * the javaModule common_jar
> They ar
I think Mergere is now the best option, where many of the Maven
developers work and the ones that published for free the Better Builds
With Maven book.
disclaimer: I'm a Mergere consultant ;)
On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
First of all, I would like to apologize if th
I've managed to get something into the Manifest.mf Class-Path without it
appearing in the WEB-INF/lib in M2 by placing the following in the war
packaging pom ...
com.ubs.datait.rkyc.cim.j2eeclient
cim-j2eeclient
${rkyc-cim-version}
compile
Well, yes by maven
The ear and the war are set to generate a manifest:
true
after verification, the classpath of the war is empty...
I think the reason is probably because the jar has being declared as
'provided' in the war.
So the n
Christian Gruber a écrit :
Hey all,
First - Continuum is awesome. It has some feature-gaps in 1.0.x that
make it not quite what I need, but what it does so far is still worth the
effort of the workarounds, especially since they're fairly temporary. 1.1
features look to me like they will
Emmanuel Venisse wrote:
if it's all your logs, the ant process isn't finished because you
should have "return code = 0" in log
but if it's not finished - what does it mean BUILD SUCCESSFUL message
in continuum's log?
if I perform this task in shell then ant process will be finished
so ma
Adam,
I have email the Proximity developer to see if he can answer your time
out question.
Ben
On 6/15/06, Jeff Jensen <[EMAIL PROTECTED]> wrote:
I agree with Ben. After struggling with maven-proxy (something was wrong
with how it created the download URL, so it never downloaded anything), I
I agree with Ben. After struggling with maven-proxy (something was wrong
with how it created the download URL, so it never downloaded anything), I
setup Proximity in under 2 hours (including source controlling the config
files, customizing, and experimenting with them), then spent a few more
getti
Probably best to ask on the Cargo email list however there is a Maven-2
plugin that supports Weblogic 8.1 and 9.0 on the sandbox at Mojo. I plan on
releasing the final version next week as it has gotten pretty good testing.
Scott Ryan
Chief Technology Officer
Soaring Eagle L.L.C.
[EMAIL PROTECTED
The main functionality that I haven't got (or can't get?) at the moment
from maven-proxy:
- to serve up jars from its own cache when the internet connection is
down
- to time-out quicker than 60 seconds when it is down
If any of maven-proxy, MRM or proximity do this, then I'd be grateful to
kno
Did you add the common jar to the manifest of the war?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 7:44 AM
To: users@maven.apache.org
Subject: common jars between modules in EAR
Hello all,
I would like to build an ear with some wa
Hello all,
I would like to build an ear with some war modules, and, of course, its
dependencies.
For starting, the ear (simple_ear) has:
* an unique war (called simple_war) and
* a jar (that represents the common part in the future, called common_jar.
So the structure is the following:
-
Adam,
I have found proximity really easy to setup. You can just deploy it to
tomcat etc, and it works. Although I have altered the configuration to
have seperate internal snapshot and released artifact repos and to
point to a mirror of central hosted in holland, as its faster for me.
Ben
On 6/1
How does it compare in terms of setting up and configuring, to
maven-proxy?
I saw in the mailing list recently that you had tried MRM without
success. It seems to have been at the 'about to be released' stage for
about six months. I can survive on this project with maven-proxy for the
meantime I
if it's all your logs, the ant process isn't finished because you should have
"return code = 0" in log
Emmanuel
Maksimenko Alexander a écrit :
Emmanuel Venisse wrote:
Can you send your continuum logs?
it's nothing odd in the log :
INFO Continuum - Enqueuing 'processbui
hello,
I should have check before posting if this is not already known ... try to
do better next time.
I saw that there's others issues (and a multiple.diff) link together.
Maybe all theses should be handle at the same time using the information in
the mavenproject instead of using the sourcedire
Hi,
Have alook at this site
https://is-micro.myip.hu/projects/ismicro-commons/proximity/
I use it at work to serve up my internal repos and to mirror central.
Not sure how it handels central not being available though.
Ben
On 6/15/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
Our company's inter
> Just in case, have you define the proxy settings in Eclipse
> (Windows->preferences)
> and maven2 (setting.xml) ?
I haven't defined any proxy nor setting.xml. Do I need to?
Yes you have if your company has a proxy to access to internet.
See Maven 2 book at mergere site for the setting.xml
First of all, I would like to apologize if this list is not the
appropriate medium for such question, but I have no idea where I could
go elsewhere.
I would like to know if anyone could recommend companies/individuals
providing consulting services around Maven 2.
It would be a limited m
Our company's internet connection went down this week and I realised I
need to set up maven-proxy better.
While trying to find configuration info for maven-proxy, I keep seeing
mention of Maven Repository Manager and it looks like it is in beta, but
I haven't seen any release announcements for i
> For me, it works well.
> Just in case, have you define the proxy settings in Eclipse
> (Windows->preferences)
> and maven2 (setting.xml) ?
I haven't defined any proxy nor setting.xml. Do I need to?
--
Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified
Manager of IT Dept, CPTTM
Authorized train
Hi there.
I am rather new with Maven 2. No Ant neither Maven 1 background.
Did any one got this annotation stuff to work ? Using Maven 2 + Java 1.5 +
Junit 1.4.
I fixed my PATH, the JAVA_HOME, also the source + target parameters. I think
the test gets compiled with Junit 1.4 but get ran with pr
I integrated WAS V5.1.0 with oracle access manager using below setting
User Registry - custom and
Authentication Mechanism LTPA.
When I access site "http://host:9090/admin"; it shows certificate having
information
issued by - jserver and
issued to - jserver.
Also it says "The Name on the se
Emmanuel Venisse wrote:
Can you send your continuum logs?
it's nothing odd in the log :
INFO Continuum - Enqueuing 'processbuilder' (Build
definition id=1).
INFO ContinuumScm - Updating project: id: '1', name
'processbuilder'.
INFO ScmManager
HELLO
not sure if your question was for me.. i can run tests as of today iwthouth
any problems..
hth
marco
On 6/15/06, SlinnHawkins, Jon (ELS) <[EMAIL PROTECTED]> wrote:
Hi
Are you using Junit TestSuites to kick off the tests ?
There is an issue with the current verion (2.2) of the surefire
Hi Kent,
I'm using the maven2 eclipse plugin. Whenever I try to attach
the source folder in Eclipse to a jar it depends on, the plugin
will try to copy the source into my ~/.m2/repository but
will fail with an error of "access denied". Any idea? Have you
been able to do that?
For me, it works
Just wanted to forward this email from the Glassfish dev list to Maven
users, as it contains useful/interesting information for a lot of
people... Sun seems pretty committed to deploying Maven artifacts for
all Glassfish components, and perhaps other projects as well, which is
great news for us Ma
Hi
Are you using Junit TestSuites to kick off the tests ?
There is an issue with the current verion (2.2) of the surefire plugin. It
has been fixed but not released
http://jira.codehaus.org/browse/MSUREFIRE-113
Can anyone give an indication when this will be released, as I am also
waiting
76 matches
Mail list logo