Re: who maintains the servletapi jars?

2005-08-04 Thread Brill Pappin
Ahh... ohh... I run into that a lot, where a library changes structure but there is no indication except that things stop compiling :) Don't know if there is any easy way to notify the developer though... Maybe something like transient dependencies where a lib can indicate that it changed its str

Re: who maintains the servletapi jars?

2005-08-04 Thread Brett Porter
They come from the Tomcat project. The JSP packages are in jsp-api-2.0.jar I think. - Brett On 8/5/05, Brill Pappin <[EMAIL PROTECTED]> wrote: > Seems the servletapi-2.4.jar on ibiblio is missing the jsp package > (should it be?). > > Anyone know who I contact about it, if it is indeed missing?

Re: who maintains the servletapi jars?

2005-08-04 Thread Carlos Sanchez
Since 2.4 the servlet spec was splitted in servlet 2.4 and jsp 2.0, check http://www.ibiblio.org/maven/javax.servlet/jars/ The suggested groupId is javax.servlet and artifactIds servlet-api and jsp-api On 8/4/05, Brill Pappin <[EMAIL PROTECTED]> wrote: > Seems the servletapi-2.4.jar on ibiblio is

who maintains the servletapi jars?

2005-08-04 Thread Brill Pappin
Seems the servletapi-2.4.jar on ibiblio is missing the jsp package (should it be?). Anyone know who I contact about it, if it is indeed missing? (There is no contact info in the POM). - Brill Pappin - To unsubscribe, e-mail: [E

Re: atrifactId is always 0 for build

2005-08-04 Thread Brill Pappin
Ahh crap :) Thanks... I should have been able to see that one! - Brill Brett Porter wrote: > Having looked at your project.xml, you can be assured that 1.1-beta-2 > will properly validate the XML rather than just pick and choose > invalid tags to use. > > You've got an 0 in a developer tag outs

Re: atrifactId is always 0 for build

2005-08-04 Thread Brett Porter
Having looked at your project.xml, you can be assured that 1.1-beta-2 will properly validate the XML rather than just pick and choose invalid tags to use. You've got an 0 in a developer tag outside , so it ignores the unknown tag, then thinks is a top level element - overriding artifactId. comm

Re: Plugin support for Hibernate 3.0

2005-08-04 Thread Brill Pappin
+1 Hibernate for M2 lost without it :) - Brill Pappin Ken Weiner wrote: > +1 for continued development of the hibernate plugin in M2. > > On 8/4/05, Brett Porter <[EMAIL PROTECTED]> wrote: > >>That said, it has been brought across to to Maven2 and so we could >>continue development if there is

Re: [m2] depend on version-less jars?

2005-08-04 Thread Brill Pappin
This is unfortunately a common issue. Two cases I usually have: - library is not created versioned - I have to customize something and need to keep a local copy. What I usually to in order is: try and find the version I'm using, and add it to the JAR. Create a bogus version (can be any text). appe

Re: atrifactId is always 0 for build

2005-08-04 Thread Brett Porter
I may not have uncovered an issue as I didn't test it, but took your word for it :) Seems like that bug might not exist in jexl after all. Your project.xml would be helpful - thanks. - Brett On 8/5/05, Brill Pappin <[EMAIL PROTECTED]> wrote: > Should have asked earlier, but would having my proj

Re: atrifactId is always 0 for build

2005-08-04 Thread Brill Pappin
Should have asked earlier, but would having my project.xml file help? - Brill Pappin Brett Porter wrote: > Interestgin bug that could be a real pain in the butt to fix. This > probably changed with the upgrade to the final jexl release. > > What is happening is that it detects '3' as a number, s

Re: atrifactId is always 0 for build

2005-08-04 Thread Brill Pappin
I have my project version set to SNAPSHOT in this case... it's the 3 that I'm referring to when I say "set to 3". However you seem to have uncovered another issue... - Brill Pappin Brett Porter wrote: > Interestgin bug that could be a real pain in the butt to fix. This > probably changed with th

Re: atrifactId is always 0 for build

2005-08-04 Thread Dion Gillard
Is this something we can fix in Jexl? On 8/5/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Interestgin bug that could be a real pain in the butt to fix. This > probably changed with the upgrade to the final jexl release. > > What is happening is that it detects '3' as a number, so attempts a > nu

Re: [m1] Dynamically generating classpath and documentationquestion

2005-08-04 Thread Brett Porter
Hi Grant, Feel free to start a wiki page, or a patch against the xdocs. Sorry, there are plenty of nuances like this that missed the original cut of the docs. - Brett On 8/2/05, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > I can answer the first part of my question: > fork="true

Re: atrifactId is always 0 for build

2005-08-04 Thread Brett Porter
Interestgin bug that could be a real pain in the butt to fix. This probably changed with the upgrade to the final jexl release. What is happening is that it detects '3' as a number, so attempts a numerical subtraction, the result of which is 0 because the LHS is not a number. That's annoying. Any

Re: [m2] depend on version-less jars?

2005-08-04 Thread Brett Porter
Hi Joe, http://maven.apache.org/faq.html#unversioned-jars Basically, unless the JAR will never change, it doesn't make sense to have it unversioned in the repository. I've never seen a product that only ever had one release :) I'd be giving these version 4.0 by the sounds of it. - Brett On 8/4

Re: Dependency question

2005-08-04 Thread Brett Porter
Craig is spot on here - you use nextVersion-SNAPSHOT in both currentVersion ad dependency versions until it is released. Some extra things to note: - jar:deploy-snapshot is deprecated. In the latest artifact plugin, jar:deploy will behave that way if the version contains SNAPSHOT, or behave like a

Re: M[1.1] and the Eclipse MavenIDE

2005-08-04 Thread Brett Porter
It seems MevenIDE is setting the jaxp parser to xerces, but M1.1 doesn't include xerces - it uses whatever the JDK has to offer. You should post this to the mevenide project users list. - Brett On 8/5/05, Curtis, Harrison <[EMAIL PROTECTED]> wrote: > I'm trying to run a simple plugin:install wit

Re: Maven2 help

2005-08-04 Thread Brett Porter
Those settings aren't currently supported and since the compiler isn't forked, you're getting the settings m2 uses (which are the JVM defaults). You can control this with MAVEN_OPTS. Do you really have that much source to compile, or is this happening on any project? - Brett On 8/5/05, Rizwan Me

Re: [m2] Behavior of transitive dependencies

2005-08-04 Thread Brett Porter
Some of them should be test dependencies. The rest, which are "optional", become tricky to declare. If we leave them out of the dom4j pom, then if you touch that code and don't use the dep, you get a runtime error. We instead chose the current approach of passing along all the deps, and having to

Re: Maven + CruiseControl steps??

2005-08-04 Thread Torsten Curdt
Anyone willing to pinpoint me on this? I'm a total newbie. I've installed Maven and CruiseControl according to their manuals, and they're working great on their own. I just want to generate a simple app, then have maven configure CC and finally run CC from maven. Please forgive me if it's

RE: Maven + CruiseControl steps??

2005-08-04 Thread David Jackman
The CruiseControl plugin for Maven will certainly create a configuration file that you can run with CruiseControl, but I wouldn't use Maven to start CC. CruiseControl should really be running as its own independent process (usually on a dedicated server). The docs for CC should tell you how to do

Maven + CruiseControl steps??

2005-08-04 Thread Mayorgaadame, Alex [IT]
Anyone willing to pinpoint me on this? I'm a total newbie. I've installed Maven and CruiseControl according to their manuals, and they're working great on their own. I just want to generate a simple app, then have maven configure CC and finally run CC from maven. Please forgive me if it's reall

Maven2 help

