Re: eclipse:eclipse does not generates proper folder for resources

2005-09-28 Thread Geoffrey
If you're using m1.1b2, try adding targetPath/targetPath (or something similar) to your project.xml's resource element. The idea plugin doesn't generate resources if it's not included (it did in m1.0.2 though). Erick Dovale wrote: Hi there, When I call m2 eclipse:eclipse on any eclipse

Re: [m2] war:inplace

2005-09-28 Thread Mark Hobson
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

Logging/tracing conventions

2005-09-28 Thread Gilles Scokart
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

Re: Logging/tracing conventions

2005-09-28 Thread Trygve Laugstøl
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

RE: [m20b2] Upgrade Problem with Site Plugin

2005-09-28 Thread Allison, Bob
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).

Re: Logging/tracing conventions

2005-09-28 Thread Orjan Austvold
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

RE: [m2] antlib and typedef - feel like a noob

2005-09-28 Thread Darren Hartford
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. Instead of

[m2] compile errors for clover:report with wrong dependency declaration order

2005-09-28 Thread Daniel Schömer
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

[m2-b2] trouble creating sar packaging plugin

2005-09-28 Thread mika
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

Re: [m2-b2] trouble creating sar packaging plugin

2005-09-28 Thread Brett Porter
This is a missing instruction on the build lifecycle page. You need to add the plugin to the project, extensionstrue/extensions - 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

Re: [m2-b2] trouble creating sar packaging plugin

2005-09-28 Thread Trygve Laugstøl
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 plugin

RE: [m2] multiple Suites and surefire

2005-09-28 Thread Mike Perham
According to the surefire docs, includes is of type List (i.e. I would assume it cannot be wildcarded) whereas test 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

Re: [M2] equivalent to eclipse.dependencyfalse/eclipse.dependency

2005-09-28 Thread Erick Dovale
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

Cycle detected problem

2005-09-28 Thread Muralidhar Y.
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

Re: Cycle detected problem

2005-09-28 Thread Trygve Laugstøl
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 complete

[ot] m2 antlib and eclipse classpath task - someone else take a look pls?

2005-09-28 Thread Darren Hartford
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.

Re: [m2-b2] trouble creating sar packaging plugin

2005-09-28 Thread mika
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

Re: Logging/tracing conventions

2005-09-28 Thread Gilles Scokart
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 ?

RE: [m20b2] Upgrade Problem with Site Plugin

2005-09-28 Thread Jason van Zyl
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't

[M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Jose Gonzalez Gomez
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: dependency groupIdspringframework/groupId artifactIdspring/artifactId version1.2.5/version /dependency When I try to generate

Re: Delivering mock objects for a public API [was Re: [m2] custom compiler mojo]

2005-09-28 Thread Trygve Laugstøl
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: [snip] [1]:

org.extremecomponents-1.0.1-M1.jar in repo1 contains no class files

2005-09-28 Thread Ralph Pöllath
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/

Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Nicolas Chalumeau
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: dependency

read contents of a file

2005-09-28 Thread Ramon Buckland
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 jsp:root declared (ie a JSP XML file). Any ideas ? Thanks Ramon

Re: org.extremecomponents-1.0.1-M1.jar in repo1 contains no class files

2005-09-28 Thread Trygve Laugstøl
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

Re: org.extremecomponents-1.0.1-M1.jar in repo1 contains no class files

2005-09-28 Thread Ralph Pöllath
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:

Re: Cross-project dependencies on unit test code

2005-09-28 Thread Tim Dysinger
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. sourceDirectory${basedir}/src/java/sourceDirectory

[m2] sequencing goals

2005-09-28 Thread dohadwala, moiz
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:

[m2-b2] install:install-file fails without pom

2005-09-28 Thread Ralph Pöllath
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:

RE: Cross-project dependencies on unit test code

2005-09-28 Thread Allison, Bob
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

Re: Cross-project dependencies on unit test code

2005-09-28 Thread Trygve Laugstøl
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.

Re: [m2-b1] classifier-specific dependencies colliding with generic dependencies

2005-09-28 Thread John Fallows
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-1041.

Re: [m2-b2] install:install-file fails without pom

2005-09-28 Thread John Casey
-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...

Re: [m2] sequencing goals

2005-09-28 Thread John Casey
-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

Fwd: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Nicolas Chalumeau
-- 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 dependencies

how do I install/deploy my ear to my own remote repository

2005-09-28 Thread Mick Knutson
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

Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Stephen Duncan
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]

[m2] non-filtered resource copy is incremental?

2005-09-28 Thread John Fallows
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

RE: read contents of a file

2005-09-28 Thread Adam Jenkins
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?

RE: read contents of a file

