On 28/09/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> If there isn't already, yes. It is currently part of a TODO in the
> code I think...
Done.. http://jira.codehaus.org/browse/MNG-1037
Mark
-
To unsubscribe, e-mail: [EMAIL PR
When writting a Mojo, what are the standard convention to trace/log [debug]
messages ?
Gilles Scokart
_
Protégez votre boîte de réception: Phishing : comment l'identifier, le
signaler et l'empêcher http://www.fr.msn.be/securi
On Wed, 2005-09-28 at 12:24 +0200, Gilles Scokart wrote:
> When writting a Mojo, what are the standard convention to trace/log [debug]
> messages ?
getLog().info( "Hey yo!" );
--
Trygve
-
To unsubscribe, e-mail: [EMAIL PROTEC
It turns out that the reason that the m2 -U site:site did not work when
I first tried it was that I am using a proxy for ibiblio and the proxy
was not updating its cache.
I think maven-proxy could stand modification so that it doesn't cache
the metadata (something to look into if I get a chance).
Instead of having lots of debug statements in your Mojo, you could
simply connect a debugger to Maven.
I'm doing this with IDEA simply by running maven with
MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005" m2 install
Ørjan
G
Confirmed, that fixed it - thanks!
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 27, 2005 12:01 PM
> To: Maven Users List
> Subject: Re: [m2] antlib and typedef - feel like a noob
>
> Hi,
>
> There's a bug in the documentation. Inst
Hi,
I have just downloaded m2-beta-2 and found some interesting fact
about the dependency declaration order in pom.xml when executing
the clover:report goal.
My project has a dependency to commons-lang with compile scope and
junit with test scope. Since commons-lang declares junit as
compile-tim
Hi,
I just started to play around with maven 2 yesterday and really want to
move from maven 1... i tried to create a simple plugin to package
projects as SAR (Service ARchives in jboss). Now after some struggling
using beta-1, the plugin seems to be built and installed correctly using
beta-2.
This is a missing instruction on the build lifecycle page. You need to
add the plugin to the project, true
- Brett
On 9/28/05, mika <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just started to play around with maven 2 yesterday and really want to
> move from maven 1... i tried to create a simple plugin
Kenney Westerhof wrote:
On Tue, 27 Sep 2005, Erick Dovale wrote:
I use the plugin extensively and never had these sorts of problems.
What is your pom.xml, directory structure, and how do you invoke
eclipse:eclipse, and from what location?
-- Kenney
Hi there,
When I call m2 eclipse:eclips
On Wed, 2005-09-28 at 14:47 +0200, mika wrote:
> Hi,
>
> I just started to play around with maven 2 yesterday and really want to
> move from maven 1... i tried to create a simple plugin to package
> projects as SAR (Service ARchives in jboss). Now after some struggling
> using beta-1, the plugi
According to the surefire docs, is of type List (i.e. I would assume
it cannot be wildcarded) whereas is of type String and notes "Specify
this parameter if you want to use the test regex notation to select tests to
run". I changed to your suggestion anyways and I get an "error configuring
p
Brett Porter wrote:
On 9/28/05, Mike Perham <[EMAIL PROTECTED]> wrote:
Can dependency scopes solve most of this problem? Maybe the only jars
to appear in the eclipse .classpath should be those in the compile, test
and provided scopes? Or should the eclipse classpath reflect the full
set of
hi I am using multiproject plug-in. When I am trying to create complete
build it says cycle detected. Build failed. This is happening when I declare
dependency of one subproject in another like the following
I had 2 subprojects. I declared 1st one as dependency in 2nd one and 2nd one
in 1st on
Muralidhar Y. wrote on Wednesday, September 28, 2005 3:59 PM:
> hi I am using multiproject plug-in. When I am trying to
> create complete build it says cycle detected. Build failed.
> This is happening when I declare dependency of one subproject in
> another like the following
>
> I had 2 subpro
Do not hijack threads like this. Start a new thread instead of replying
to a existing thread. It messes up the thread view in the email clients
that thread messages.
On Wed, 2005-09-28 at 17:58 +0400, Muralidhar Y. wrote:
>
> hi I am using multiproject plug-in. When I am trying to create complet
Hey all,
Great success using the M2 Antlib, specifically with the default-install
of Eclipse!
I'm trying to get the classpath that is generated from the
artifact:dependencies to CREATE the eclipse .classpath to keep the
environments in-sync, with the maven pom.xml being the master file.
Build.xml
Ok, thanks a lot! I hadn't any time to further investigate and get it to
work right now anyway; a "common" solution for this type of packaging
certainly would be the nicest approach ;-)
cheers,
mika
Trygve Laugstøl wrote:
On Wed, 2005-09-28 at 14:47 +0200, mika wrote:
Hi,
I just started to
Thanks, but what are the guidelines on when to log at which level ? I guess
it's a good idea that all plugins follow the same guidelines. What is the
best practice for that ?
And what if our mojo call external code that is not (and should not be)
aware of running into a maven plugin ?
> W
On Wed, 2005-09-28 at 05:48 -0500, Allison, Bob wrote:
> It turns out that the reason that the m2 -U site:site did not work when
> I first tried it was that I am using a proxy for ibiblio and the proxy
> was not updating its cache.
>
> I think maven-proxy could stand modification so that it doesn'
Hi there,
I'm trying to use Spring / Maven / Eclipse in one of my projects with
no success. I have included the following dependency in my pom:
springframework
spring
1.2.5
When I try to generate the Eclipse project (m2 eclipse:eclipse) I only
get spring-1.2.5.jar add
On Mon, 2005-09-26 at 22:02 +, John Fallows wrote:
> On 9/25/05, Trygve Laugstøl <[EMAIL PROTECTED]> wrote:
> > On Sat, 2005-09-24 at 04:31 +, John Fallows wrote:
> > > On 9/23/05, Trygve Laugstøl <[EMAIL PROTECTED]> wrote:
> > > > On Fri, 2005-09-23 at 08:03 +, John Fallows wrote:
[sn
Hi,
seems like the jar for org.extremecomponents-1.0.1-M1 contains no
class files (see below). Should I report this in the Maven Evangelism
JIRA?
Cheers,
-Ralph.
---
/tmp % curl -O http://www.ibiblio.org/maven2/org/extremecomponents/
extremecomponents/1.0.1-M1/extremecomponents-1.0.1-M1.
post an issue at http://jira.codehaus.org/browse/MEV for it
Nicolas
2005/9/28, Jose Gonzalez Gomez <[EMAIL PROTECTED]>:
> Hi there,
>
> I'm trying to use Spring / Maven / Eclipse in one of my projects with
> no success. I have included the following dependency in my pom:
>
>
> springfr
Hi,
I am trying to work out the best way to read the contents of a file.
Specifically, I an performing an iteration over **/*.jsp files
and want to only perform tasks on JSP which have
On Wed, 2005-09-28 at 17:29 +0200, Ralph Pöllath wrote:
> Hi,
>
> seems like the jar for org.extremecomponents-1.0.1-M1 contains no
> class files (see below). Should I report this in the Maven Evangelism
> JIRA?
Yes please. Thanks.
--
Trygve
---
On 28.09.2005, at 18:17, Trygve Laugstøl wrote:
On Wed, 2005-09-28 at 17:29 +0200, Ralph Pöllath wrote:
Hi,
seems like the jar for org.extremecomponents-1.0.1-M1 contains no
class files (see below). Should I report this in the Maven Evangelism
JIRA?
Yes please. Thanks.
Done: http://jira.cod
Ok. Let's say we did it that way. We are still faced with the same
problem with the maven-eclipse-plugin. Maven-eclipse-plugin does not
like having your source and test directories the same.
${basedir}/src/java
${basedir}/src/java
I can't do this without using eclipse. The plugin, in this c
I have a custom plugin with 3 goals. They are separate becuase I need to be
able to execute each one individually.
They all bind to the same lifecycle phase.
However, when the plugin is included in the build section, I need to be able
to execute all 3 goals, but in a pre-defined order:
goal1->g
Hi,
installing a jar into my local repository as explained at [1]:
/tmp % m2 install:install-file \
-Dfile=/tmp/eXtremeComponents-1.0.2-M1.jar \
-DgroupId=org.eXtremeComponents \
-DartifactId=eXtremeComponents \
-Dversion=1.0.2-M1 \
-Dpackaging=jar
fails with "Cannot execute mojo: install-fi
Here is the pattern I was going to build:
Project proj-a creates a.jar which contains:
-- Interface A which is the API for the jar
-- Class AImpl which implements the API
-- Class AFactory which creates implementations of interface A
Project a-test creates a-test.jar which contains a MockObjects
On Wed, 2005-09-28 at 09:39 -0700, Tim Dysinger wrote:
> Ok. Let's say we did it that way. We are still faced with the same
> problem with the maven-eclipse-plugin. Maven-eclipse-plugin does not
> like having your source and test directories the same.
>
> ${basedir}/src/java
> ${basedir}/src/
On 9/28/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> I think its because the project you are depending on is in the
> reactor, and its probably a bug.
>
> Basically, its trying to use the built version of that project, but
> projects are only identified by group:artifactId
Okay - filed issue MNG-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm unable to replicate this behavior on my local working copy. Can you
try running with the '--no-plugin-registry' to see if this helps? You
may have an older version of the plugin which may have been created with
a faulty plugin-plugin version...
G
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
one thing that springs to mind is to create an aggregator plugin that
you can bind into the lifecycle, which will call each of these mojos in
order...beyond that, it *may* work to add them in the order you desire
within an execution section under the
-- Forwarded message --
From: Jose Gonzalez Gomez <[EMAIL PROTECTED]>
Date: 28 sept. 2005 19:12
Subject: Re: [M2] Using Spring with Maven / Eclipse
To: Nicolas Chalumeau <[EMAIL PROTECTED]>
http://jira.codehaus.org/browse/MEV-98
Meanwhile, anybody has a list of spring dependencie
how do I install/deploy my ear to my own remote repository
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
-
To un
You should be able to look at the 1.2.4 poms in the repository and
figure them out. I wouldn't expect very many of the dependencies to
change.
-Stephen
On 9/28/05, Nicolas Chalumeau <[EMAIL PROTECTED]> wrote:
> -- Forwarded message --
> From: Jose Gonzalez Gomez <[EMAIL PROTECTED
When filtering is disabled, are resources and testResources copied
incrementally?
For example, if the target file exists and has a more recent
timestamp, is the resource file still copied?
Kind Regards,
John Fallows.
-
To unsubs
Untested suggestions:
1. Use ants "loadfile" task with a regexp task to set a condition property
or
2. Extend the ant task that does the filtering to include the check and
declare your custom task.
or
3. Use the jelly util load text tag in conjunction with the regexp tag
anyone think of any more?
good morning sir :-)
I found a way .. my fix is a work around .. so ..
I was happy with anything :-)
Thanks, John.
Is there an example of such a plugin in the maven codebase? I need to put
this together quickly to demo a proof-of-concept project
-Moiz
-Original Message-
From: John Casey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 11:49 AM
To: Maven Users List
Subject
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
not that I know of, but there's no real magic to doing this. It
effectively turns your usage of the other mojos by the lifecycle mojo
into API calls. So, you'd have to construct each one, and use setters to
inject the parameters into each of the three
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
doesn't look like it, from a quick read of the code. It's not using a
stale source scanner like the compiler plugin is...
HTH,
john
John Fallows wrote:
| When filtering is disabled, are resources and testResources copied
| incrementally?
|
| For ex
With maven 1 :
maven ear:deploy
Arnaud
> -Message d'origine-
> De : Mick Knutson [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 septembre 2005 20:57
> À : users@maven.apache.org
> Objet : how do I install/deploy my ear to my own remote repository
>
> how do I install/deploy my ear
I have a property in my build.properties that I want to override when I run
my maven in cruisecontrol.
How would I do this please?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
--
The 1.2.4 pom neither has the dependency information, at least in the
maven2 respository
(http://www.ibiblio.org/maven2/springframework/spring/1.2.4/spring-1.2.4.pom).
I have taken a look at the maven1 respoitory and I was only able to
find the 1.1.2 pom
(http://www.ibiblio.org/maven/springframewor
If it's for all your projects you can set it in the build.properties on the
account you use to launch CC.
Arnaud
> -Message d'origine-
> De : Mick Knutson [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 septembre 2005 22:20
> À : users@maven.apache.org
> Objet : how do I override a par
If it's only for one project in CC, you could create a custom goal on this
project :
maven.xml :
And you call this goal from CC
Arnaud
> -Message d'origine-
> De : Mick Knutson [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 septembre 2005 22:20
> À : users@maven.apache.or
On 9/28/05, John Casey <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> doesn't look like it, from a quick read of the code. It's not using a
> stale source scanner like the compiler plugin is...
Understood. Filed issue MNG-1042.
http://jira.codehaus.org/browse/MN
Trying to get the scm plugin to work with my project using goal
scm:update,
And I get the following error. I know that the repository location is
valid, but the plugin can't seem to find it. Just below is the
configuration excerpt (The stuff in brackets I replaced to protect
sensitive data).
now if xxx is defined in my build.properties, will this override the
build.properties value?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
From: "Arnaud HERITIER" <[EMAIL PROTEC
I can't get this to work except in one of my projects, either. Using -npr or
--no-plugin-registry did not help. I also have maven-install-plugin
v2.0-beta-1 installed. The maven-metadata-central.xml in the repository shows
2.0-beta-1 as the only version.
Is there a form of this that can be u
yes.
http://maven.apache.org/reference/properties.html#Property_Processing
Arnaud
On 9/28/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> now if xxx is defined in my build.properties, will this override the
> build.properties value?
>
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE
I'm using m2 beta 1 version of the ANT tasks.
I've specified the "servletapi" jar file as a "compile" dependency.
However, when i create my war file (which i do with an ANT script),
i don't want it included in the WEB-INF/lib directory.
>From what i can tell, when i can't use the element
to
I don't think you can do what you want with Spring. It cannot have a
master set of dependencies because Spring is split up into a
"pay-as-you-go" set of JARs (i.e there are many JARs available -- but
you use a subset).
Once you know that subset, m2 has a cool way of building "Composite
POM Project
Hi,
I need a reference to JAVA_HOME in my jelly script but the tag below doesn't
seem to work. All I get is "JAVA_HOME=" (w/o the quotes of course).
So I assume there is a different way to do this but I can not find it.
Any help is highly appreciated.
Thanks,
Erwin
Unfortunately, the Maven integration for CC doesn't have separate
elements for setting properties like the Ant integration does. However,
since you've created your own Maven.bat that CC calls, you can add the
properties there. For example:
@echo "C:\Maven_1.0.2\Maven.bat" -Dmyprop=value %*
call
The only dep I had to add to get Spring to work was:
aopalliance
aopalliance
1.0
runtime
-Original Message-
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 3:30 PM
To: Maven Users List; Stephen Duncan
Subject: Re: [M2] Using Spring with M
Greetings,
Can one declare a at the top level of the . In
other words, outside of a ??
Many of us use a few local repos -- say, a local mirror of ibiblio or
a local repo for internal JARs. -- common to all projects, and it
makes sense to me that this is a global setting per user.
If not, could
Try getting it via the System property "java.home":
Hogeweg, Erwin (GE Infrastructure) wrote:
Hi,
I need a reference to JAVA_HOME in my jelly script but the tag below doesn't seem to
work. All I get is "JAVA_HOME=" (w/o the quotes of course).
So I assume there is a different way to d
Hi,
Different solutions:
...
JAVA_HOME : ${env.JAVA_HOME}
...
Maven variables : ${context.getVariables()}
Maven JRE : ${context.getVariable("java.home")}
Maven JAVA_HOME : ${context.getVariable("env.JAVA_HOME")}
...
Regards,
Davy Toch
On Wednesd
Hello there,
I am generating my jars perfectly using maven-jar-plugin. I see it
actually creates a minifest file and includes it in the jar file which
is perfect. However, I need this jar to be executable and the plugin
does not add the classpath entries to the manifest. How can I have this
pl
Revisiting this again, I am having issues getting cruiseControl to correctly
call Maven.
This is what I get in the MAVEN_BATCH_ECHO=on:
C:\opt\local\blackhawk\FastForward_AppServer\fastforward>"c:\j2sdk1.4.2_08\bin\java.exe"
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docu
According to the docs, it sounds like what you're looking for is the
"provided" scope..
"provided - this is much like compile, but indicates you expect the
JDK or a container to provide it. It is only available on the
compilation classpath, and is not transitive."
- from http://maven.apache.org
if i'm understanding your problem correctly, you should be able to
define the profile with the repository settings you want and just
declare that profile in the element near the end of
the file (http://maven.apache.org/maven2/maven-settings/settings.html)..
that should make that profile active al
OK, it seems that only cvstimestamp parameter is getting quoted correctly.
How did this happen? How can I maek the cclastbuildtimestamp, label,
cclastgoodbuildtimestamp , cclastbuildsuccessful and cctimestamp parameters
quoted?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc
spring-full
http://www.ibiblio.org/maven2/springframework/spring-full/1.2.4/spring-full-1.2.4.pom
And then, for example for each piece:
http://www.ibiblio.org/maven2/springframework/spring-hibernate/1.2.4/spring-hibernate-1.2.4.pom
-Stephen
On 9/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> w
On 9/29/05, Gilles Scokart <[EMAIL PROTECTED]> wrote:
> Thanks, but what are the guidelines on when to log at which level ? I guess
> it's a good idea that all plugins follow the same guidelines. What is the
> best practice for that ?
This should all be information for the user: ERROR for things
ah ha! i found it.. check out the documentation in the settings.xml
file in your [maven2]/conf directory.. wouldn't it be swell if that
info found its way into the documentation of the Setting config file
online..
Saleem
On 9/28/05, Saleem Shafi <[EMAIL PROTECTED]> wrote:
> if i'm understandi
This would be a question for Ant. I'm not sure how you generally deal
with iterating paths for generating content.
Of course, another option is to use the Maven Eclipse plugin to
generate the eclipse .classpath from the POM you have already created
(which could be wrapped in an ant task if that wa
Ok, to elaborate:
- the install plugin has this fixed, but it has not been released
- it worked with the beta-1 core because it wasn't validating the
@requiresProject element
- when the updated install plugin is available, it will work again -
you should be prompted to download it after it is relea
just further to Saleem's response:
On 9/29/05, Chris Berry <[EMAIL PROTECTED]> wrote:
> Many of us use a few local repos -- say, a local mirror of ibiblio or
> a local repo for internal JARs. -- common to all projects, and it
> makes sense to me that this is a global setting per user.
for a local
> [ERROR] /misc/docs-dev/REPOS
> : no such repository
This indicates the response from the cvs command. Try running the same
update command manually - once you sort out how to get that to work
the scm plugin will work.
- Brett
-
I'd say, use the spring pieces you need instead of adding the full
jar. It'll be easier for you.
On 9/28/05, Stephen Duncan <[EMAIL PROTECTED]> wrote:
> spring-full
>
> http://www.ibiblio.org/maven2/springframework/spring-full/1.2.4/spring-full-1.2.4.pom
>
> And then, for example for each piece:
>
I'm writing a project that uses httpclient and I've noticed that the
pom.xml file doesn't contain a dependencies section. Since it uses
commons-logging for example, my app fails with a
NoClassDefFoundError. I checked three other components in the same
directory at random and noticed that th
Please file an issue at http://jira.codehaus.org/browse/MEV if you can
provide a correct pom.
On 9/28/05, Ashley Williams <[EMAIL PROTECTED]> wrote:
> I'm writing a project that uses httpclient and I've noticed that the
> pom.xml file doesn't contain a dependencies section. Since it uses
> commons
I missed the fact that I had to define the "env" variable. Thought that was a
built-in.
So:
Does the trick.
Also note that the variable is case sensitive, also under windows. JAVA_HOME !=
Java_Home.
Erwin
> -Original Message-
> From: Hogeweg, Erwin (GE Infrastructure)
> Sent:
Done http://jira.codehaus.org/browse/MEV-99
(99... maybe somebody could make it 100)
On 29 Sep 2005, at 02:30, Carlos Sanchez wrote:
Please file an issue at http://jira.codehaus.org/browse/MEV if you can
provide a correct pom.
On 9/28/05, Ashley Williams <[EMAIL PROTECTED]> wrote:
I'm writi
Well if you're not sure about the versions the issue is worthless.
Please spend some time to figure out what they are.
On 9/28/05, Ashley Williams <[EMAIL PROTECTED]> wrote:
> Done http://jira.codehaus.org/browse/MEV-99
>
> (99... maybe somebody could make it 100)
>
> On 29 Sep 2005, at 02:30, Car
i'm having a classpath issue. the description is fairly lengthy, so bear
with me while i illustrate with examples...
i have a preGoal for test:test-resources that attains a test:reposetup goal:
test:reposetup calls a tag that i defined in maven.xml using the jelly
define taglib:
Not sure what you mean when you say worthless - there is an issue,
it's logged as requested.
Please remember that I'm just reporting the problem, i.e. that the
dependency section is missing
in the ibiblio pom. I definitely don't have time to poke around on
the HttpClient webpages
to formula
your scm connection url seems to be incorrect.
You need to fix it before use the scm plugin. This error is a cvs error.
Emmanuel
[INFO] Executing: cvs -f -q update -d -rHEAD
[INFO] Working directory: C:\dev\v2\framework\common
[DEBUG] Working directory: C:\dev\v2\framework\common
[DEBUG] Comman
83 matches
Mail list logo