2005-08-04 Thread Rizwan Merchant
Hi, I'm trying to use maven2 to compile some code using the pom.xml file shown below,.i.e., I am running the command "m2 -compile" on a certain project. Maven2 starts up but eventually dies with a "Compilation failure" message of the following nature: [INFO] Reason: Compilation failure [INFO] ---

Re: Plugin support for Hibernate 3.0

2005-08-04 Thread Ken Weiner
+1 for continued development of the hibernate plugin in M2. On 8/4/05, Brett Porter <[EMAIL PROTECTED]> wrote: > That said, it has been brought across to to Maven2 and so we could > continue development if there is demand and ad hibernate 3.0 features. > Is anyone interested? > > - Brett ---

M[1.1] and the Eclipse MavenIDE

2005-08-04 Thread Curtis, Harrison
I'm trying to run a simple plugin:install within the Eclipse 3.1 MavenIDE. All the editing features of the IDE are functional, but it appears there is a new library requirement not satisfied. Within the MavenIDE configuration I changed the Maven Home to point to: C:\Program Files\Apache

Re: [m2] Behavior of transitive dependencies

2005-08-04 Thread Ken Weiner
Thanks for the reply, Brett. I suspected that the issue was within dom4j's POM, and I'd like to help clean it up by submitting issues to MEV in JIRA. However, I am not sure what the appropriate corrections would be. Should the jars inside the dom4j POM be declared with a particular scope that wou

RE: Getting dynamic property

