Hi, Brett,
Thanks for your feedback.
Minor Correct - Any of the 3 sites listed under "*Other Archives*" here will
let you search: http://maven.apache.org/mail-lists.html :-)
Regards.
Linghua
2008/12/12 Brett Porter
> Any of the 3 sites listed under "Archives" here will let you search:
> htt
Hi,
I want to try maven-surefire-plugin. There are two projects A and B, A
depends on B, and some test classes in A depend on that of in B. Both A and
B's POM has the following snippet.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
> We are planning to use maven in our project. our project has the production
> server. And we need to configure the maven repository for each developer
> instance like mirror or something else. So that the developer can test
> locally their part without touching the main pom.xml. Please guide m
Download Maven2 and set the library files (jars) names specified in the tags.
for reference see www.roseindia.net
radha c wrote:
>
> Hi,
>
> We are planning to use maven in our project. our project has the
> production server. And we need to configure the maven repository for each
> developer i
Any of the 3 sites listed under "Archives" here will let you search:
http://maven.apache.org/mail-lists.html
- Brett
On 12/12/2008, at 5:04 PM, Linghua Wang wrote:
All,
I joined maven mailing thread yesterday. But seem that I can not
review the
former discussions what I am interested in ef
All,
I joined maven mailing thread yesterday. But seem that I can not review the
former discussions what I am interested in effectively. All mailing threads
of apache do not support searching functionality? If yes, that is so
PAINFUL...
Regards.
Linghua.
So, I have a multi-module maven project consisting of a war project
and a jar project. The jar is a dependency of the war. I'm seeing
some unexpected behavior around which dependencies get bundled up in
WEB-INF/lib. Namely, it seems like dependencies from the war
project, either direct or
> Firstly, we've created our own packaging type (atg-module). This
> packaging type generates a jar and a zip. The zip is what has the scope
> of "provided". This isn't a compile time dependency and we did NOT want
> the zip showing up in every jar generated where there is a dependency on
> said
Hi,
We are planning to use maven in our project. our project has the production
server. And we need to configure the maven repository for each developer
instance like mirror or something else. So that the developer can test locally
their part without touching the main pom.xml. Please guide me h
>
> org.codehaus.cargo
> cargo-maven2-plugin
No version declared for a plugin gives unpredictable results. It is
possible that the version of cargo that Maven has chosen to use for
this particular build does not support the syntax that
you are using, or there's a bug related to it.
You really s
Gave it a try - it almost works!
Based on the example projects, I tried the following
1) Added a normal dependency ( icecream.war.version} is defined elsewhere
com.metservice
ICECream
${icecream.war.version}
war
2) Added the cargo plug
org.codehaus.cargo
cargo-maven2-plugin
t
2008/12/12 EJ Ciramella
> Hmmm, where to start
>
> Firstly, we've created our own packaging type (atg-module). This
> packaging type generates a jar and a zip. The zip is what has the scope
> of "provided". This isn't a compile time dependency and we did NOT want
> the zip showing up in ev
A few questions:
1) Is your project supposed to be a "pom" project
2) What's in your parent pom?
3) What are you calling on the maven command line?
It's looking for 'org.apache.maven.plugins:maven-izpack-plugin, which is the
old maven 1 version. So you either have that specified somewhere, or yo
Also to follow that up,
Although you didn't specify the maven-surefire-plugin, your build file has
inherited it from the ethereal "maven super pom".
Type mvn help:effective-pom to see what your pom *really* looks like, so you
can get an idea of how/what to configure for surefire.
On Thu, Dec 11,
Lisa,
The answer is that although Junit4 might support finding the @Test
annotations, the maven surefire plugin (being backwards compatable, AND a
completely different tool) looks for Test* *Test and *TestSuite. You need
to configure the maven-surefire-plugin (This is the part of maven that cal
Can anyone point me to good examples of plugins that use these two features:
1) DOM-based configuration
2) Getting a component from Plexus through lookup (ii.e. not via injection)
Thanks,
Justin
It looks like it, but I'd expect it to work in 2.0.10/2.1.0-M1. It'll
need more investigation.
- Brett
On 12/12/2008, at 3:46 AM, Dan Tran wrote:
Hi Brett,
I also have another case where my recent fix for wagon-file for
beta-5-SNAPSHOT does not get picked up by .
The test is at
http://svn
so I could make a module for it say logging/pom.xml and then put a
to it in a parent pom that all sub-modules have as a parent-pom
and this would work?
thanks
L
Stephen Connolly-2 wrote:
>
> put it in a jar file (make a module just for it) and add that module
> as a dependency to all the
I do not believe this has anything to do with it and I don't understand what
you are saying.
L
mgainty wrote:
>
>
> place the groupId/artifactId/version in the dependencies in
> dependencyManagement Section of the parent pom
>
> ...
>
>
>
> group-a
> artifac
I am getting this error message:
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-i
zpack-plugin' does not exist or no valid version could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultL
Hmmm, where to start
Firstly, we've created our own packaging type (atg-module). This
packaging type generates a jar and a zip. The zip is what has the scope
of "provided". This isn't a compile time dependency and we did NOT want
the zip showing up in every jar generated where there is a de
Its not a big problem but you should probably change the dependency
declaration in your pom to reflect the new location/version.
Wayne
On Thu, Dec 11, 2008 at 1:43 PM, miro wrote:
>
> Please help me what is worng with this and what should i do to get rid of
> this warning
> --
> View this messag
In that example, I don't believe C will ever show up in a deps tree or
report. So I'm not surprised the API does not reveal them.
Transitive deps of provided deps are basically your problem. If B to C
is "compile", do you see any difference in the deps reported? I don't
believe so.
What is the bu
Ok, that could be the problem as I think Lisa said she extends TestCase.
Lisa, please try removing that!
/A
justinedelson wrote:
>
> I seem to recall a problem where if you tried to combine JUnit 3.x and 4.x
> styles (i.e. use annotation and extend TestCase), something like the below
> would ha
Eclipse is a major IDE. Please google!
If you want to use the default surefire plugin configuration you MUST name
your test class according to the default configuration for the surefire
plugin. Please see link provided earlier. If not, you need to configure the
surefire plugin yourself (see link
You might want to try using cargo instead. It should allow you to deploy
the WAR project into a container and start up that container.
Something like:
true
jetty6x
GROUP_ID
ARTIFACT_ID
VERSION
war
...
-Original
Bah. Sent by mistake ;-)
I had to add this to my settings file.
development
true
central
http://central
true
true
This is already documented in the guide.
Sorry for all the noice guys a
Ok, I found the problem.
It was in my settings.xml file. When you guys said "your repository
probably isn't setup correctly" I thought that meant the repository
itself (ie: Nexus).
I had read this before in the definitive guide but it didn't dawn on me
right away. For anyone else who may want to
Please help me what is worng with this and what should i do to get rid of
this warning
--
View this message in context:
http://www.nabble.com/I-keep-getting-this-messaeg--This-artifact-has-been-relocated-to-javax.servlet%3Aservlet-api%3A2.4-20040521-tp20964763p20964763.html
Sent from the Maven
That still doesn't return a dependency of a dependency where the last
one is of scope provided.
A depends on B depends on C
A to B is provided
B to C is provided
B shows up C does not.
-Original Message-
From: sirly...@gmail.com [mailto:sirly...@gmail.com] On Behalf Of John
Stoneham
Se
> -Original Message-
> From: sirly...@gmail.com [mailto:sirly...@gmail.com] On
> Behalf Of John Stoneham
> Sent: Thursday, December 11, 2008 1:17 PM
> To: Maven Users List
> Subject: Re: Using a SNAPSHOT version for a parent
>
> >> > ie: Is this supported?
> >> >
> >> >
> >> > thei
On Thu, Dec 11, 2008 at 8:44 AM, Todd Thiessen wrote:
> When you say "yes it's right" does that mean that SNAPSHOT parents
> should automatically get downloaded or does that mean that SNAPSHOT
> parents should NOT automatically get downloaded.
>
> My snapshot Nexus repository is set to SNAPSHOT po
I have a WAR project that exposes some web services
I also have a JAR project that acts as a client application for the web
services. The client application makes http requests to the web services.
To run unit tests I need to set up a jetty server running the web services.
I have tried the follo
> On Thu, Dec 11, 2008 at 9:25 AM, EJ Ciramella wrote:
>> is there a way to get ALL dependencies (including transitive ones)?
Marking your mojo with "@requiresDependencyResolution test" ought to
resolve all this out for you and populate the artifacts variables on
the MavenProject object.
- John
I'm still missing some dependencies that have a scope of provided - does
that conflict with @requiresDependencyResolution setting?
-Original Message-
From: EJ Ciramella [mailto:ecirame...@upromise.com]
Sent: Thursday, December 11, 2008 1:33 PM
To: Maven Users List
Subject: RE: dependency
i have tried flush it had no effect.
If i remember correctly .err didnt display anything when used. but ill check
again tommorow.
Franklin P. Jones - "All women should know how to take care of children.
Most of them will have a husband some day."
On Thu, Dec 11, 2008 at 6:17 PM, Matthias Grunwal
Thank you - let me digest
-Original Message-
From: Luke Patterson [mailto:lukewpatter...@gmail.com]
Sent: Thursday, December 11, 2008 10:46 AM
To: Maven Users List
Subject: Re: dependency.getDependencies()
On Thu, Dec 11, 2008 at 9:25 AM, EJ Ciramella
wrote:
> is there a way to get
> Embedded error: Unable to parse setupCmdLine: null\bin\setupCmdLine.bat (The
> system cannot
> find the path specified.)
I don't have RAD so my ability to help with this specific issue is
pretty limited. But where is this "setupCmdLine.bat" coming from -- is
that in RAD somewhere? I'd assume the
We have JIRA running in a container that uses IWA for authenticating the
web client. I'd like to take advantage of the maven-changes-plugin to
generate a change report from JIRA but it complains with the following
error :
Dec 6, 2008 12:29:02 PM
org.apache.commons.httpclient.auth.AuthChallengePro
Hi Brett,
I also have another case where my recent fix for wagon-file for
beta-5-SNAPSHOT does not get picked up by .
The test is at
http://svn.codehaus.org/mojo/trunk/mojo/wagon-maven-plugin/src/it/wagon-248
I tried with 2.0.9 latest 2.0.10 RC, and 2.1.0-M1
is it the extentions bug you mentio
Hi All,
my problem is that I would like to have the maven to generate my
EJB stubs instead of using RAD 7.
Here is how my system looks like:
1. maven 2.0.9
2. RAD 7.0.0.7
3. JDK 1.5
I use the WAS 6.1 runtime which is found under C:\Program
Files\IBM\SDP70\runtimes\base_v61
So far I have
Would System.out.flush() help? Alternatively, System.err.println - the error
stream isn't buffered; the output stream is buffered, hence needing to write
a newline.
On Thu, Dec 11, 2008 at 1:12 PM, Stelios Philippou <[EMAIL PROTECTED]>wrote:
> I running a long application on an X session that i d
Do'h. Guess I should read the whole thread before I reply ;-)
-Original Message-
From: Jaikiran [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2008 1:48 AM
To: users@maven.apache.org
Subject: Re: Does requireProperty consider system environment variables?
Great, the intermediate
This is only looking at properties in the POM/Model. One way to make it
work would be to define in your pom hierarchy:
${env.java_home}
And then check that javaHome is set.
Otherwise, there would need to be a new custom rule that would look
specifically at env-vars, which admittedly would be han
On Wed, 10 Dec 2008 21:14:29 -0500, Brian E. Fox wrote:
> This RC fixes the SCP wagon problem identified in RC2 (MNG-3717). We have
> reverted the 2.0.x branch back to use wagon beta-2 where it was
> historically for stability. Users that require fixes for wagon beta-3+
> should use 2.1.0-M1 inste
The subject is over a year old, but as far as I know there is still no
release available with a solution for the Image inclusión in the automatic
PDF-document generation.
Because I really needed a solution for this problem I created a
quick-and-dirty solution for the short term. The problem with
On Thu, Dec 11, 2008 at 9:25 AM, EJ Ciramella <[EMAIL PROTECTED]> wrote:
> is there a way to get ALL dependencies (including transitive ones)?
It sounds like this thread might help:
http://www.nabble.com/How-to-get-all-dependecy-in-a-mojo---td19533728.html#a19533728
> depth first dependency tra
Well, I'm getting ahead of myself a bit - is there a way to get ALL
dependencies (including transitive ones)?
It can be as high as from the project level, not from an individual
dependency.
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2008
Nvm - I found a much better approach to doing any of this -
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2008 9:33 AM
To: users@maven.apache.org
Subject: dependency.getDependencies()
Is there a way to do what the pseudo code in the subjec
Is there a way to do what the pseudo code in the subject line is talking
about in a maven plugin?
We wrote a home grown, depth first dependency traversing package
(because we couldn't find this documented anywhere), but there are short
comings to it. I'd prefer that we leverage the built in mave
When you say "yes it's right" does that mean that SNAPSHOT parents
should automatically get downloaded or does that mean that SNAPSHOT
parents should NOT automatically get downloaded.
My snapshot Nexus repository is set to SNAPSHOT policy, which I believe
is correct.
---
Todd Thiessen
> -O
I running a long application on an X session that i do not view it as it
runs headless.
I just see the command line that i am using in order to help me debug.
Since there are a lot of steps in the program that i am performing i want
it to show some sort of progress bar.
I have managed to make t
Unfortunately, this will continue to be the case - you're best to work
with a test POM for now.
- Brett
On 11/12/2008, at 8:05 PM, Dan Tran wrote:
Hi Brett,
I am working on some local fixes for wagon-ftp-1.0-beta-5-SNAPSHOT so
that i can get wagon:list to work with wagon-ftp. and I run wago
You could use DOM and convert it to a string in the plugin, but that
means that you have to use a DOM object :)
Other than that, I think you need to wrap it in a CDATA.
Plexus has no internal converter for turning a DOM into a string at
the moment.
- Brett
On 11/12/2008, at 9:17 PM, cleme
I have send a message to the dev list to ask if they can repair this.
With regards,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Thu, Dec 11, 2008 at 12:57 PM, Martin Höller <[EMAIL PROTECTED]> wrote:
> On Thursday 11 December 2008 Nick Stolwi
On 11/12/2008, at 10:31 PM, Nick Stolwijk wrote:
Send this a while back, but I'm still running against the same
problem. Can someone verify this? Is it possible to have checksums
repaired when they are wrong?
Yes, you need to make sure they are fixed in the apache repository
first:
http://
On Thursday 11 December 2008 Nick Stolwijk wrote:
> Send this a while back, but I'm still running against the same
> problem. Can someone verify this?
I can verify that SHA1 checksum for portals-bridges-common-1.0.4.jar on
central seems to be broken. MD5 sum seems to be correct.
> Is it possible
Send this a while back, but I'm still running against the same
problem. Can someone verify this? Is it possible to have checksums
repaired when they are wrong?
With regards,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
-- Forwarded messa
On Thursday 11 December 2008 Brian E. Fox wrote:
> Please try it out and see if we have any remaining regressions over
> 2.0.9.
No problems with 2.0.10-RC5 here.
However, the versioning seems strange: some months ago i tested 2.0.10-RC9,
now I'm testing 2.0.10-RC5 which is newer. I know that the
Hello,
I'm developing a maven plugin with a configuration containing an XML String.
However, I would like to get it as a regular String. In my context it is not
possible to use DOM objects as the content undetermined.
Here is an example of such configuration:
Hi Brett,
I am working on some local fixes for wagon-ftp-1.0-beta-5-SNAPSHOT so
that i can get wagon:list to work with wagon-ftp. and I run wagon:list
on command line without a pom.
That is why I added wagon-ftp-1.0-beta-5 SNAPSHOT to the plugin's dependency.
and obviously maven ignores it.
Howe
61 matches
Mail list logo