2005-09-28 Thread Ramon Buckland
good morning sir :-) I found a way .. my fix is a work around .. so .. I was happy with anything :-) ant:fileScanner var=jspFiles ant:fileset dir=${maven.build.dir}/ includes=**/*.jsp/ /ant:fileScanner j:forEach items=${jspFiles.iterator()}

RE: [m2] sequencing goals

2005-09-28 Thread dohadwala, moiz
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

Re: [m2] sequencing goals

2005-09-28 Thread John Casey
-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

Re: [m2] non-filtered resource copy is incremental?

2005-09-28 Thread John Casey
-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

RE: how do I install/deploy my ear to my own remote repository

2005-09-28 Thread Arnaud HERITIER
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 to my

how do I override a parameter for a value in my build.props in crusieControl?

2005-09-28 Thread Mick Knutson
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)

Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Jose Gonzalez Gomez
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

RE: how do I override a parameter for a value in my build.props in crusieControl?

2005-09-28 Thread Arnaud HERITIER
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

RE: how do I override a parameter for a value in my build.props in crusieControl?

2005-09-28 Thread Arnaud HERITIER
If it's only for one project in CC, you could create a custom goal on this project : maven.xml : goal name=myProject:CC-goal j:set property=XXX value=YYY/ attainGoal name=myRealGoal/ /goal And you call this goal from CC Arnaud -Message d'origine- De : Mick Knutson

Re: [m2] non-filtered resource copy is incremental?

2005-09-28 Thread John Fallows
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/MNG-1042

[m2] Help with SCM plugin and CVS?

2005-09-28 Thread Michael Cassidy
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).

RE: how do I override a parameter for a value in my build.props in crusieControl?

2005-09-28 Thread Mick Knutson
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

RE: [m2-b2] install:install-file fails without pom

2005-09-28 Thread Allison, Bob
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

Re: how do I override a parameter for a value in my build.props in crusieControl?

2005-09-28 Thread Arnaud HERITIER
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 logic,

Dependencies and war files

2005-09-28 Thread MInger
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 dependencies

Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Chris Berry
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 Projects

jelly: How to get a reference to an environment variable?

2005-09-28 Thread Hogeweg, Erwin \(GE Infrastructure\)
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). ant:echo message=JAVA_HOME=${env.JAVA_HOME}/ So I assume there is a different way to do this but I can not find it. Any help is highly

RE: how do I override a parameter for a value in my build.props in crusieControl?

2005-09-28 Thread David Jackman
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

RE: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Mike Perham
The only dep I had to add to get Spring to work was: dependency groupIdaopalliance/groupId artifactIdaopalliance/artifactId version1.0/version scoperuntime/scope /dependency -Original Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28,

repositories in settings.xml

2005-09-28 Thread Chris Berry
Greetings, Can one declare a repository at the top level of the settings . In other words, outside of a profile?? 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

Re: jelly: How to get a reference to an environment variable?

2005-09-28 Thread Doug Douglass
Try getting it via the System property java.home: ant:echo message=${context.getVariable('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

Re: jelly: How to get a reference to an environment variable?

2005-09-28 Thread Davy Toch
Hi, Different solutions: ... !-- Standard Apache ANT task to bind the environment variables to a prefix 'env' -- property environment=env/ !-- solution 1 -- echoJAVA_HOME : ${env.JAVA_HOME}/echo ... !-- just for your information -- echoMaven variables :

[M2] jar plugin and the jar manifest

2005-09-28 Thread Erick Dovale
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

RE: RE : CruiseControl issues trying to install and run from maven.Pleasehelp.

2005-09-28 Thread Mick Knutson
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\fastforwardc:\j2sdk1.4.2_08\bin\java.exe

Re: Dependencies and war files

2005-09-28 Thread Saleem Shafi
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

Re: repositories in settings.xml

2005-09-28 Thread Saleem Shafi
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 activeProfiles/ element near the end of the file (http://maven.apache.org/maven2/maven-settings/settings.html).. that should make that

RE: RE : CruiseControl issues trying to install and run from maven.Pleasehelp.

2005-09-28 Thread Mick Knutson
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,

Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Stephen Duncan
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]

Re: Logging/tracing conventions

2005-09-28 Thread Brett Porter
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

Re: repositories in settings.xml

2005-09-28 Thread Saleem Shafi
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 understanding

Re: [ot] m2 antlib and eclipse classpath task - someone else take a look pls?

2005-09-28 Thread Brett Porter
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

Re: [m2-b2] install:install-file fails without pom

2005-09-28 Thread Brett Porter
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

Re: repositories in settings.xml

2005-09-28 Thread Brett Porter
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

Re: M2 scm plugin

2005-09-28 Thread Brett Porter
[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 -

Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Carlos Sanchez
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:

[m2] httpclient doesn't refer to dependencies

2005-09-28 Thread Ashley Williams
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

Re: [m2] httpclient doesn't refer to dependencies

2005-09-28 Thread Carlos Sanchez
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

RE: jelly: How to get a reference to an environment variable?: solved

2005-09-28 Thread Hogeweg, Erwin \(GE Infrastructure\)
I missed the fact that I had to define the env variable. Thought that was a built-in. So: ant:property environment=env/ ant:echo message=JAVA_HOME=${env.JAVA_HOME}/ Does the trick. Also note that the variable is case sensitive, also under windows. JAVA_HOME != Java_Home. Erwin

Re: [m2] httpclient doesn't refer to dependencies

2005-09-28 Thread Ashley Williams
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

Re: [m2] httpclient doesn't refer to dependencies

2005-09-28 Thread Carlos Sanchez
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, Carlos

classpath woes

2005-09-28 Thread Brian Moseley
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: preGoal name=test:test-resources attainGoal name=test:reposetup/ /preGoal test:reposetup

Re: [m2] httpclient doesn't refer to dependencies

2005-09-28 Thread Ashley Williams
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