Hi,
Do version ranges work across Maven plugins or are they limited to Maven core
functionality?
As an example I defined a dependency with a range of
[4.4.2.01,) and all was well. But when I tried to use the same
notation with the maven-dependency-plugin 2.0 it results in a fatal error
statin
Hello,
Thanks everyone for sticking with us this far. I have high hopes of this
being the last RC.
This RC fixes MNG-3898 and updates the default plugin versions in the
super pom. You can see the changes to the super pom and specific
versions used here:
http://svn.apache.org/viewvc/maven/component
Phew. I was wondering how to explain it to you ;-)
-Original Message-
From: mknut...@baselogic.com [mailto:mknut...@baselogic.com] On Behalf
Of Mick Knutson
Sent: Tuesday, December 16, 2008 3:07 PM
To: Maven Users List
Subject: Re: MAVEN certifications
LOL. Now I get it... I can now see h
Yes what you have done is right. Can you show your settings so I can see
how you're telling Maven about Nexus?
-Original Message-
From: Todd Thiessen [mailto:thies...@nortel.com]
Sent: Thursday, December 11, 2008 8:45 AM
To: Maven Users List
Subject: RE: Using a SNAPSHOT version for a par
This was the analysis I did that the time:
http://www.nabble.com/releasing-the-enforcer-tt18419873.html#a18419873
-Original Message-
From: Nick Stolwijk [mailto:nick.stolw...@gmail.com]
Sent: Saturday, December 13, 2008 11:35 AM
To: Maven Users List
Subject: Re: Enforce plugin versions a
I love this group!!
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://ta
Here's a fun one for you:
http://letmegooglethatforyou.com/?q=jfgi
Combines the indirectly and directly rude methods of suggesting someone
performs their own search before pegging the list-serve.
On Tue, Dec 16, 2008 at 2:50 PM, Wayne Fay wrote:
> > Just out of curiosity, why is this your new
On Tue, Dec 16, 2008 at 5:45 PM, James Adams wrote:
> Yes I get the same thing from within the IDE -- a full build fails with the
> same errors as when using command line.
So, if you can run the same tests without Maven and get the same errors,
that seems to point pretty conclusively to the tes
http://letmegooglethatforyou.com/?q=letmegooglethatforyou
Sweet sweet recursion :).
On Wed, Dec 17, 2008 at 7:02 AM, wrote:
> As opposed to www.just&^%^inggoogleit.com which is the blatantly rude way
> :)
>
>
> On Dec 16, 2008 7:50pm, Wayne Fay wrote:
>
>> > Just out of curiosity, why is this
You need to create individual jar modules for each class, then use the
assembly plugin to group them together.
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http:/
I am using an open source product that requires a jar to be built for every
single .java
file.
The java files are all in the same directory like so:
src/main/java/com/acme/product/Name1.java
src/main/java/com/acme/product/Name2.java
src/main/java/com/acme/product/Name3.jav
Dmitry Beransky wrote:
> Hi,
>
> It seems that Maven 2.0.9 has introduced a bug where Windows absolute
> paths aren't being properly resolved.
[snip]
Are you running Maven under Cygwin?
- Jörg
-
To unsubscribe, e-mail: users
On Dec 16, 2008, at 5:24 PM, Todd Thiessen wrote:
I believe there is. Plugin can have different executions. There is
some
documentation about that here:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html#Plugins
But that doesn't work for the exec plugin. I'd be
Hi,
It seems that Maven 2.0.9 has introduced a bug where Windows absolute
paths aren't being properly resolved. A project that builds just fine
with 2.0.8 produces this error under 2.0.9:
[INFO] An Ant BuildException has occured: Failed to copy E:\svn\team\csa\main\re
sources\WEB-INF\log4j-produ
On Wed, Dec 17, 2008 at 6:58 AM, Trevor Harmon wrote:
> That plugin is fine if you want to use DocBook as a source for Doxia, but
> it's not designed for stand-alone documentation created using DocBook and
> the DocBook XSL stylesheets. The Xslt task in Ant works great for that,
> though.
>
I've
Geoffrey Wiseman wrote:
>
> On Tue, Dec 16, 2008 at 5:20 PM, James Adams wrote:
>
>> The tests run fine when I run them individually using Maven at the
>> command
>> line (or from within NetBeans or Eclipse -- I don't think the IDE is an
>> issue since the same thing happens in the IDE as at t
On Tue, Dec 16, 2008 at 5:20 PM, James Adams wrote:
> The tests run fine when I run them individually using Maven at the command
> line (or from within NetBeans or Eclipse -- I don't think the IDE is an
> issue since the same thing happens in the IDE as at the command line):
[nod] So, sounds m
Bah. Ignore last. Hit send by mistake.
---
Todd Thiessen
> Let me use a different plugin as an example. Let's say I'm
> developing a desktop application, and it runs in two
> different modes depending on the command-line options. I
> don't want to keep typing in the same long string of optio
The tests run fine when I run them individually using Maven at the command
line (or from within NetBeans or Eclipse -- I don't think the IDE is an
issue since the same thing happens in the IDE as at the command line):
$ mvn -Dtest=MultipleDaoTest test-compile surefire:test
[INFO] Scanning for pro
---
Todd Thiessen
> -Original Message-
> From: Trevor Harmon [mailto:tre...@vocaro.com]
> Sent: Tuesday, December 16, 2008 3:59 PM
> To: Maven Users List
> Subject: Re: Are Maven profiles like Ant targets?
>
> On Dec 16, 2008, at 2:54 PM, Todd Thiessen wrote:
>
> > They are more pow
On Tue, Dec 16, 2008 at 12:48 AM, Marat Radchenko <
slonopotamusor...@gmail.com> wrote:
> They should. Unless you managed to write them in such way that they don't.
>
So it could be:
- Issues with the isolation of your tests from each other
- Issues with your Maven project configuration
Thank you very much. I needed it because I wanted to integrate tests results
with other tools and I prefered to change maven folder rather than changing
the folder of all the other tools.
Baptiste MATHUS-4 wrote:
>
> After reading the documentation here:
> http://maven.apache.org/plugins/maven-s
After reading the documentation here:
http://maven.apache.org/plugins/maven-surefire-report-plugin/examples/report-custom-location.html
It seems like outputDirectory customization is only designed to generate the
html file somewhere else. Generating xml/txt files in a custom directory
seems not su
Hello,
I'm having problem setting ant attribute with a property passed from pom
file.
Here is the pom part where I call ant target:
Here is the ant file:
${shared-repo}
On Dec 16, 2008, at 2:54 PM, Todd Thiessen wrote:
They are more powerful in the sense that you can still call any goal
independantly
But if I have two tasks implemented with AntRun, there's no way to
call them independently because there's only one goal: run. I guess
most of my problems bo
As opposed to www.just&^%^inggoogleit.com which is the blatantly rude way :)
On Dec 16, 2008 7:50pm, Wayne Fay wrote:
> Just out of curiosity, why is this your new favorite site? So to take
this
> off topic, but I saw this and wonder where the use case for this site
is? i
> think I mig
Hello,
I am trying to compile and test a program and it works, but the report of
the tests are stored in target\surefire-reports the default directory. I
have changed it with the following pom.xml changing outputDirectory of both
plugins "maven-surefire-report-plugin" and "maven-site-plugin" but
LOL. Now I get it... I can now see how I will love this as well
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.c
>> What does the "Final Memory" detail represent when Maven finishes? I can't
>> find any documentation on what the two numbers mean.
>>
>> [INFO] Final Memory: 1M/4M
I'm not certain, but I'd expect the first number to be "amount of
memory currently consumed when this INFO log was generated" and t
They are more powerful in the sense that you can still call any goal
independantly, but still have the flexibility to bind it to a phase
which is part of a well defined life cycle. You get the best of both
worlds this way.
Perhaps the doxia plugin would work?
http://maven.apache.org/doxia/book/i
On Dec 16, 2008, at 10:42 AM, Martin Höller wrote:
You are doing it wrong. Maven has no targets like ant has. Maven has
lifecylces [0] which is built of phases (e.g. 'compile', package',
'install'). Plugins are attached to phases and are executed whenever
a phase is executed.
Well, without pro
> Just out of curiosity, why is this your new favorite site? So to take this
> off topic, but I saw this and wonder where the use case for this site is? i
> think I might be missing something
LetMeGoogleThatForYou.com provides a means of teaching someone how to
use Google, in case they don't a
On Dec 16, 2008, at 10:43 AM, Todd Thiessen wrote:
You probably want to use a plugin. For instance you could use the
DocBook plugin.
http://maven-plugins.sourceforge.net/maven-sdocbook-plugin/index.html
The sdocbook plugin does not work with Maven 2.
I also tried the more recent docbook plu
Hi Paul,
I was looking exactly for the same question. Did you get an answer to this?
Thanks
Anil
Paul Benedict-2 wrote:
>
> What does the "Final Memory" detail represent when Maven finishes? I can't
> find any documentation on what the two numbers mean.
>
> [INFO] Final Memory: 1M/4M
>
> Pa
Just out of curiosity, why is this your new favorite site? So to take this
off topic, but I saw this and wonder where the use case for this site is? i
think I might be missing something
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile
Does anyone know if there is an XSD file for the site.xml file and if so
where I could get it ;-). I can't seem to find it anywhere.
---
Todd Thiessen
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional co
Ahaha, my new favorite site.
-Original Message-
From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com]
Sent: Tuesday, December 16, 2008 1:35 PM
To: Maven Users List
Subject: Re: MAVEN certifications
http://letmegooglethatforyou.com/?q=maven+Java+Black+Belt
On Tue, Dec 16, 2008 at 7:42
http://letmegooglethatforyou.com/?q=maven+Java+Black+Belt
On Tue, Dec 16, 2008 at 7:42 AM, mohan_IBM wrote:
>
> thnx for ur reply, can u provide more information on the online tests
> --
> View this message in context:
> http://www.nabble.com/MAVEN-certifications-tp21028497p21035523.html
> Sent
I encountered a situation this morning in which a very strange bug
showed up in the system I'm working on - caused by the fact that we were
filtering our resources. The particular substitution in question,
however, was not a defined value at build time. It was in a Struts
package file and in
You probably want to use a plugin. For instance you could use the
DocBook plugin.
http://maven-plugins.sourceforge.net/maven-sdocbook-plugin/index.html
Once you have this plugin you can simply run the command:
mvn sdocbook
You will also want to get a better understanding of Maven's build
lifec
thnx for ur reply, can u provide more information on the online tests
--
View this message in context:
http://www.nabble.com/MAVEN-certifications-tp21028497p21035523.html
Sent from the Maven - Users mailing list archive at Nabble.com.
--
On Tuesday 16 December 2008 Trevor Harmon wrote:
[...]
> So... am I doing this right? Are profiles intended to play the role of
> Ant targets? Or is there some other mechanism for that?
You are doing it wrong. Maven has no targets like ant has. Maven has
lifecylces [0] which is built of phases (e.
On Tue, Dec 16, 2008 at 10:27 AM, Trevor Harmon wrote:
> I'm coming from the Ant world, where targets are fundamental. Need to
> generate the JavaDocs and a JAR? Write targets called "javadoc" and "jar"
> then do:
>
> ant javadoc
> ant jar
>
> In Maven, these particular tasks have built-in plug
You could try the ftp deployment instead of scp, that might work. But if you
are staying local, use site-stage will solve your issue.
if not local to the box, then you need a deployment declaration like you are
using.
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architectu
I'm coming from the Ant world, where targets are fundamental. Need to
generate the JavaDocs and a JAR? Write targets called "javadoc" and
"jar" then do:
ant javadoc
ant jar
In Maven, these particular tasks have built-in plugins, so there's no
need to write a target. Instead you just in
So, you are saying that only signature/key-based SSH works with deployment?
not simply username+password? (that was what I tried)
I do make site-stage too, just wanted to test the first deployment against a
port-forwarded port to another host ...
//Kent
2008/12/16 Mick Knutson
> scp is using ss
Hi all,
I have the following in a custom enforcer rule
ScmManager scmManger = (ScmManager)
helper.getComponent(ScmManager.class);
Which fails with "Component descriptor cannot be found in the component
repository: org.apache.maven.scm.manager.ScmManager."
My rule has dependencies on ma
scp is using ssh so you need a key generated. If you are building and
deploying locally, try to just stage the site to the directory you want.
site-stage
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (
I am trying to deploy a project site, but it seems that the deployment
possibilities are very limited?
eg. I am trying this:
project-site
scp://localhost/home/admin/test
But then I get:
Embedded error: The host was not known and was not accepted by the
configuration:
When I run eclipse:eclipse on my multi-projece maven directory
structure, I get this error message. Does anybody know what the problem
might be?
C:\slbr\logging>mvn eclipse:eclipse
[INFO] Scanning for projects...
[WARNING] Overriding profile: 'os-specific-settings' (source: pom) with
new inst
On Tue, Dec 16, 2008 at 12:32 AM, mohan_IBM wrote:
> I am new to MAVEN, and just started using it.
> Is there any certifications to MAVEN or ANT build tools?
There are some online certification tests at Java Black Belt.
--
Wendy
2008/12/16 Jörg Schaible
> Hi Kent,
>
> Kent Närling wrote at Dienstag, 16. Dezember 2008 13:14:
>
> > I am trying to customize the site generation and only want to generate
> > selected reports... however when I do this as described in the
> > examples:
> >
> >
> >
> > org.ap
On Tuesday 16 December 2008 Joey Krane wrote:
> On Tue, Dec 16, 2008 at 3:28 PM, Nick Stolwijk
wrote:
> > Take a look at chapter 5 of the book. It creates a simple webapp. In
> > chapter 5.5 it adds a servlet to src/main/java.
>
> Thanks for your patience. Creating the java directory and copying
On Tue, Dec 16, 2008 at 3:28 PM, Nick Stolwijk wrote:
> Take a look at chapter 5 of the book. It creates a simple webapp. In
> chapter 5.5 it adds a servlet to src/main/java.
>
Thanks for your patience. Creating the java directory and copying the
sources fixed the problem.
I think it is a bug i
Hi Kent,
Kent Närling wrote at Dienstag, 16. Dezember 2008 13:14:
> I am trying to customize the site generation and only want to generate
> selected reports... however when I do this as described in the
> examples:
>
>
>
> org.apache.maven.plugins
> maven-project-inf
I am trying to customize the site generation and only want to generate
selected reports... however when I do this as described in the
examples:
org.apache.maven.plugins
maven-project-info-reports-plugin
dependencies
I'd like to define in a parent pom resources like that :
${configDirectory}
${filterConfig}
s
I can't find any response on the list to the problem of how to
prefilter/interpolate properties ( such as version numbers ) in an
artifact's POM upon Deploying to a repository. The default is for the
unfilterred project POM to be uploaded.
we have many variable properties in our POMs to control a
Take a look at chapter 5 of the book. It creates a simple webapp. In
chapter 5.5 it adds a servlet to src/main/java.
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Tue, Dec 16, 2008 at 10:56 AM, Nick Stolwijk wrote:
> You created your proj
You created your project with the sample webapp as archetype. It is
recommended to seperate your java files and your webapp in seperate
modules and add a dependency between the modules. For your first maven
project you can simply create the src/main/java yourself (it is just a
directory) and put yo
Thanks for the response.
On Tue, Dec 16, 2008 at 3:03 PM, Nick Stolwijk wrote:
> Maven is not that much more difficult then ant, it is different.
>
> Please take a look at the maven book [1], this explains everything in
> a very good way!
Yes, I did refer to this as well. It does not talk about
And you are completely right. :) Thanks, a quick c/p error.
With regards,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Tue, Dec 16, 2008 at 10:38 AM, Martin Höller wrote:
> On Tuesday 16 December 2008 Nick Stolwijk wrote:
>> Maven is not that
On Tuesday 16 December 2008 Nick Stolwijk wrote:
> Maven is not that much more difficult then ant, it is different.
>
> Please take a look at the maven book [1], this explains everything in
> a very good way!
>
> Oh, and for your compile problem. Put your java sources in
> src/main/java, your resou
Maven is not that much more difficult then ant, it is different.
Please take a look at the maven book [1], this explains everything in
a very good way!
Oh, and for your compile problem. Put your java sources in
src/main/java, your resources in src/main/resources, your unit tests
in src/test/java/
Hello,
I'm exploring Maven and hence started to work with a simple web
application. I used the one I had already (mywebapp)
with the following directory structure.
mywebapp/
login.html
wEB-INF/
src/LoginServlet.java
src/EmailServlet.java
web.xml
I us
65 matches
Mail list logo