2005-08-04 Thread Vincent Massol
Hi Mike, You must do it in 2 steps: -Vincent > -Original Message- > From: Michael Owen [mailto:[EMAIL PROTECTED] > Sent: jeudi 4 août 2005 16:36 > To: users@maven.apache.org > Subject: Getting dynamic property > > Hi, > > I writing a plugin for Maven 1.0.2 and I'm trying to do: > >

Re: Dependency question

2005-08-04 Thread Craig S . Cottingham
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All my answers assume you're using Maven 1.0.2. On Aug 4, 2005, at 10:22, Jamie Bisotti wrote: - I have two active, rapidly changing, projects, A & B, I'm going to build and deploy to an in-house remote repository. - B depends on A. - Currently, A'

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Brett Porter
Great! It is definitely similar to the other issue, but in a different place. The areas you'll need to add configuration are: http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-compiler-plugin/ The forking needs to be added to the plexus-compiler-javac module: http://cvs

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Derek Lane
Yes, that was the breakdown I was looking for. Your thread w/ Rod seems to be needing a similar solution. Rod and I can try to work together to tackle this if you really think it's about a day's effort -- of course I realize that's a day for you given your familiarity w/ the M2 codebase. Can you p

Re: maven, svn, and ssh

2005-08-04 Thread WIEDERAENDERS Klaus
Sorry, something went wrong with the XML tags scm:svn://[EMAIL PROTECTED]/export/home/staff/svnusr/repositories/hmidpvt scm:svn://[EMAIL PROTECTED]/export/home/staff/svnusr/repositories/hmidpvt Thanks, Klaus - To u

Re: maven, svn, and ssh

2005-08-04 Thread Brett Porter
You must use the 1.5 SCM plugin which you can get from the Maven download page. You must also use the new goal scm:checkout. - Brett On 8/5/05, WIEDERAENDERS Klaus <[EMAIL PROTECTED]> wrote: > Hi, > > With svn I access my repository like this > > svn checkout > svn+ssh://[EMAIL PROTECTED]/svnus

Re: Plugin support for Hibernate 3.0

2005-08-04 Thread Graham King
For what it's worth, I've been using the hibernate:schema-export task from Anthony Vito's version with Hibernate 3 for several months now and it works great. On 5/24/05, Felipe Leme <[EMAIL PROTECTED]> wrote: Hibernate plugin? Will it be updated to support 3.0 sometime soon? I've been to

maven, svn, and ssh

2005-08-04 Thread WIEDERAENDERS Klaus
Hi, With svn I access my repository like this svn checkout svn+ssh://[EMAIL PROTECTED]/svnusr/repositories/myrepository/mymodule Everything works fine. I'd like to do that from MAVEN from project.xml scm:sv

Dependency question

2005-08-04 Thread Jamie Bisotti
Just want to make sure I've got this straight. - I have two active, rapidly changing, projects, A & B, I'm going to build and deploy to an in-house remote repository. - B depends on A. - Currently, A's is 1.0 - Currently, B's dependency for A uses a of 1.0 - A will get built and deployed with th

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Brett Porter
On 8/5/05, Derek Lane <[EMAIL PROTECTED]> wrote: > So what I hear you saying now, is that I won't be able to use M2 until > the compiler forking > feature is added. Bummer. Sorry to say it does appear that way, if you are to use it out of the box. > I was really hoping to avoid converting this co

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Derek Lane
Brent, Thanks for all the quick replies. So what I hear you saying now, is that I won't be able to use M2 until the compiler forking feature is added. Bummer. I was really hoping to avoid converting this codebase to M1, only to have to conver the build again to M2 soon thereafter. Please tell me

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Brett Porter
On 8/5/05, Derek Lane <[EMAIL PROTECTED]> wrote: > What I was trying to differentiate WRT options A and B, is that in one > case the the problem > was the generated code not being what acceptable to the JVM, and the > other case is when > the JVM was not quite compliant with the spec (probably due

RE: M[1.1] Multiproject Issue

2005-08-04 Thread Curtis, Harrison
That worked. Great! Bud Curtis JDIMS Project L-3 Communications (719) 637-5633 -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 5:54 PM To: Maven Users List Subject: Re: M[1.1] Multiproject Issue This is a bug in the Maven 1.1 release.

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Derek Lane
What I was trying to differentiate WRT options A and B, is that in one case the the problem was the generated code not being what acceptable to the JVM, and the other case is when the JVM was not quite compliant with the spec (probably due to some vendor specific compiler enhancement). I don't know

Re: scm:update bug or feature?

2005-08-04 Thread Brett Porter
That's a documentation bug. The tag property is the same for all 3 operations. I'm not sure why you'd set the tag in project.properties - wouldn't it be out of date next commit? - Brett On 8/5/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > Using Maven 1.0.2 and maven-scm-plugin-1.5: > > I have

scm:update bug or feature?

2005-08-04 Thread Jamie Bisotti
Using Maven 1.0.2 and maven-scm-plugin-1.5: I have specified 'maven.scm.tag' in my project.properties, for use when tagging the code. Now, when I run maven scm:update, I see the following: scm:update: [echo] Updating from scm:svn:http://cougar.mw.lexmark.com/olympus/trunk; using tag: ReadyTo

Getting dynamic property

2005-08-04 Thread Michael Owen
Hi, I writing a plugin for Maven 1.0.2 and I'm trying to do: test="${dep.getProperty('test.bundle.${bundlePropertyName}')=='true'}"> However, either though syntactical ok, this doesn't work in theory. When I do: test="${dep.getProperty('test.bundle.diststandalone')=='

Re: [m1] Keeping plugins up to date

2005-08-04 Thread Phil Steitz
Grant Ingersoll wrote: Yeah, I did that which is fine when you know the specifics of what you want to update. I will see if I can come up w/ some script that does it for me. Problem I had was I had a few developers who didn't have the same version of the jar-plugin, and were seeing different

RE: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Jörg Schaible
Hi Brett, Brett Porter wrote on Thursday, August 04, 2005 4:21 PM: > On 8/4/05, Derek Lane <[EMAIL PROTECTED]> wrote: >> In my case, I have specified to the 1.4 compiler that I want it to >> generate code that will run in a 1.3 JVM. How am I doing so far? > > Correct. > >> A) In some circumstan

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Brett Porter
On 8/4/05, Derek Lane <[EMAIL PROTECTED]> wrote: > In my case, I have specified to the 1.4 compiler that I want it to > generate code that > will run in a 1.3 JVM. How am I doing so far? Correct. > A) In some circumstances, based on the specific 1.3 runtime JVM, the > code generated by the 1.4 co

