Re: Does maven work with characters like and ?

2005-10-13 Thread jan_bar
There is a lot of small troubles: ant:echo seems to convert the to the character entity, I cannot output it as single character: ant:echo![CDATA[]/ant:echo jelly handles the variable text differently: !-- jelly error ... -- j:set var=test value= escapeText=no/ ... in plugin.properties: test=

Re: Eclipse and OSGi projects

2005-10-13 Thread Brett Porter
For Maven 1.x, there is the eclipse plugin plugin from MevenIDE, or the OSGi plugin from Berlios listed on the 3rd party plugins page. For Maven 2.x, there is an OSGi plugin in development at the Felix project (http://incubator.apache.org/projects/felix.html) - Brett On 10/13/05, Gregory Gerard

Re: Disabling Transitive Dependencies

2005-10-13 Thread David Sag
I humbly suggest you (Dave Brondsema, Juan Alvarado) create an issue in JIRA listing the plug-ins with malformed meta-data so that the developers have something more concrete to work off. Kind regards, Dave Sag Brett Porter [EMAIL PROTECTED] wrote on 13/10/2005 03:41:52 AM: Please

Re: [m2] hosting plugin in sandbox question

2005-10-13 Thread Brett Porter
Due to the non-distributable dependencies, this plugin would need to be hosted outside of Apache. That's what the mojo project is for. http://mojo.codehaus.org/development/submitting-a-plugin.html Cheers, Brett On 10/13/05, Ashley Williams [EMAIL PROTECTED] wrote: Hi, Apologies for

Re: [m2-b3] running a non-aggregator plugin after local install only

2005-10-13 Thread Brett Porter
This is fixed in the next Maven release (see it0013 for an example). After traversing some hairy classloading issues, plugins can now be reloaded during an execution which should pave the way for a console and easier to use scripting. - Brett On 10/13/05, John Fallows [EMAIL PROTECTED] wrote:

Re: Plugin for Eclipse plugins

2005-10-13 Thread jan_bar
Thanks Dan, I don't understand how is the plugin connected with Eclipse. When I develop and debug my plugin, Eclipse needs the plugin.xml and MANIFEST.MF. But your plugin doesn't seem to create them. How I should keep those two files to be same? Jan dan tran [EMAIL PROTECTED] wrote in message

RE: Which Maven to use when starting a new project?

2005-10-13 Thread Pilgrim, Peter
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] ==== From: Pilgrim, Peter [EMAIL PROTECTED] Being new to Maven and with a copy of the O'Reilly book in front me I am looking at the Maven 1.0.2 release, and I am trying to convert a Ant project to Maven bit by

Checkstyle and Saxon in Maven 1.1

2005-10-13 Thread fenallen
Hi. I'm just moving a project to Maven 1.1 We need to use saxon for many ant:style goals during build so I have saxon in the ${JAVA_HOME}/jre/lib/endorsed dir and it builds fine. However, the checkstyle plugin fails with this error: just a snipet from the full stack trace at

Re: [m2] hosting plugin in sandbox question

2005-10-13 Thread Ashley Williams
Could you tell which non-distributable dependency I have pointed to? I went with Jaxme to avoid this problem and there appear to be versions of the libraries in ibiblio already. I've just double checked and there don't seem to be any transitive dependencies either. Here is my pom url:

RE: [m2] Plugin release:prepare gives error: release-pom.xml should be removed and is still there (or is back again)

2005-10-13 Thread Yann Le Du
Hi Michael, To answer your several questions : * The real release-plugin doco is still in progress, see : http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix * The release-plugin depends on maven-scm-* projects which in turn use the external cvs. BTW, that's why you must have the path to

${project.build.directory} not available when running resources:resources?

2005-10-13 Thread Kees de Kooter
Here is a snippet of my pom: filters filtersrc/filters/internet-server.properties/filter /filters outputDirectory${project.build.directory}/${project.build.finalName}/outputDirectory resources

RE: [m2b3] Ant Dependencies Task and Scope

2005-10-13 Thread David Pick
I have specified scopeprovided/scope in the POM and useScope=provided in the Ant dependencies task but the dependency is not picked up. Any ideas? I totally agree that transitivity should only be a switch on the Ant task. Regards Dave -Original Message- From: Brett Porter

Re: [m2] hosting plugin in sandbox question

2005-10-13 Thread Jason van Zyl
On Thu, 2005-10-13 at 10:19 +0100, Ashley Williams wrote: Could you tell which non-distributable dependency I have pointed to? I went with Jaxme to avoid this problem and there appear to be versions of the libraries in ibiblio already. I've just double checked and there don't seem to be any

[M2] Use key agent to handle SCP authentications

2005-10-13 Thread Jose Gonzalez Gomez
Hi there, Is there any way to use a SSH key agent (like Pageant in Putty) to handle SCP authentications? As far as I know the only way to use a protected private key is to write down the password in the settings files, am I wrong? I would like to avoid this if possible... Thanks in advance, best

Re: ${project.build.directory} not available when running resources:resources?

2005-10-13 Thread Jason van Zyl
On Thu, 2005-10-13 at 12:06 +0200, Kees de Kooter wrote: Here is a snippet of my pom: filters filtersrc/filters/internet-server.properties/filter /filters

Re: [m2] plexus in user plugins

2005-10-13 Thread Jason van Zyl
On Thu, 2005-10-13 at 10:41 +1000, andrew wrote: Hi, I'm looking into writing a couple of m2 plugins and, from looking at the existing m2 plugin set, a lot of useful functionality is provided by the plexus toolset. Is there any user documentation or javadoc available for plexus? I've

Re: [M2] Use key agent to handle SCP authentications

2005-10-13 Thread Orjan Austvold
Hi, As far as I know I think you are right. If you are using keys for authentication on a server, you are also required to specify a password phrase for that key. Ørjan Jose Gonzalez Gomez wrote: Hi there, Is there any way to use a SSH key agent (like Pageant in Putty) to handle SCP

[m2] Exception running site:site

2005-10-13 Thread Kees de Kooter
When running site:site I get the following exception: [INFO] [site:site] [INFO] Generate Continuous Integration report. [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 [INFO] Generate Dependencies

Re: Plugin for Eclipse plugins

2005-10-13 Thread dan tran
It is best that you should directly ask the author at felix project. But from what i know and dont know ;-), this osgi plugin will generate MANIFEST.MF, but not the plugin.xml. It can generate MANIFEST.MF because the pom.xml has the manifest data. The plugin.xml has data specific to eclipse and

RE: [M2] Use key agent to handle SCP authentications

2005-10-13 Thread Jörg Schaible
Jose Gonzalez Gomez wrote on Thursday, October 13, 2005 1:06 PM: Hi there, Is there any way to use a SSH key agent (like Pageant in Putty) to handle SCP authentications? As far as I know the only way to use a protected private key is to write down the password in the settings files, am I

Re: [m2] Exception running site:site

2005-10-13 Thread Brett Porter
Can you let us know what versions of the site and project-info-reports plugins you have? They will be shown when run with -X. - Brett On 10/13/05, Kees de Kooter [EMAIL PROTECTED] wrote: When running site:site I get the following exception: [INFO] [site:site] [INFO] Generate Continuous

Re: [m2] Exception running site:site

2005-10-13 Thread Kees de Kooter
[DEBUG] maven-site-plugin: resolved to version 2.0-beta-2 from repository central [DEBUG] maven-project-info-reports-plugin: resolved to version 2.0-beta-1 from repository central On 10/13/05, Brett Porter [EMAIL PROTECTED] wrote: Can you let us know what versions of the site and

Re: [M2] Use key agent to handle SCP authentications

2005-10-13 Thread Brett Porter
build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ssh-external/artifactId version1.0-alpha-5/version (use -alpha-4 if having problems on m2 beta-3) /extension /extensions /build distributionManagement repository

Re: [m2] Exception running site:site

2005-10-13 Thread Brett Porter
Nice catch. Fixed in SVN. - Brett On 10/13/05, Kees de Kooter [EMAIL PROTECTED] wrote: [DEBUG] maven-site-plugin: resolved to version 2.0-beta-2 from repository central [DEBUG] maven-project-info-reports-plugin: resolved to version 2.0-beta-1 from repository central On 10/13/05, Brett

Re: [m2] Exception running site:site

2005-10-13 Thread Kees de Kooter
Thanks Brett! When will this be avaibable in the repo? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Exception running site:site

2005-10-13 Thread Brett Porter
In the next couple of days. We have a release coming up. - Brett On 10/13/05, Kees de Kooter [EMAIL PROTECTED] wrote: Thanks Brett! When will this be avaibable in the repo? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Checkstyle and Saxon in Maven 1.1

2005-10-13 Thread Andy Glick
fenallen wrote: We need to use saxon for many ant:style goals during build so I have saxon in the ${JAVA_HOME}/jre/lib/endorsed dir and it builds fine. However, the checkstyle plugin fails with this error: just a snipet from the full stack trace at

Re: [M2] Use key agent to handle SCP authentications

2005-10-13 Thread Jose Gonzalez Gomez
Is there any way to specify the executable to use? I'm working with Putty under Windows, so instead of an scp executable I'd like to use Plink (bundled with Putty, Pageant aware). Thanks a lot, best regards Jose 2005/10/13, Brett Porter [EMAIL PROTECTED]: build extensions extension

Re: [m2] Filtering problems in Beta

2005-10-13 Thread Sena Gbeckor-Kove
Hi again Andrius, (or whoever else can help ;) I thought tha the explanations given above had helped my case, but my project appears to be suffering from the mysterious 'bit-rot'. My current situation is as such, M2 is refusing to tokenise my file called 'stage'. I am trying to copy the file from

Re: [m2] Filtering problems in Beta

2005-10-13 Thread Kees de Kooter
This works for me (m2b3): build !-- Filter web resources to perform some replacements -- !-- -- filters filtersrc/filters/internet-server.properties/filter /filters

Re: Continuum and ClearCase

2005-10-13 Thread dan tran
You may want to join scm-dev@maven.apache.org, there is some activity there for clearcase. -D On 10/12/05, Wim Deblauwe [EMAIL PROTECTED] wrote: not for the current project, so I can definitly live without that. Luntbuild creates snapshot views before building. I don't know it that is an

[m2] Can't get hello world plugin to work

2005-10-13 Thread Kevin McNamee
Hi, I have been trying to get the Hello World plugin to work following the instructions at http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.html But then when I do the install I get: :maven-hello-plugin m2 hello:hello [INFO] Searching repository for

RE: [m2] Can't get hello world plugin to work

2005-10-13 Thread Kevin McNamee
Of course I meant after installation when I try to test the plugin. Also I am using maven 2.0 Beta 3. /Kevin _ From: Kevin McNamee [mailto:[EMAIL PROTECTED] Sent: 13 October 2005 16:17 To: 'Maven Users List' Subject: [m2] Can't get hello world plugin to work Hi, I

[M2] Project structure and Eclipse

2005-10-13 Thread Jose Gonzalez Gomez
Hi there, I know this has been discussed several times in the list, but I still don't understand some issues. Summing up (correct me if I'm wrong) from what I've read: The recommended structure for a project with multiple modules is the following: +pom.xml +module1 +pom.xml +src +module2

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-13 Thread Marrs, Thomas
OK, I got my remote repository to work. The activeProfiles didn't seem to help (I still had to do m2 install -P MyProfile) that much. The activeByDefault *did* work, but it defaults to false, so you have to explicitly set it to true. Here's important portion of my top-level POM: ---

Cannot use my ant task as a maven plugin : strange classloader issue ?

2005-10-13 Thread Nicolas De Loof
Hello, I'm using maven 1.0.2 and try to create a plugin for an ant task, that itself uses Springframework. As I get strange troubles, I've dropped all specific code to get only an ant task that creates a spring context. The spring context is reduced to a single bean of type String. When I

[m1] license report

2005-10-13 Thread Tim Dyck
I have question on the license report: We have many projects that all use the same license and we would like to reference the same license from a URL so that we do not have to check in our license every time we start a new project - ie becomes a nightmare if our license changes, then we would

Re: [m1] license report

2005-10-13 Thread Lukas Theussl
The license plugin uses the maven.license.licenseFile property for generating the license. Actually, I don't know what the license in the pom is used for. -Lukas Tim Dyck wrote: I have question on the license report: We have many projects that all use the same license and we would like to

RE: [m1] license report

2005-10-13 Thread Tim Dyck
Right. I have tried point the maven.license.licenseFile to a URL as well and it does not pick it up - it only seems to pick it up on disk. Any ideas on how I can reference a license file from a URL? Tim. -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Thursday,

m2: NetBeans Plugin

2005-10-13 Thread Wilfred Springer
Guys, I've created a NetBeans plugin, comparable to the Eclipse plugin that already existed before. It's not as complete yet, but it works fine. (http://blogs.sun.com/roller/page/wilfred?entry=maven_2_netbeans_plugin) It would not be the first time that created a plugin that other people had

Re: [m1] license report

2005-10-13 Thread Lukas Theussl
I don't think that's possible with the current plugin. You might want to file a JIRA issue if you really need this functionality. However, why don't you put a copy of the license in a central place on disk and reference it with the property? Note that in a multiproject setup, the property

[M2] Finding the groupId/artifactId/version for a dependency

2005-10-13 Thread David Jackman
For a newcomer to Maven, is there a recommended methodology for determining the correct groupId/artifactId/version for a particular dependency one might need? For Maven 1, what I would do is browse the repository on ibiblio trying to find the jar file I was looking for, then once I found it I'd

RE: Using repositories defined in a profile... question/problem [m2]

2005-10-13 Thread Russell, Mark
Anyone have an idea on this? I really do need this for a project I'm working on. MAR -Original Message- From: Russell, Mark [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 11:41 AM To: Maven Users List Subject: RE: Using repositories defined in a profile...

Is it possible to disable default repo [m2]

2005-10-13 Thread Russell, Mark
Is it possible, either in the pom.xml or the settings.xml, to tell maven not to use the ibiblio repository? Prefer a method of doing this in the pom.xml, but would consider one in the settings.xml. MAR

RE: Wanted: Help getting first Eclipse/Maven program running

2005-10-13 Thread Siegfried Heintze
Thanks Adrian, but I'm still having red squiggles. I'm now trying to follow the instructions in Massol O'Brian's Maven Adevelopers Notebook page 20. I run maven with the default template (plain old console mode java app). I add a dependency for httpclient as per

Re: Flattened Eclipse Project

2005-10-13 Thread mika
Hi Brian, I had a look at the thread and the sample in MNG-743 since I have to setup a multiproject (eclipse) as well. Brian Bonner wrote: FWIW, This sample posted in MNG-743 is *very useful*. Nice way of illustrating dependent builds. If you haven't pulled this down already, I'd

[urgent] repository jar files problem in Maven1.0.2

2005-10-13 Thread F-a-r-h-a-n-a
Hi I have installed Maven1.0.2 as prerequisites software for GridPort3.5.1http://gridport.net/index.cgi on Red hat Linux 9.0 …… ..Maven1.0.2 is successfully installed and while installing GridPort3.5.1 when I run the command MAVEN it gives following error of missing jar files in the

Re: [urgent] repository jar files problem in Maven1.0.2

2005-10-13 Thread Brett Porter
Your host can't reach these servers: On 10/14/05, F-a-r-h-a-n-a [EMAIL PROTECTED] wrote: Error retrieving artifact from [http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]: java.net.UnknownHostException: cuero.tacc.utexas.edu Error retrieving artifact from

Re: [urgent] repository jar files problem in Maven1.0.2

2005-10-13 Thread F-a-r-h-a-n-a
i didnt get it ur pointplz tell me how do i configure proxy for these serverplz be more specifici have downloaded these jar files separately but how do i copied them in repository...how do i know about groupID/artifactID/version/plz Help looking forward

Re: [urgent] repository jar files problem in Maven1.0.2

2005-10-13 Thread Brett Porter
http://maven.apache.org/reference/properties.html#Proxy_Properties On 10/14/05, F-a-r-h-a-n-a [EMAIL PROTECTED] wrote: i didnt get it ur pointplz tell me how do i configure proxy for these serverplz be more specifici have downloaded these jar files separately but how

[m2] Converting from Ant based projects that have create than one artifact

2005-10-13 Thread Michael McCrann
Hi, I am converting an Ant based project to M2. The project creates two artifacts: a war and a jar. My understanding is that an M2 project should only produce one artifact. So, what would the M2 approach be? multiple modules? Regards Michael McCrann NOTICE This e-mail and any attachments

RE: [m2] Plugin release:prepare gives error: release-pom.xml should be removed and is still there (or is back again)

2005-10-13 Thread Michael McCrann
Yann, Many thanks for you help on this problem. You were right, the release-pom.xml had erroneously got into CVS. I removed it and the release:prepare got further, but it still failed: Provider message: The cvs command failed. Command output: remove: invalid option -- m Usage: cvs remove

Transitive dependency on same jar file

2005-10-13 Thread Michael McCrann
Hi, How does the transative dependency mechanism handle different versions of the same jar file? Example, In my pom.xml I say that I have a dependency on log4j.jar version 1.2.6. Now, nother dependency in my pom.xml has dependency on log4j.jar version 1.2.8. Which version of log4j will be

Re: Transitive dependency on same jar file

2005-10-13 Thread Brett Porter
It will use the version nearest to your project that matches all given ranges (if no ranges are used, it is simply the nearest). We unfortunately had to omit other resolution strategies from this release due to time constraints. - Brett On 10/14/05, Michael McCrann [EMAIL PROTECTED] wrote: Hi,

Re: [m2] Plugin release:prepare gives error: release-pom.xml should be removed and is still there (or is back again)

2005-10-13 Thread Brett Porter
-m isn't a valid option on my CVS system either. I don't know how it got there... Please file a bug and we'll look into it. Thanks! - Brett On 10/14/05, Michael McCrann [EMAIL PROTECTED] wrote: Yann, Many thanks for you help on this problem. You were right, the release-pom.xml had

RE: Transitive dependency on same jar file

2005-10-13 Thread Michael McCrann
Brett, What is a 'range'. Michael -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, 14 October 2005 1:25 PM To: Maven Users List Subject: Re: Transitive dependency on same jar file It will use the version nearest to your project that matches all given

Re: Transitive dependency on same jar file

2005-10-13 Thread Brett Porter
You can specify a version using the range syntax: [2.0,) [1.0,1.5] etc. - Brett On 10/14/05, Michael McCrann [EMAIL PROTECTED] wrote: Brett, What is a 'range'. Michael -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, 14 October 2005 1:25 PM To: