Re: [m2] faulty scp protocol handling in wagon?

2005-10-06 Thread Orjan Austvold
I have discussed the bug fix the author if jsch, and he has made a fix which is available on http://www.jcraft.com/jsch/jsch-0.1.23-pre1.zip. I'll test that version later today. -- Ørjan Brett Porter wrote: have jsch indicated when they might include it? is the scpexe protocol a viable

Re: [m2] faulty scp protocol handling in wagon?

2005-10-06 Thread Brett Porter
great! Thanks, Brett On 10/6/05, Orjan Austvold [EMAIL PROTECTED] wrote: I have discussed the bug fix the author if jsch, and he has made a fix which is available on http://www.jcraft.com/jsch/jsch-0.1.23-pre1.zip. I'll test that version later today. -- Ørjan Brett Porter wrote: have

[m11b2] Long coercion exception

2005-10-06 Thread Anthony Kong
Hi, all, Anyone has any idea what cause this exception? Cheers, AK == Caught exception evaluating: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Reason: java.l ang.Exception: Long coercion exception java.lang.Exception: Long coercion exception at

[M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Martin Desruisseaux
Hello all How to add custom entries in a JAR file (in addition to the current file created by Maven 2)? To be more specific, I would like to add a RegistrationClassName: org.geotools.openoffice.Registration entry for an OpenOffice.org add-in. I'm aware of the following email:

Re: [m11b2] Long coercion exception

2005-10-06 Thread Dion Gillard
I'm guessing the expression starting with 'mailto:' is being parsed as a number. Where is it being declared? On 10/6/05, Anthony Kong [EMAIL PROTECTED] wrote: Hi, all, Anyone has any idea what cause this exception? Cheers, AK == Caught exception evaluating:

Re: [M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Torsten Curdt
But the reply answer only about the specific case of main-class entry. I'm aware of the following patch: http://jira.codehaus.org/browse/MNG-742 But I fail to understand which class I should implement in order to invoke MavenArchiveConfiguration.addManifestEntry(key, value), and how to

SV: SV: [m2b3] antrun problems

2005-10-06 Thread Mattias Arbin
Yann. Below is my pom. If I run 'm2 compile' it seems like the generate-sources phase is never executed. Yes, I tried to add an 'echo' task. /Mattias ?xml version=1.0 ? project xsi:schemaLocation=http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion

Re: [m2] working on java webservices jaxb xjc plugin

2005-10-06 Thread Christoph Sturm
Hey Ashley! I would be interested in such a plugin. Could you create a jira task in the mojo project on jira.codehaus.org, and upload it there? i could then to make it work with jdk 1.4 and commit it to the sandbox, if there are no objections from others. is it jaxb 1 or jaxb2? regards chris

Re: SV: [m2b3] antrun problems

2005-10-06 Thread Brett Porter
works for me in beta-3: pom.xml: same as yours without dependencies build.xml: project default=foo target name=foo echofoo/echo copy tofile=pom2 file=pom.xml / /target /project output from m2 compile: [INFO] [antrun:run {execution: default}] [INFO] Executing tasks foo: [echo]

Re: [m2] m1 pom conversion

2005-10-06 Thread Mark Hobson
On 06/10/05, Brett Porter [EMAIL PROTECTED] wrote: As Joerg mentions, the artifact plugin (1.5.2 for Maven 1.0.2, or 1.6 as included in Maven 1.1 beta 2) now deploys a complete pom instead. I have closed MAVEN-1390 as won't fix. Okay thanks, I just wanted to make sure this was the right way

[M2] reporting element of profiles not merged?

2005-10-06 Thread fabrice . belingard
Hi all, I'm playing a bit with profiles, and it seems to me that report plugins listed in a profile are not added to the list of reports when the profile is activated. That is, it seems that when a profile is activated, its reporting element is not merged with the reporting element of the

Re: [M2] reporting element of profiles not merged?

2005-10-06 Thread Brett Porter
Yes, looks like a bug. - Brett On 10/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I'm playing a bit with profiles, and it seems to me that report plugins listed in a profile are not added to the list of reports when the profile is activated. That is, it seems that when a

[m2] site generation problem

2005-10-06 Thread farid
Hi everybody I'm new on the list and new at m2 as well. I was just wondering why m2 site:site doesn't generate a complete site with code analysis and all the project infos (like mailing list and such...) Thanks in advance, Farid

Re: [m2] site generation problem

2005-10-06 Thread Brett Porter
It should generate the mailing lists and such. The default report registered is only the project info reports though. If you'd like other plugins, you must add them to the list of reporting plugins in your pom. - Brett On 10/6/05, farid [EMAIL PROTECTED] wrote: Hi everybody I'm new on the

RE: [m102] is there a migration guide to m2?

2005-10-06 Thread Vincent Massol
Hi Thomas, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: mercredi 5 octobre 2005 17:39 To: Maven Users List Subject: [m102] is there a migration guide to m2? [snip] hello, We are currently using v1.0.2 I looked at the maven2 site but

Re: [M2] reporting element of profiles not merged?

2005-10-06 Thread fabrice . belingard
OK, http://jira.codehaus.org/browse/MNG-1112 for those interested. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Brett Porter

Plugin Development Guide Questions

2005-10-06 Thread Allison, Bob
I am making a start at the Plugin Development Guide as I am working on my first plugin. You can find the current contents at http://sd.no-ip.biz/maven2pdg/. I welcome any comments, corrections, and suggestions. At this moment, I have a number of questions which I have not been able to answer

Re: Plugin Development Guide Questions

2005-10-06 Thread Brett Porter
On 10/6/05, Allison, Bob [EMAIL PROTECTED] wrote: What is the criteria for a mojo class? In other words, when I define a bunch of classes in a project with packaging of maven-plugin, how is it determined which of those classes are mojos and which are other things? I'd have said implements

[m2] correct usage of the checkstyle plugin

2005-10-06 Thread David Sag
I am trying to get checkstyle to use a customised format contained in a file called checkstyle-src.xml i have found however when i configure the checkstyle property called 'propertiesFile' this has no effect - i still get the default checks. if i specify a file that does not exist i get an

RE: [m2] correct usage of the checkstyle plugin

2005-10-06 Thread Vincent Massol
Hi David, There seems to be a bug in the checkstyle plugin. See http://jira.codehaus.org/browse/MNG-1113 -Vincent _ From: David Sag [mailto:[EMAIL PROTECTED] Sent: jeudi 6 octobre 2005 12:10 To: users@maven.apache.org Subject: [m2] correct usage of the checkstyle plugin

Re: [m2] m1 pom conversion

2005-10-06 Thread Mark Hobson
On 06/10/05, Mark Hobson [EMAIL PROTECTED] wrote: On 06/10/05, Brett Porter [EMAIL PROTECTED] wrote: As Joerg mentions, the artifact plugin (1.5.2 for Maven 1.0.2, or 1.6 as included in Maven 1.1 beta 2) now deploys a complete pom instead. I have closed MAVEN-1390 as won't fix. Okay

Incorrect build number for wagon-provider-test

2005-10-06 Thread Mike Atkin
Hi, The maven-metadata.xml for wagon-provider-test (http://snapshots.maven.codehaus.org/maven2/org/apache/maven/wagon/wagon-provider-test/1.0-alpha-5-SNAPSHOT/maven-metadata.xml) has an incorrect build number (should be 2) metadata groupIdorg.apache.maven.wagon/groupId

Re: SV: [m2b3] antrun problems

2005-10-06 Thread Yann Le Du
*Fails* for me in beta-3. Mattias, you have a duplicate build . Put the finalName in the first build ant let us know (maybe you'll a build error due to compiler-plugin, but at least your Ant tasks should be executed). Yann --- Brett Porter [EMAIL PROTECTED] a écrit : works for me in beta-3:

Re: [m2] site generation problem

2005-10-06 Thread farid
Brett Porter a écrit : It should generate the mailing lists and such. The default report registered is only the project info reports though. If you'd like other plugins, you must add them to the list of reporting plugins in your pom. Thanks for the Info but I stumbled on an NPE while trying

Re: Plugin Development Guide Questions

2005-10-06 Thread Arik Kfir
Just out of curiosity - why not have one exception class, with an *optional* causing exception? On 10/6/05, Brett Porter [EMAIL PROTECTED] wrote: On 10/6/05, Allison, Bob [EMAIL PROTECTED] wrote: What is the criteria for a mojo class? In other words, when I define a bunch of classes in a

Incorrect build number for wagon-provider-test

2005-10-06 Thread Mike Atkin
Hi, The maven-metadata.xml for wagon-provider-test (http://snapshots.maven.codehaus.org/maven2/org/apache/maven/wagon/wagon-provider-test/1.0-alpha-5-SNAPSHOT/maven-metadata.xml) has an incorrect build number (should be 2) metadata groupIdorg.apache.maven.wagon/groupId

[m2] Filtering problems

2005-10-06 Thread Kees de Kooter
I downloaded beta 3, beta 2 of the resources plugin was downloaded. When I run maven files get copied, but no replacements were made. If I change the filename of the filter file no errors are reported, so it looks like it is not being used at all. Here is my pom: build resources

RE: [m2] site generation problem

2005-10-06 Thread Vincent Siveton
Hi Farid, I am not an expert of this plugin. But, instead of the jdepend itself, you should add the jdepend maven plugin: http://mojo.codehaus.org/jdepend-maven-plugin/howto.html Cheers, Vincent -Original Message- From: farid [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06,

adding osgi dependency logic to m2

2005-10-06 Thread Jorg Heymans
At Cocoon, we need to add osgi compliant dependency logic to m2. In a nutshell and simplified for this case : osgi allows archives to explicitly define which classes they export. We think there are 2 possible ways of achieving this: 1) adding a custom dependency type osgi, that respects osgi

Re: [m2] site generation problem

2005-10-06 Thread farid
Vincent Siveton a écrit : Hi Farid, I am not an expert of this plugin. But, instead of the jdepend itself, you should add the jdepend maven plugin: http://mojo.codehaus.org/jdepend-maven-plugin/howto.html Thanx for the info but I tried that and I think that I miss a repository here. Should

SV: SV: [m2b3] antrun problems

2005-10-06 Thread Mattias Arbin
Embarassing! I removed the duplicate build/ and now it works. The first build including the plugins was never read. Thanks! /Mattias -Ursprungligt meddelande- Från: Yann Le Du [mailto:[EMAIL PROTECTED] Skickat: den 6 oktober 2005 13:21 Till: Maven Users List; Brett Porter Ämne:

[M2] Error resolving plugin version

2005-10-06 Thread Thomas Van de Velde
Hi, I am getting the following error when I run the install goal (with M2-beta 3). Any thoughts on this? Thanks. [INFO] task-segment: [install] [INFO] - --- [WARNING] * Using defaults for missing POM

RE: [m102] is there a migration guide to m2?

2005-10-06 Thread Thomas_Perry
Vincent, Jason, Thank you for your replies. A guide, or even better, a conversion tool, would be great. We love Maven and want to migrate to Maven2. We have many projects that have been mavenized so it is not a trivial task to migrate them, and any time-saving($) help is greatly

m2 ftp deploy

2005-10-06 Thread Brian_Fox
Hello, I am having trouble deploying to an internal remote repository using ftp with m2. I previously had it working using file:/// but so far haven't had much luck with ftp. I changed the url to ftp:/// and added a server section to my settings.xml for authentication. I also downloaded the

M1 - More than 1 artefact

2005-10-06 Thread Richardson, Simon (Treasury)
I would like the ability to create more than 1 artefact from a single project.xml file. The project structure would resemble the following: +---src | +---java | | \---com | | \---hbosts | | \---ss | +---test | | \---com | | \---hbosts | |

RE: M1 - More than 1 artefact

2005-10-06 Thread Mattias Olofsson
I think it is easier to make these as separate projects and they all depends on the App.jar artifact. The App.jar artifact does not contains ANY configurations for a environment, it is stored in the separate projects like this: ( These projects takes the App.jar file and add the properties etc

RE: M1 - More than 1 artefact

2005-10-06 Thread Richardson, Simon (Treasury)
Thanks Mattias, sounds like a good idea. Simon Simon Richardson Technology Tel: 020 7574 8838 E Mail: [EMAIL PROTECTED] HBOS Treasury Services plc 33 Old Broad Street London EC2N 1HZ -Original Message- From: Mattias Olofsson [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 14:20 To:

Re: M1 - More than 1 artefact

2005-10-06 Thread Bent André Solheim
Hi Simon, yes I have encountered the same problem, and the technique we used where I work, was to have three projects. One for each artifact. We prefixed the uat project uat_ and the prod project prod_. These two projects inherts from the dev-project (which we didn't prefix). We set the source

Re: [m1.0.2] war file not in dependency list in goal execution

2005-10-06 Thread Doug Douglass
Anthony, Following is a snip from the m1 atrifact plugins plugin.jelly: j:set var=version value=${maven.application.version} / j:if test=${version.compareTo('1.1') lt 0} ant:fail Maven Artifact Plugin v${plugin.currentVersion} requires Maven 1.1 or above. To correct this

Re: [m2] Filtering problems

2005-10-06 Thread Philippe HUET
Kees, It seems than m2b3 use filter tag instead of filtersFile now: build filters filtersrc/filters/internet-server.properties/filter /filters resources resource ... filteringtrue/filtering /resource ... /resources ... /build I got the same problem yesterday and

Re: [m2] Filtering problems

2005-10-06 Thread Kees de Kooter
Excellent! Thanks a lot Philippe. On 10/6/05, Philippe HUET [EMAIL PROTECTED] wrote: Kees, It seems than m2b3 use filter tag instead of filtersFile now: build filters filtersrc/filters/internet-server.properties/filter /filters resources resource ...

RE: Plugin Development Guide Questions

2005-10-06 Thread Robert Biernat
What types of objects can be used as parameters? I assume this has something to do with what plexus can convert from XML content. I'm also interested in the rules regarding the types of parameters that can be used as parameters, along with what the corresponding xml is supposed to look like.

Re: M1 - More than 1 artefact

2005-10-06 Thread Graham King
Simon, We have the same problem. We use one project but three build.properties files (build.dev.properties, build.uat.properties and build.live.properties). In maven.xml we have three top level goals 'dev', 'uat' and 'live', which source the right properties file. We then use those

Re: adding osgi dependency logic to m2

2005-10-06 Thread Brett Porter
I've very briefly spoken to a couple of people about the feasibility of this. They might pipe up here. I have no idea of the work that's involved, though in theory it should happen. I am curious why this is needed though - can you explain further? - Brett On 10/6/05, Jorg Heymans [EMAIL

Re: Plugin Development Guide Questions

2005-10-06 Thread Brett Porter
This is correct. Note the following: - string is now the default for an element with no children, so you can remove that implementation. - a tag dog will look for class Dog in the same package. So BigDog should be the only one requiring an implementation here. - Brett On 10/7/05, Robert Biernat

Re: [m2] m1 pom conversion

2005-10-06 Thread Brett Porter
On 10/6/05, Mark Hobson [EMAIL PROTECTED] wrote: These look like they'll repoclean okay to me - can anyone see any probs before I confirm? They look good to me. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [M2] Error resolving plugin version

2005-10-06 Thread Thomas Van de Velde
I've tried on the other beta's and I get a similar error. On M2-b2: Apparently M2 is looking for a version of the jar plugin that doesn't exist in the repository: Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl ugin/RELEASE/maven-jar-plugin-RELEASE.jar [WARNING]

Re: [m2] m1 pom conversion

2005-10-06 Thread Mark Hobson
On 06/10/05, Brett Porter [EMAIL PROTECTED] wrote: They look good to me. Thanks, they should be in the next release. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SV: [m2b3] antrun problems

2005-10-06 Thread Brett Porter
Ah, yes. That's a known problem. I also forgot to paste the build when I skipped the dependencies. - Brett On 10/6/05, Mattias Arbin [EMAIL PROTECTED] wrote: Embarassing! I removed the duplicate build/ and now it works. The first build including the plugins was never read. Thanks! /Mattias

[m2] artifactId appended to scm-connection and url

2005-10-06 Thread Donszelmann, Mark
Hi my parent pom contains: scm connectionscm:svn://svn.freehep.org/svn/freehep/${pom.artifactId}/trunk/connection developerConnectionscm:svn://svn.freehep.org/svn/freehep/${pom.artifactId}/trunk/developerConnection /scm

Facing trouble in setting local maven

2005-10-06 Thread Muralidhar Y.
Hi I am facing a problem in setting maven local repository on my machine. I have downloaded maven1.0 and set the path to bin and also set the class path to lib folder. Now I crated a maven/repository on my local hard drive. When I try to compile one maven project instead of looking into local

Re: [M2] Error resolving plugin version

2005-10-06 Thread Thomas Van de Velde
Fixed it by rebuilding my local repository. On 10/6/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: I've tried on the other beta's and I get a similar error. On M2-b2: Apparently M2 is looking for a version of the jar plugin that doesn't exist in the repository: Downloading:

Re: Facing trouble in setting local maven

2005-10-06 Thread Graham King
Muralidhar, By default Maven will create its local repository in your home directory. On Windows this will be C:\Document And Settings\[you username]\. To use a different directory, your need to set maven.home.local. See here for more details:

RE: adding osgi dependency logic to m2

2005-10-06 Thread Bennett, Timothy (JIS - Applications)
I know that M2 has a transitive dependency walker built into it, but it sounds like what you are proposing is for M2's dependency walker to be pluggable; i.e. users can optionally plug in a different dependency resolution algorithm. Am I correct? -Original Message- From: Brett Porter

[m2b3] How to use profiles for selective plugin activation?

2005-10-06 Thread Wendell Beckwith
Where can I find a good document or an example of how to use profiles to control the plugins that are activated in a specific phase? I have the following build element: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

RE: [M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Bennett, Timothy (JIS - Applications)
Here's an example of a plugin that uses that patch... https://svn.apache.org/repos/asf/incubator/felix/trunk/tools/maven2/mave n-osgi-plugin I'll be happy to answer any questions... -Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005

Re: Facing trouble in setting local maven

2005-10-06 Thread Gisbert Amm
1) set maven.repo.remote to your local path 2) start Maven with option -o (for offline) Regards, Gisbert Amm Muralidhar Y. wrote: Hi I am facing a problem in setting maven local repository on my machine. I have downloaded maven1.0 and set the path to bin and also set the class path to lib

Re: [Fwd: Re: Assembly plugin -- couple of questions [m2a3]]

2005-10-06 Thread Erick Dovale
Either I am missing somethinghere or we have some bug hanging around. I did what you suggested first and got this behaivor where the zip file is created but no resources (dependencies and artifacts) from the modules is added to it. The modules are been iterated through and the jars for each one

[m2] Problem with checkstyle plugin

2005-10-06 Thread Hugo Palma
I'm using beta-3 and i'm not able to configure the checkstyle plugin to use my own checkstyle.xml configuration. I have in my pom: reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId configuration

RE: [m2] Problem with checkstyle plugin

2005-10-06 Thread Vincent Massol
See http://jira.codehaus.org/browse/MNG-1113 -Vincent -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: jeudi 6 octobre 2005 18:17 To: users@maven.apache.org Subject: [m2] Problem with checkstyle plugin I'm using beta-3 and i'm not able to configure the

Re: [m2] Problem with checkstyle plugin

2005-10-06 Thread Hugo Palma
Thanks, i've voted for it. On 10/6/05, Vincent Massol [EMAIL PROTECTED] wrote: See http://jira.codehaus.org/browse/MNG-1113 -Vincent -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: jeudi 6 octobre 2005 18:17 To: users@maven.apache.org Subject: [m2]

[M1] Manipulating Manifest Information

2005-10-06 Thread Michael Böckling
Hi, I'd like to include some additional informations in my Manifest files, and I want this information to be dynamically generated by maven1. It's not the typical classpath stuff, what I want is this: - Include the CVS/SVN revision number - Include the current date and time and that possibly

[m2] trying to deploy to a new repository

2005-10-06 Thread Ashley Williams
I would like to create a separate repository for deploy my artifacts and as such I've added a section in my pom: distributionManagement snapshotRepository idagwilliams1000-repo/id nameagwilliams1000 Repository/name

Re: [m2] trying to deploy to a new repository

2005-10-06 Thread Raphaël Piéroni
Hi Ashley, I have: servers server idmy.snapshots/id usernameuser/username privateKey/home/user/.ssh/id_dsa/privateKey passphraseTHE PASS PHRASE/passphrase /server /server in my settings in ~/.m2/settings.xml. And i have: distributionManagement snapshotRepository

Re: [m2] managing transitive dependencies

2005-10-06 Thread John Fallows
On 10/6/05, Brett Porter [EMAIL PROTECTED] wrote: Sorry, I'm missing something. Why isn't B depending on A with runtime scope? B depends on A with compile scope because it directly uses classes from A during compilation, not just at runtime. This gives the following scenario. C --(compile)-- B

m2 ftp deploy - solved

2005-10-06 Thread Brian_Fox
I dloaded the commons-io package and added that to my maven2/lib folder and the ftp deploy worked. I'm still confused though why for some things I need to manually load plugins into the lib path and for other things, maven gets them from the central repository. Can anyone point me to an

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

2005-10-06 Thread John Fallows
On 9/28/05, Trygve Laugstøl [EMAIL PROTECTED] wrote: 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,

Maven 2.x documentation

2005-10-06 Thread Jason van Zyl
Hi, I'm working on the Maven Getting Started Guide (GSG), some mini guides and some introductory material. In the last week or so I've been trying to harvest popular topics off the user list in order to create the introductory material users need and mini guides which are supposed to be little

Simple question about pulling down dependencies

2005-10-06 Thread Daniel Hannum
I'm using the Maven2 ant tasks and I have the following dependency listed in my ant script dependency groupId=hibernate artifactId=hibernate version=3.0.5/ Problem is, this pulls down easily 20 different sub-dependencies, but one of them (javax/security/jacc/1.0) is missing a jar (that dir only

cannot find xdoclet.modules.ejb.EjbDocletTask. Huh?

2005-10-06 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I recently installed xdocklet on my laptop and plan to use it with maven to do some projects. I set up a very simple maven specification: ?xml version=1.0? project default=war preGoal name=java:compile attainGoal

Re: [m2] trying to deploy to a new repository

2005-10-06 Thread Ashley Williams
Hi Raphaël, It could be that using key authentication makes the difference - I'll see if that works for me. It seems that I have no luck on anything that involves scp thus far with Maven. Thanks AW On 6 Oct 2005, at 18:32, Raphaël Piéroni wrote: Hi Ashley, I have: servers server

RE: Facing trouble in setting local maven

2005-10-06 Thread Muralidhar Y.
I will try with this. This might work. Muralidhar Y Software Engineer, Adastrum technologies-Nikai groups, EmiratesGroup-I.T Division, Dubai, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original

Re: [M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Jason van Zyl
On Thu, 2005-10-06 at 17:49 +1100, Martin Desruisseaux wrote: Hello all How to add custom entries in a JAR file (in addition to the current file created by Maven 2)? To be more specific, I would like to add a RegistrationClassName: org.geotools.openoffice.Registration entry for an

[m2] creating war from existing wars

2005-10-06 Thread Miodrag Glumac
What I am trying to accomplish is to create new war file form the set of existing wars. I created two test wars: war1 and war2. The goal is to create new war that will have JSPs from both war1 and war2. So the steps are

Re: [m2] faulty scp protocol handling in wagon?

2005-10-06 Thread Orjan Austvold
The patch on jsch made by Atsuhiko Yamanaka worked as expected. The intermittent failure with ScpWagon on session is down has vanished. -- Ørjan Brett Porter wrote: great! Thanks, Brett On 10/6/05, Orjan Austvold [EMAIL PROTECTED] wrote: I have discussed the bug fix the author if jsch,

Re: [m2] Filtering problems

2005-10-06 Thread Jason van Zyl
On Thu, 2005-10-06 at 15:48 +0200, Philippe HUET wrote: Kees, It seems than m2b3 use filter tag instead of filtersFile now: build filters filtersrc/filters/internet-server.properties/filter /filters resources resource ... filteringtrue/filtering

RE: [M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Bennett, Timothy (JIS - Applications)
MavenArchiveConfiguration was also patched to allow the manifest file to be set? Was maven-jar-plugin rev'd to allow a user to specify a manifest.mf file on the file system to be pulled in and used? -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Thursday,

Help on errors when loaing Maven2 POM

2005-10-06 Thread Frank Zhao
Can someone help me on building a Maven 2 project in Continuum? I wanted to try Continuum with Maven 2, when loading a pom.xml file of my project, the continuum tried to find other pom.xml files under /tmp/summit-2/ directory which does not exist. In fact, all of those files should be under

RE: [M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Jason van Zyl
On Thu, 2005-10-06 at 15:56 -0500, Bennett, Timothy (JIS - Applications) wrote: MavenArchiveConfiguration was also patched to allow the manifest file to be set? Was maven-jar-plugin rev'd to allow a user to specify a manifest.mf file on the file system to be pulled in and used? Yes, that

RE: Plugin Development Guide Questions

2005-10-06 Thread Jason van Zyl
On Fri, 2005-10-07 at 00:01 +1000, Robert Biernat wrote: What types of objects can be used as parameters? I assume this has something to do with what plexus can convert from XML content. I'm also interested in the rules regarding the types of parameters that can be used as parameters,

Re: [M1] Manipulating Manifest Information

2005-10-06 Thread Torsten Curdt
I'd like to include some additional informations in my Manifest files, and I want this information to be dynamically generated by maven1. It's not the typical classpath stuff, what I want is this: - Include the CVS/SVN revision number I am happy to donate the plugin I've written ...although

Maven 2.0 Multi-Project HowTo?

2005-10-06 Thread Russell, Mark
Does someone have a document/article on how to do this with Maven 2.0? So far my flailing around hasn't got me anywhere. If nothing else does someone have an example? I found this (http://www.informit.com/articles/article.asp?p=411571) article but it was for 1.0 and it doesn't seem to transfer

RE: Question on tags for logging

2005-10-06 Thread Weaver, Jonathan
My dependency is shown below. Is this the right version? dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-log/artifactId version1.0/version typejar/type /dependency -Original Message- From: Brett Porter

RE: Question on tags for logging

2005-10-06 Thread Weaver, Jonathan
I am now getting the debug output. In the debug I get a lot of Could not load class ... lines like those below. Is this an issue I should be trying to resolve? The plugin seems to work correctly... [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.PropertyFile) for type

Re: Question on tags for logging

2005-10-06 Thread Lukas Theussl
Weaver, Jonathan wrote: In the debug I get a lot of Could not load class ... lines like those below. Is this an issue I should be trying to resolve? The plugin seems to work correctly... I have reported that once already: http://marc.theaimsgroup.com/?t=11238891031r=1w=2 I still

RE: Question on tags for logging

2005-10-06 Thread Weaver, Jonathan
Thanks. -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 5:19 PM To: Maven Users List Subject: Re: Question on tags for logging Weaver, Jonathan wrote: In the debug I get a lot of Could not load class ... lines like those below. Is

[m11b2] Ant libraries shipped with 1.1 beta 2

2005-10-06 Thread Dion Gillard
As part of testing maven 1.1, some of our plugins 'broke' as they were relying on Ant tasks that were previously shipped in ant-optional-VERSION.jar. Maven 1.1 beta 2 doesn't provide a full complement of Ant's optional tasks, and hence breaks compatibility with 1.0.2. Is this intentional? --

Re: [m2] trying to deploy to a new repository

2005-10-06 Thread andrew
Hi Ashley, I have had similar issues to you when attempting to use the scp protocol type. See the [m2] deploy via scp thread in the list archives. What I have found is that, as Raphaël has already mentioned, to use scp you need to specify all of username, privateKey and passphrase for each

Re: [M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Martin Desruisseaux
Jason van Zyl a écrit : I'm just working on the doco so maybe this will help: http://people.apache.org/~jvanzyl/maven2/guides/mini/guide-manifest.html Thanks a lot! It is exactly what I was looking for, and it worked perfectly well!!! Those kind of documentation save days :) As a side note

Re: Simple question about pulling down dependencies

2005-10-06 Thread Stephen Duncan
It's not a bug... Those are jar files that can't be redistributed via the website, because of licensing issues. http://maven.apache.org/reference/standard-sun-jar-names.html Generally, either put them in your internal repository if you have one, or install in your local repository, or specify an

Re: [m11b2] Ant libraries shipped with 1.1 beta 2

2005-10-06 Thread Brett Porter
I'd been considering this. We didn't really support some of them before (due to not having the actual dependencies in the core). We should at least add -nodeps. We could add them all back. It was nice to trim up the distro for unused stuff, but it's not a huge concern. - Brett On 10/7/05, Dion

Re: Maven 2.0 Multi-Project HowTo?

2005-10-06 Thread Stephen Duncan
1st, there's no such thing, I think, as ${pom.currentVersion}; the equivalent in M2 would be ${project.version} However, from what I've seen so far, you're going to have to define the parent version in the subprojects. The idea here is that subprojects should be able to be built independently.

Re: m2 ftp deploy - solved

2005-10-06 Thread Brett Porter
Actually, the intention is you add wagon-ftp to the extensions list under build - that should do everything (including the commons-io bit) without the need to copy stuff into $M2_HOME/lib. - Brett On 10/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I dloaded the commons-io package and added

Re: [m2] managing transitive dependencies

2005-10-06 Thread Brett Porter
The reason for this difference is because if B extends a class from A, and C uses the class from B, A is required at compile time. Otherwise, I'd agree. - Brett On 10/7/05, John Fallows [EMAIL PROTECTED] wrote: On 10/6/05, Brett Porter [EMAIL PROTECTED] wrote: Sorry, I'm missing something.

Re: [m2] trying to deploy to a new repository

2005-10-06 Thread Daniel Krisher
This may not be related, but I remember having problems a while back because my ssh server was not configured to support plain text passwords (PasswordAuthentication yes)... On 10/6/05, andrew [EMAIL PROTECTED] wrote: Hi Ashley, I have had similar issues to you when attempting to use the scp

Re: [m11b2] Ant libraries shipped with 1.1 beta 2

2005-10-06 Thread Dion Gillard
nodeps was the one I needed. And it makes sense to at least provide that for 1.1. For all the other ant optional jars, you would have at least had to add their dependencies in to your own pom to get it to work. At the least, we should add an example on using an optional task. On 10/7/05, Brett

Where are the report plugins??

2005-10-06 Thread Cristiano V. Gavião
Hi people, Anybody could tell which reports can I use with m2? and where can I checkout it? thanks Cristiano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [m11b2] Long coercion exception

2005-10-06 Thread Anthony Kong
Hi, Thanks for the reply! Actually there is so little information, I do not know even what and where causes the error. Basically I develop a custom goal in a maven.xml (without any project.xml) and use m11b2 to invoke it. And the error came out before build:start is printed out to the console.

Re: [m11b2] Long coercion exception

2005-10-06 Thread Dion Gillard
Try running maven -X whateverGoalCausesTheProblem Somewhere there is an expression, probably with a +/- or other arithmetic expression in it. On 10/7/05, Anthony Kong [EMAIL PROTECTED] wrote: Hi, Thanks for the reply! Actually there is so little information, I do not know even what and where

RE: [M2] How to add custom entries in a MANIFEST.MF file?

2005-10-06 Thread Jörg Schaible
Hi Jason, Jason van Zyl wrote on Thursday, October 06, 2005 10:00 PM: On Thu, 2005-10-06 at 17:49 +1100, Martin Desruisseaux wrote: Hello all How to add custom entries in a JAR file (in addition to the current file created by Maven 2)? To be more specific, I would like to add a

  1   2   >