Re: [m2] adding jars to an existing zip file

2005-08-04 Thread Kenney Westerhof
On Thu, 4 Aug 2005, Jason Grant wrote: Take a look at the assembly plugin. It has the ability to produce a jar with all dependencies unpacked. So, you'd create a project containing 2 dependencies: one on the eclipse.zip, and the other on your additions. Then call assembly:assembly, feeding it thi

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Derek Lane
Brent, Thanks for the immediate response! Let me see if I understand this correctly. What you're saying is that the only JDK M2 ever needs to know about the the one running it, and that needs to be at least 1.4. In my case, I have specified to the 1.4 compiler that I want it to generate code tha

Re: [M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Brett Porter
Hi Derek, Those settings will generate code that will run on a 1.3 JVM. It is built with the 1.4 JVM you ran under, and there is a risk under some specific conditions that it might have an incompatiblity in the Java runtime. If you are able to test completely under 1.3 then this would be sufficien

[M2] How to Compile Code with JDK 1.3

2005-08-04 Thread Derek Lane
Howdy Folks, I'm in the process of trying to convert a rather hefty existing codebase to M2. This codebase needs to generate JARs, WARs, and EARs, as well as numerous configuration and property files. However I need to compile all of this using JDK 1.3, and of course M2 requires 1.4. I have M2 su

Re: Plugin support for Hibernate 3.0

2005-08-04 Thread Brett Porter
Last I remember, the person maintaining the Maven1 version abandoned it and it was shortlisted to be put back in the sandbox. That said, it has been brought across to to Maven2 and so we could continue development if there is demand and ad hibernate 3.0 features. Is anyone interested? - Brett On

Re: Plugin support for Hibernate 3.0

2005-08-04 Thread Jamie Bisotti
On 8/3/05, Todd Nine <[EMAIL PROTECTED]> wrote: > I have not tried the specific maven plugin, however I have used the jelly > ant tasks to use the hibernate tools 3 alpha release. Give that a shot. > > On 8/3/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > > > > On 5/24/05, Felipe Leme <[EMAIL PROT

[m2] adding jars to an existing zip file

2005-08-04 Thread Jason Grant
I would value tips on how to tackle the following. My repository contains a zip distribution (it's the Eclipse IDE), and I want my final build output to be a new zip file with the original contents plus jars that are produced from my source code. Being new to maven (I need to use maven2) I'm uncl

RE: how to deploy artifact sources ?

2005-08-04 Thread David Jackman
I didn't realize there was so little left to do to make this work. Nicolas: If you create such an artifact type handler, can I get a copy of it? If you're not able to create one, please let me know and I'll do it. ..David.. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECT

Re: NoClassDefFoundError while running test

2005-08-04 Thread Michael Mattox
We found the solution: We did cvs exports with timestamps to find the day when the build broke and did a diff of the project before and after. Then we noticed we removed a static block of code in our tests to set a conf file. The problem was passing -D to maven wasn't getting passed for the test

Re: ant:zip not including empty directories in zip file

2005-08-04 Thread Brett Porter
Maven - this is not related to the ant plugin at all (that is for generating build.xml files). - Brett On 8/4/05, Vinod Panicker <[EMAIL PROTECTED]> wrote: > On 8/4/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Please submit a bug to JIRA and we will investigate for the next beta. > > > > shou

Re: ant:zip not including empty directories in zip file

2005-08-04 Thread Vinod Panicker
On 8/4/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Please submit a bug to JIRA and we will investigate for the next beta. > should I add an issue to the maven project or the maven-ant-plugin project? Regards, Vinod. --snip-- ---

Re: ant:zip not including empty directories in zip file

2005-08-04 Thread Brett Porter
Please submit a bug to JIRA and we will investigate for the next beta. - Brett On 8/4/05, Vinod Panicker <[EMAIL PROTECTED]> wrote: > On 7/25/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Maven 1.0.2 includes ant 1.5.3. You would need to use Maven 1.1-beta-1 > > which includes ant 1.6.5. > > T

Re: how to deploy artifact sources ?

2005-08-04 Thread Brett Porter
You need to define an artifact type handler. Check out the distribution plugin for an example (it will allow you to change both the directory and the extension). - Brett On 8/4/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using eclipse plugin and the "eclipse.source" proper

how to deploy artifact sources ?

2005-08-04 Thread Nicolas De Loof
Hello, I'm using eclipse plugin and the "eclipse.source" property to get artifact sources as zip from my private repo. I'd like to add src deployment to the build process of our commons libs. I've tried this : This doesn't work as the artifact plugin creates a "srcs" directory.

Re: ant:zip not including empty directories in zip file

2005-08-04 Thread Vinod Panicker
On 7/25/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Maven 1.0.2 includes ant 1.5.3. You would need to use Maven 1.1-beta-1 > which includes ant 1.6.5. Tried with maven 1.1-beta-1 and am still facing the same problem. Tried deleting the ant plugin from cache and repos but still the same issue.

RE: scm tagging!!!

2005-08-04 Thread Yann Le Du
You must specify the maven.scm.tag, is it what you are already doing ? maven scm:tag -Dmaven.scm.tag=MAVEN_1_0 ( http://maven.apache.org/reference/plugins/scm/commontasks.html ) Do you get an error ? Regards, Yann --- NIRMALA Manivasagam <[EMAIL PROTECTED]> a écrit : > Hi, > > Iam trying to

scm tagging!!!

2005-08-04 Thread NIRMALA Manivasagam
Hi, Iam trying to execute maven scm:tag for that what settings i should place in build.properties. can anyone help me? Thanks, Nirmala Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential inform

Re: NoClassDefFoundError while running test

2005-08-04 Thread Michael Mattox
> Can you be a little more specific? I'm assuming you're using Maven > 1.x...? Also, which class is it trying unsuccessfully to find? > > Without that info, it'll be hard-to-impossible for anyone to help much, > I'm afraid... The classes are in a JAR file in one of my dependency JARs. The JAR is

RE: CVS Repository

2005-08-04 Thread Yann Le Du
Hi Nirmala, Though this has not much to do with Maven :) you can probably find the solution here : http://cvsbook.red-bean.com/cvsbook.html maybe here ? http://cvsbook.red-bean.com/cvsbook.html#Getting%20Snapshots%20(Dates%20And%20Tagging) Regards, Yann --- NIRMALA Manivasagam <[EMAIL PROTECTED

Re: Error during building a JAR

2005-08-04 Thread Brett Porter
You have a correupted JAR in your local repository. Please remove the "velocity" directory in your local repository. - Brett On 8/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > Hello guys, > > > I have recently installed Maven 1.0.2 and have also setup the sample > proje

RE: Error during building a JAR

2005-08-04 Thread Yann Le Du
Hello Nehal, For a start, you can follow the advice below and retry with the -e flag, or even the -X flag (see the Command Line Reference : http://maven.apache.org/reference/command-line.html ). It will produce more logs that may be useful for us (including yourself) to help. Regards, Yann ---

CVS Repository

2005-08-04 Thread NIRMALA Manivasagam
Hi All, I want to get the latest version of a file using the tags...in CVS...what cmd should i give for that? Can anyone help me?iam having the following tags... D:\AprTest\work>cvs status -v Final/TMEnvironmentTimerStartWork.java ===