It turns out there's a bug in the maven cobertura plugin documentation.
You need to wrap your and lines with and
respectively:
org.codehaus.mojo
cobertura-maven-plugin
com.gargantus.testing.*
**/*Test.class
David
On Sun, 16 Jul 2006 05:0
I have been trying to create expandable/collapsable menus on my maven generated
site, but have been unable to do so. I have not used a navigation.xml file, as
recommended in the documentation at http://maven.apache.org/site.html, but have
just put the menu in my site.xml. I have tried the followi
William Kinney wrote:
> Hello,
>
> I apologize if this is not the correct mailing list for this question. I
> tried the codehaus mailing list for the plugin, but it seems that list
> is dead.
>
I did reply to you on the codehaus list, didn't you get my reply there?
> Is there any word on the in
Hi Toli,
On 7/21/06, Toli Kuznets <[EMAIL PROTECTED]> wrote:
Yeah, if only that worked. This doesn't seem to get set in an Ant plugin. :-(
MavenProject has getRuntimeClasspathElements, getRuntimeArtifacts, and
getRuntimeDependencies which seem close to
Will see that I find a home for it. But this will probably take abaout a week
or two.
Ivo Limmen schrieb:
Sounds like a very usefull tool. I recently had the same problem, this
would
have been a great help.
On 7/20/06, Tim Kettler <[EMAIL PROTECTED]> wrote:
Hi,
I recently had to add a bunc
THe packaging attribute is used to determine what type of object you are
trying to deploy. In weblogic the only types of objects that can actually
be deployed are ears and wars so I am not sure why you are running deploy in
an ejb project since it will not deploy without being contained inside an
Yes, it's what i want
--
View this message in context:
http://www.nabble.com/Want-explain-on-Dependencies-Scope-tf1979614.html#a5442789
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
As denoted in MSITE-132 my site does NOT work because the site plugin uses the
project names instead of artifact IDs for directory names of the modules
(sub-projects). Since I have Names like "MMM::Util", the browser gets them as
relative li
short answer:
mvn -DdescriptorId=jar-with-dependency assembly:assembly
On 7/20/06, Eric Zhao <[EMAIL PROTECTED]> wrote:
my project has 3 modules, one of which depends on the other two. After i
package it with Maven 2, i got 3 jars. This is ok but i want to pack them
into one jar file (so that
Hilco,
I think we did something similar to what you are trying to do: i had
an an ant target that run a junit task, which is an optional task as
well.
I got that to work by adding a dependency on ant-junit in my POM file,
and calling out to the junit task within the same POM:
a
David,
Your ear module should not inherit dependencies that it doesn't need.
One solution is to have your ear module NOT inherit from the parent pom.
Another solution is to use the section in the
parent pom, and then specify which dependencies each module *really*
uses in their own poms. al
Hi all,
I followed the "Developing Ant Plugins for Maven2.x" guide and ended
up with a nicely working hello-plugin. I would like to try more daring
things now. :-)
Instead of Hello world I'd like to execute
. This is part of the optional Ant tasks, however.
How do I include those?
The real obje
That's a question for the Jakarta commons-logging mailing lists.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: Friday, July 21, 2006 10:32 AM
To: users@maven.apache.org
Subject: commons-logging-api vs commons-logging
In the central repo there
Geoffrey De Smet wrote:
In the central repo there are 2 jars for commons-logging.
On which one should I depend or should I depend on both?
commons-logging
commons-logging-api
1.0.4
commons-lo
The only place I specify ejb is in the ejb
element of the projects pom.
I can not change this and get maven 2.0.4 to generate the ejb-client
jars.
Why would the weblogic deployer assume a .ejb extension unless maven was
somehow passing this to the deployer?
-Original Message-
From: Wa
Wouldn't doing so prevent me from using the Jetty plugin to test the webapp?
Jetty wouldn't know to load the dependencies since it sees "provided".
Even if that wasn't an issue... I wonder about the total XML / config that
needs to be typed and synchronized between those files. No thanks.
I ju
I would simply specify all the deps in EAR pom with
provided. This should prevent them from being copied
into the EAR lib.
And yes, you will need to sync the list etc. Its really not that painful imo.
Personally, I go the other route -- specify all deps in my WARs as
provided and specify them ag
William Kinney wrote:
> Hello,
>
> I apologize if this is not the correct mailing list for this question. I
> tried the codehaus mailing list for the plugin, but it seems that list
> is dead.
>
I did reply to you on the codehaus list, didn't you get my reply there?
> Is there any word on the in
That didn't work Ian. And even if it did... this solution would mean I need
to keep this list in sync with my parent pom's dependencies.
~ David
--
View this message in context:
http://www.nabble.com/Excluding-jars-from-my-ear-tf1981474.html#a5439615
Sent from the Maven - Users forum at Nabble
We build official releases "manually". But Dan's suggestion seems reasonable.
Wayne
On 7/21/06, dan tran <[EMAIL PROTECTED]> wrote:
you can add a build defintion to you current project that do this.
mvn scm:bootstrap -Dgoals="-B,release:prepare,release:perform"
schedule it to somewhere in far
C pom
jdom
B pom
C
A pom
B
Isn't this what you want?
Wayne
On 7/21/06, Roy Siu <[EMAIL PROTECTED]> wrote:
Thanks. I have read it yet. But the samples do not suit my case. What I want
is how to let project A use project B's wrapper function of project C, in
which the function use "Class.for
Hi All,
I have been having this problem for long time, i use continuum 1.0.3.1 and
stil i couldn't make jabber notification working, so coz of this i had
switch to cruisecontrol where jabber notification works fine same set of
configuration, but i really like it to see work with continuum
Plea
Hi,
Try the following syntax:
groupId:artifactId
...
For example:
commons-logging:commons-logging
log4j:log4j
Ian
| -Original Message-
| From: David Smiley [mailto:[EMAIL PROTECTED]
| Sent: F
Hi. I have a multi-module project. My parent pom specifies the dependencies
that are used by practically everything. I have an ear module that's sole
purpose is to package up two war files (in other modules), but nothing else.
It does this but includes jar's specified by my parent pom. But I d
Hi,
I am currently working one the same thing that you are, trying to get the
release to work. I just found this website online with some information
that may be helpful. To summarize don't create a release in the trunk but
in a branch in svn because it will erase all the previous versions and t
you can add a build defintion to you current project that do this.
mvn scm:bootstrap -Dgoals="-B,release:prepare,release:perform"
schedule it to somewhere in far future and run it ( one click) later
never try it thou ;-)
-D
On 7/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I was wo
In my development environment i use tomcat with my exploded war in
/src/main/webapp.
Within this directory apart from the contents of WEB-INF i have jsp's,
htmls, gifs, jpgs.
In production i use separate application and web servers.
When i generate my war to export to my application server in m
I was wondering if anyone has developed any best practices for performing a
release with maven when using continuum? To cut things down to the basics,
seems you pretty much have to:
1. Stop continuum
2. Perform the release (including deployment of jars to repository)
3. Restart continuum
Is thi
Thanks. I have read it yet. But the samples do not suit my case. What I want
is how to let project A use project B's wrapper function of project C, in
which the function use "Class.forName" or more specific that how can my
[plugin] project use [CommonLib]'s wrapper of [JDom's XPath]'s function
wh
I just want to know how can my [plugin] project use [jaxen], [saxpath]
properly with only set dependency on [CommonLib].
Or more general, if there is artifact C, B, A, X-Z
- artifact A has a function dynamic load (Class.forName) some of the class
appeared in project X-Z
- artifact B wrap th
Thanks Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ok thank you all !
Emmanuel Venisse sends me the lastest version.
Arnaud.
Jesse McConnell a écrit :
ah, that was a bug we found in maestro that is actually fixed in
apatched version of 1.0.1 maestro.
if you download maestro 1.0.1 I can get you that patched version ofthe
continuum app until
The build start only if there is changes. Mail sent are independant of the
changes.
Kapil Gupta(CT) a écrit :
Hi,
Can I configure Continuum to build project and send mail only if there
are any code changes (cvs commits)?
Right now, it sends mail either always or on state change but I
Not positive but this seems to be a good bet:
maven-artifact-jar \ org \ apache \ maven \ artifact \ versioning
Wayne
On 7/21/06, Beyer,Nathan <[EMAIL PROTECTED]> wrote:
That's exactly what I was looking for, thanks. Do you, or anyone, happen
to know what Maven component implements this resolut
Yeah I have the same issue. Could you please tell me how I can get patched
versions? From mergere or I can built by myself? If second could you please
point to the sources of maestro?
Best regards,
Juri.
-Original Message-
From: Jesse McConnell [mailto:[EMAIL PR
In the central repo there are 2 jars for commons-logging.
On which one should I depend or should I depend on both?
commons-logging
commons-logging-api
1.0.4
commons-logging
com
Hi,
Can I configure Continuum to build project and send mail only if there
are any code changes (cvs commits)?
Right now, it sends mail either always or on state change but I would
like it to build my project and send mail only when there is change in
source code
Thanks,
Kapil
I do try to avoid them, but I want to understand them, as they seem to
be used by the Maven plugins themselves quite often.
-Nathan
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 9:35 AM
To: Maven Users List
Subject: Re: [m2] version resolution
That's exactly what I was looking for, thanks. Do you, or anyone, happen
to know what Maven component implements this resolution? I'm curious.
Thanks.
-Nathan
-Original Message-
From: Yann Le Du [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 4:43 AM
To: Maven Users List
Subject:
The book was probably written against pmd-plugin 2.0 or earlier. We've
upgraded the PMD version several times since then and they add new rules
to our default rulesets all the time. In other words, you might not
have done anything wrong and still see errors due to new rules being
triggered.
Take
That works. Thanks.
Wayne Fay wrote:
You will want to use an excludes, something along the lines of:
acegi
acegi
1.0.1
compile
spring
spring
This is obviously not a proper dependency node, but you'll figure it
out from here I thin
Jeff Mutonho wrote:
>
> I'm going through chapter 6 .Running "mvn install" for the
> examples(as instructed on page 158) is giving me build failure due to
> PMD violations.The offending projecting is proficio-store-xstream:
>
Are you sure your archive file is unaltered? Maybe you're missing s
Hi Valerio,
this is due to the fact that maven generates the pages in the directory
parent\foo\target\site
parent\bar\target\site
parent\target\site
You have to view each module separately. In order to test the full website
try:
mvn site:stage -DstagingDirectory=C:\fullsite
Maven first creates i
Do you have a pre-existing MANIFEST.MF in your webapp source? The first
example doesn't look like it was generated by Maven 2; you should see a
Plexus Archiver entry. If you remove the custom manifest entry, does
the Class-Path entry appear?
-Original Message-
From: David J. M. Karlsen [
Not sure where exactly this is documented but I believe the order
would/should be:
1.0-alpha-1
1.0-RC1
1.0.0
1.1-alpha-1
1.1.0
1.2.0
2.1.10
10.0.0
At least, this is how I would expect it to work. I generally do not
use alpha and RC and instead use SNAPSHOT and full versions (1.1.2)
instead. This
Can you be a little more explicit about what exactly is the source of
your confusion? What about Maven's transitive dependency handling is
hard to understand and causing you troubles?
Wayne
On 7/21/06, Roy Siu <[EMAIL PROTECTED]> wrote:
I am newbie to Maven, and now want to write a custom plug
Valerio Schiavoni-2 wrote:
>
> but they are not there. why is "maven-site" used ?
>
> if i look into parent/foo/target/site/index.html i can see the index for
> Foo
> (same for other submodules).
>
Which version of the maven-site-plugin are you using? I have got the
2.0-20060528.195659-9, an
Did you read this ? May be it helps.
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
- Original Message
From: Roy Siu <[EMAIL PROTECTED]>
To: users@maven.apache.org
Sent: Friday, 21 July, 2006 3:50:09 AM
Subject: Want explain on Dependencies Scope
You will want to use an excludes, something along the lines of:
acegi
acegi
1.0.1
compile
spring
spring
This is obviously not a proper dependency node, but you'll figure it
out from here I think.
Wayne
On 7/21/06, Denis McCarthy <
Hi,
I'm going through chapter 6 .Running "mvn install" for the
examples(as instructed on page 158) is giving me build failure due to
PMD violations.The offending projecting is proficio-store-xstream:
What exactly is your question? You have several options: remove the PMD
errors by correcting
Vinay Kumar-5 wrote:
>
>
> Hi dcabasson ,
> Will it not work by placing below mention part either in build or report:
>
> I tried this but doesn't work. how we can put these in dependencies . In
> dependencies we put jars on which our project depend.
>
Well, sure, this has nothing to do in
I'm going through chapter 6 .Running "mvn install" for the
examples(as instructed on page 158) is giving me build failure due to
PMD violations.The offending projecting is proficio-store-xstream:
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\Better_Builds_With_Maven\_content-files-
Matt Raible wrote:
Acegi 1.0 was compiled against Spring 2.0, so there are some known
issues with the release. I'd suggest using Acegi 1.0.1 instead.
Matt
On 7/21/06, Denis McCarthy <[EMAIL PROTECTED]> wrote:
Hi,
I'm in the process of trying to get a project going with maven. The
project in q
Acegi 1.0 was compiled against Spring 2.0, so there are some known
issues with the release. I'd suggest using Acegi 1.0.1 instead.
Matt
On 7/21/06, Denis McCarthy <[EMAIL PROTECTED]> wrote:
Hi,
I'm in the process of trying to get a project going with maven. The
project in question uses spring
Hi,
I'm in the process of trying to get a project going with maven. The
project in question uses spring 2.0 and acegi security 1.0 (The latest
major versions of both projects). I was getting NoSuchMethodErrors when
running my tests. I noticed that in my eclipse classpath (which I
generated vi
Hello,
I apologize if this is not the correct mailing list for this question. I
tried the codehaus mailing list for the plugin, but it seems that list
is dead.
Is there any word on the integration of the plugin with callisto / 3.2's
"Dynamic Content" Web project? I was hoping to use maven 2 alon
strange, I'm getting exactly 7.0G now in the m2 repo
On 7/21/06, Trygve Laugstøl <[EMAIL PROTECTED]> wrote:
Matt Raible wrote:
> Any idea how big /maven2 is?
16GB when I did the last rsync before ApacheCon.
--
Trygve
-
To uns
ah, that was a bug we found in maestro that is actually fixed in a
patched version of 1.0.1 maestro.
if you download maestro 1.0.1 I can get you that patched version of
the continuum app until we figure out a better way to distribute it or
release 1.0.2
jesse
On 7/21/06, Arnaud Daroussin <[EMAI
hello,
i have a multi-module site. the parent project site.xml declares something
like:
http://maven.apache.org/maven2/"/>
i have 2 modules, named Foo and Bar... The generated site correctly shows
links to them, but the links are not correct. they look like:
Hello Denis,
It helped: the host is now accessible without having to answer to the question I
mentionned. The known_hosts file does the trick, just like you said.
The site:deploy goal works flawlessly.
But when I run release:perform, it gets stuck at site:deploy, at the moment when the
plugi
Hi dcabasson ,
Will it not work by placing below mention part either in build or report:
org.apache.maven.plugins
maven-site-plugin
>/path/to/site/dir
I tried this but doesn't work. how we can put these in dependencies . In
dependencies we put jars on which our project d
I have a multi-module project with two levels of transitive
dependencies like this :
pom.xml
- module1 - project1 depends on project2
- module2 - project2 depends on project3
- module3 - project3
in my parent pom I specify in my dependency management section my
modules dependencies with ${projec
Arne Sutor wrote:
Hi Denis,
The mailing lists are searchable, see the link below:
http://www.nabble.com/Maven---Users-f178.html
The search area can be found on the top right.
Have fun,
Arne
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von De
Hi!
I've declared a entry like this in my POM:
maven-war-plugin
2.0
true
${buildNumber}
I've also declared
I am newbie to Maven, and now want to write a custom plugin. But I get
confuse on maven's transitive dependency handling. My poms' dependencies
setting is something like:
Project A
...
saxpath
saxpath
1.0-FCS
${compile}
jaxen
jaxen
1.0
Vinay Kumar-5 wrote:
>
> It doesn't work I also tried
> /path/to/site/dir
> but no luck.
>
Try the parameter siteDirectory of maven-site-plugin:
http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html
(you can put it in your dependencies or dependencyManagement part, I guess)
Denis
Sebastien Pennec wrote:
>
> Does anybody know how to be able to answer 'yes' to that question? Or just
> to get rid
> of it?
>
Try adding an empty file ~/.ssh/known_hosts
Latest version of maven-wagon plugin will add the fingerprints of your hosts
there.
As you're using external ssh/scp pro
Hi,
I've been using site:deploy with success to send my generated website to a
server.
The plugin always asks me this:
The authenticity of host 'hostname' can't be established.
RSA key fingerprint is 83:7c:87:14:56:bb:4a:46:02:e8:56:dd:c8:5c:34:22.
Are you sure you want to continue connecting?
Hi Denis,
The mailing lists are searchable, see the link below:
http://www.nabble.com/Maven---Users-f178.html
The search area can be found on the top right.
Have fun,
Arne
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Denis McCarthy
Gesendet
Yann Le Du wrote:
Hi Denis,
Is this helpful ?
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
- Yann
2006/7/21, Denis McCarthy <[EMAIL PROTECTED]>:
Hi,
I'm sure this question has been asked a t
It doesn't work I also tried
/path/to/site/dir
but no luck.
Thanks
Vinay
- Original Message
From: Tim Kettler <[EMAIL PROTECTED]>
To: Maven Users List
Sent: Friday, 21 July, 2006 12:45:55 AM
Subject: Re: Default dir fo site src
try /path/to/site/dir
-Tim
Vinay Kumar schrieb:
> Hi
Hi Nathan,
I don't know if this is what you are looking for, but :
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution
- Yann
2006/7/18, Beyer,Nathan <[EMAIL PROTECTED]>:
Is there a guide, document or piece of code that I can look at to
determine the precedence
Hi Denis,
Is this helpful ?
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
- Yann
2006/7/21, Denis McCarthy <[EMAIL PROTECTED]>:
Hi,
I'm sure this question has been asked a thousand times before b
Hi,
I'm sure this question has been asked a thousand times before but I
can't see a clear answer on the maven site or through google
(Unfortunately the mailing list archives aren't searchable either).
I'm converting a project to use maven as the build tool and I've set up
most of my dependencie
Matt Raible wrote:
Any idea how big /maven2 is?
16GB when I did the last rsync before ApacheCon.
--
Trygve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 7/21/06, dcabasson <[EMAIL PROTECTED]> wrote:
Jeff Mutonho wrote:
>
>>
>> Can we have a look at your parent pom?
>>
>> Looks like maven is trying to build a war out of your parent project
>
> Sure thing.There goes :
>
Ok, that was not the interesting parent. Guess I wanted to say the ep
Hi
I have a continuum build that is executing multiproject:install on a
Maven 1 project. Continuum reports the builds to be successful even when
they fail.
Is this a known issue?
Thanks
Gabriel
Communications on or through ioko's computer systems may be monitored or
recorded to
That's it, you're using the Maven 1 plugin, with Maven 2.
The correct M2 plugin is:
org.codehaus.mojo
findbugs-maven-plugin
And that is the plugin you're lanching when using the command line with
findbugs:findbugs
Denis.
Arne Sutor wro
Sorry, I didn't explained the context.
I use Maestro 1.0 so Continuum 1.0.3.
I try to send notification mail with the real Continuum and it's working.
I will search the difference between both.
Arnaud.
Emmanuel Venisse a écrit :
What is your continuum version?
Emmanuel
Arnaud Daroussin a
Hi Denis,
Thanks for your answer.
Here is the out commented line of the reporting section:
With regards,
Arne
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von dcabasson
Gesendet: Freitag, 21.
Have a look at the maven-assembly-plugin. It basically does what you're
looking for.
http://maven.apache.org/plugins/maven-assembly-plugin/predefined.html
The jar-with-dependencies descriptor creates a single big jar with all of
your dependencies.
If you only want your own jars bundled together
Care to show the reporting section fo your pom?
Most of the time, these NPE comes from mispelled plugin names/groups (which
can explain that the plugin is working fine when launched from command
line).
Denis.
--
View this message in context:
http://www.nabble.com/-m2--Another-findbugs-plugin
Jeff Mutonho wrote:
>
>>
>> Can we have a look at your parent pom?
>>
>> Looks like maven is trying to build a war out of your parent project
>
> Sure thing.There goes :
>
Ok, that was not the interesting parent. Guess I wanted to say the eportal
pom (which is the parent of the eportal-we
http://maven.apache.org/guides/mini/guide-archive-configuration.html
[EMAIL PROTECTED] wrote:
> Hi all,
>
> Is there a way of preventing maven from adding the effective pom to the
> generated JAR?
>
> Thanks
>
>
>
> --
Title: Prevent maven from adding pom file to jar
Hi all,
Is there a way of preventing maven from adding the effective pom to the generated JAR?
Thanks
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named
Hi all,
I set up my project so far and I wanted to include the findbugs in the
reporting section. Reading the Mailing list archives I discovered several
hints. Executing the goal findbugs:findbugs does not result into any errors.
But as soon as I start the mvn site:site goal, I will get the fol
Hi all,
as newbie I am just playing around with maven2 in a multi-project
environment. While setting up the documentation for our project I discovered
that maven when executing the site goal generates everything fine including
the javadoc. But as soon as I use the stage goal, maven seems not to
Can we have a look at your parent pom?
Looks like maven is trying to build a war out of your parent project
Sure thing.There goes :
4.0.0
za.co.mycompany.eportal
mycompany-eportal
mycompany ePortal
pom
1.0.0
mycompany J2EE application called ePortal
2005
Jeff Mutonho
On 7/20/06, Mike Perham <[EMAIL PROTECTED]> wrote:
Is it JavaSource or JavaSources? You use both below.
I'm sorry , that was a typo.It's JavaSource
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On 7/20/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
I never tried
Maven 1.1 bundles ant 1.6.5. I don't know if it can fix your problem. Did
you test ?
Based on your suggestion, I downloaded ant 1.5.3-1 (the version
bundled with maven), 1.5.4 and 1.6.2 and ran the following sample
build.xml w
90 matches
Mail list logo