Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread Kenney Westerhof
On Fri, 15 Jul 2005, John Fallows wrote: What syntax is supported for M2 Plugin parameters of non-primitive types? For example, java.util.Collection (and subclasses), java.util.Map (and subclasses), arrays, Properties and JavaBeans. Collections / arrays: items whatever

Re: Local Repository Issue

2005-07-15 Thread Dennis Geurts
Hi Dylan, Could you try and remove the jarj2ee-1.4.jar/jar part ?? the other tags should suffice ... btw, your command says 'maven -0 ...' I assume you want to run in offline mode. The -0 ( minus-zero ) should then be -o ( minus-ooh ) Dennis On 7/15/05, Dylan Stamat [EMAIL PROTECTED]

Re: [M2] Mix between Provided and Test Scopes

2005-07-15 Thread Dennis Geurts
Hi David, I encountered the same problem a while ago. The following was suggested: 'The workaround is to split your war files and your sources. Put all your java sources in an other project and add them in the new jar dep of your war.' So, make a multi module project, one 'jar-project'

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread Emmanuel Venisse
Kenney, Can you create an apt doc that explain this? Emmanuel Kenney Westerhof wrote: On Fri, 15 Jul 2005, John Fallows wrote: What syntax is supported for M2 Plugin parameters of non-primitive types? For example, java.util.Collection (and subclasses), java.util.Map (and subclasses),

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread Kenney Westerhof
On Fri, 15 Jul 2005, Emmanuel Venisse wrote: Kenney, Can you create an apt doc that explain this? Sure, where do you want me to put it? It should go in plexus somewhere, but then the m2 site has to have a reference to that page. Emmanuel Kenney Westerhof wrote: On Fri, 15 Jul 2005,

RE: [m1.0.2] support for AspectWerkz 2.0

2005-07-15 Thread Marc Candle
Hi, Does anyone have any tips on running AspectWerkz 2.0 (http://aspectwerkz.codehaus.org/) with Maven 1.0.2 ? There's the Maven AspectWerkz plugin (http://maven.apache.org/reference/plugins/aspectwerkz/index.html) but it's current incarnation -version 1.2- support only AspectWerkz 0.9. I only

Re: maven-scm-plugin fails

2005-07-15 Thread Emmanuel Venisse
Can you retry? I upload the missing file. For run the checkout goal, you need to provide a connection url : m2 -DconnectionUrl=scm:svn: scm:checkout Emmanuel Van Steenberghe Mario (GFDI) wrote: Hi, We're trying to setup a build system using maven2, but the following error occurs while

[M2] Tutorial example not working for me

2005-07-15 Thread Michael Owen
Hi, Firstly, I'm using Maven 2 alpha 3. When I try to make to make the Marmalade plugin at http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.html, I get the following error: java.lang.NullPointerException at

Re: [M2] Tutorial example not working for me

2005-07-15 Thread Edwin Punzalan
have you tried removing the id tag from your mojo? Michael Owen wrote: Hi, Firstly, I'm using Maven 2 alpha 3. When I try to make to make the Marmalade plugin at http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.html, I get the following error:

Re: [M2] Tutorial example not working for me

2005-07-15 Thread Michael Owen
It doesn't give errors any more, and creates the files in the target directory, however, doesn't install the plugin in the local repository and the goals m2 hello:hello or m2 hello don't work. Thanks for help btw. :) Mike brbrbrgt;From: Edwin Punzalan lt;[EMAIL PROTECTED]gt;brgt;Reply-To:

jar override limitations ?

2005-07-15 Thread fenallen
Hi. The jar overrides as specified in the documentation ... maven.jar.artifactId = [path] maven.jar.artifactId = [version] ... work fine. However, there this takes no notice of the groupId property specified in the project.xml fiile's dependencies. Is it therefore impossible to deal with

Re: [M2] Tutorial example not working for me

2005-07-15 Thread Edwin Punzalan
Did you check the repository? Anyway, to use the plugin, you should have a separate project declaring the plugin in its pom. After that, the project can now call hello:hello. Michael Owen wrote: It doesn't give errors any more, and creates the files in the target directory, however,

Re: maven-scm-plugin fails

2005-07-15 Thread Emmanuel Venisse
I updated the plugin pom to a released version(2.0-alpha-3) of plugin-parent and redeploy it. It will be synchronize with ibiblio in few hours. Emmanuel Van Steenberghe Mario (GFDI) wrote: Hi, The maven-scm-plugin is successfully downloaded now, but it seems to fail to find the

Problems with multiproject and java 1.5 (LVT error)

2005-07-15 Thread Johan Gorter
Hello all, I have got an interesting problem that I am stuck on. My project uses multiproject and java 1.5. When I use maven to test one of my subprojects, everything works fine, all java 1.5 code compiles ok and the unit-tests run ok. When the multiproject plugin runs the unit-tests I get

RE: maven-scm-plugin fails

2005-07-15 Thread Van Steenberghe Mario (GFDI)
Thanks, I updated my local POM to use this version and everything seems to work fine now. Mario. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: vrijdag 15 juli 2005 12:39 To: Maven Users List Subject: Re: maven-scm-plugin fails I updated the plugin pom to a

Re: Maven 2 error

2005-07-15 Thread Jason van Zyl
On Thu, 2005-07-14 at 21:52 +0200, solo turn wrote: i get something like this now with v alpha-3. $ m2 -e archtype:create -DgroupID=ts -DartifactId=demoapp + Error stacktraces are turned on. You have groupID there not groupId ... -- jvz. Jason van Zyl jason at maven.org

test

2005-07-15 Thread Martin Burger
test - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[M2] Manifest.mf

2005-07-15 Thread Bennett, Timothy (JIS/Applications)
All, Can someone point me in the right direction to find some information about how to customize the manifest.mf file that m2 creates and includes in the jar? I'm trying to use m2 to build my OSGi bundles, and OSGi requires the bundle meta-data to be added to the jar manifest. I know how to do

RE: [m1.0.2] support for AspectWerkz 2.0

2005-07-15 Thread Vincent Massol
Hi Marc, Someone would need to provide a patch to update the aspectwerkz plugin. -Vincent -Original Message- From: Marc Candle [mailto:[EMAIL PROTECTED] Sent: vendredi 15 juillet 2005 10:37 To: 'Maven Users List' Subject: RE: [m1.0.2] support for AspectWerkz 2.0 Hi, Does

Problems with dependencies (Digester) of self written plugin

2005-07-15 Thread Martin Burger
Hello, I'm developing a plugin for Maven (1.0.2) and run into trouble. The plugin has - among other - the following dependencies: dependency groupIdcommons-beanutils/groupId artifactIdcommons-beanutils/artifactId version1.7.0/version

How can I get Log4j messages sent while plugin is running?

2005-07-15 Thread Martin Burger
Hello, I developed a Maven plugin. That plugin uses Log4j to log messages (SocketAppender and ConsoleAppender). While running maven plugin:install I get the messages sent to SocketAppender using Chainsaw, the messages sent to ConsoleAppender are stored in the test report files. Fine. But

RE: Maven 1.0.2 and junitreport?

2005-07-15 Thread Matt Meola
On Fri, 2005-07-15 at 11:52 +1000, Washusen, Dan wrote: I've used the latest hibernate ant tasks with Maven 1.1. I had to include it's dependencies in my project.xml but it worked. I notice that the documentation for the junitreport task mentions the Xalan libraries, have you check that

problem with genapp struts-jstl template

2005-07-15 Thread John C Cartwright
Hello All, I'm trying to get started with maven 1.0.2 and find that when using any of the webapp templates (like struts-jstl), I get a warning on the java:compile goal Tag library requested that is not present: 'maven' in plugin: 'maven-xdoclet-plugin-1.2' Can anyone help me identify the

Re: Maven2: Wrong ACK

2005-07-15 Thread Trygve Laugstøl
On Thu, Jul 14, 2005 at 10:02:32AM -0400, Ilyevsky, Leonid (Equity Trading) wrote: This happens consistently. All the time, so I cannot do my build with this. Seems like there is a issue with your setup and/or jcsh. What SSH server are you using? We've been deploying using the scp provider all

Re: Problems with dependencies (Digester) of self written plugin

2005-07-15 Thread Martin Burger
Martin Burger schrieb am 15.07.2005 17:05: I think while running the plugin Digester 1.7 is not used, Maven's 1.4.1 is used instead. Therefore some parts of the XML report are ignored. In my code, I added a call of the method Digester.getSAXLogger(). That method was added in Digester 1.6.

Re: How can I get Log4j messages sent while plugin is running?

2005-07-15 Thread Martin Burger
Martin Burger schrieb am 15.07.2005 17:19: So, how can I get the messages sent while the plugin is running? Found a solution: 1. Set MAVEN_OPTS to -Dlog4j.configuration=file:/e:/log4j.xml -Dlog4j.debug 2. In your log4j.xml, you have add the following tags: appender name=mavenconsole

Re: problem with genapp struts-jstl template

2005-07-15 Thread Wendy Smoak
From: John C Cartwright [EMAIL PROTECTED] I'm trying to get started with maven 1.0.2 and find that when using any of the webapp templates (like struts-jstl), I get a warning on the java:compile goal Tag library requested that is not present: 'maven' in plugin: 'maven-xdoclet-plugin-1.2' I

Re: Problems with dependencies (Digester) of self written plugin

2005-07-15 Thread Martin Burger
Martin Burger schrieb am 15.07.2005 17:05: I think while running the plugin Digester 1.7 is not used, Maven's 1.4.1 is used instead. Therefore some parts of the XML report are ignored. Switching to Maven 1.1-beta-1 helped. But how to provide backward compatibility? Regards, Martin

Re: problem with genapp struts-jstl template

2005-07-15 Thread John C Cartwright
Hi Wendy, thanks for the suggestion. Changing to: dependency idxdoclet/id version1.2.3/version /dependency didn't seem to make any difference. Is this the dependency that you had in mind? -- john Wendy Smoak wrote: From: John C Cartwright [EMAIL PROTECTED] I'm trying

RE: Maven2: Wrong ACK

2005-07-15 Thread Ilyevsky, Leonid (Equity Trading)
Here is the SSH I am using: OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f What is jcsh? What could be wrong with my setup? Where should I look? Thanks, Leonid -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 11:28 AM To:

Re: Maven2: Wrong ACK

2005-07-15 Thread Trygve Laugstøl
On Fri, Jul 15, 2005 at 01:09:22PM -0400, Ilyevsky, Leonid (Equity Trading) wrote: Here is the SSH I am using: OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f What is jcsh? What could be wrong with my setup? Where should I look? Sorry, it's JSCH, not JCSH as I said. JSCH[1] is

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread John Fallows
Thanks Kenney, this is very helpful. :-) Would you mind posting a message to this email thread that contains a link to the APT documentation after is available on maven site? Kind Regards, John Fallows. On 7/15/05, Kenney Westerhof [EMAIL PROTECTED] wrote: On Fri, 15 Jul 2005, John Fallows

Re: Maven2: Wrong ACK

2005-07-15 Thread Trygve Laugstøl
On Fri, Jul 15, 2005 at 01:24:01PM -0400, Ilyevsky, Leonid (Equity Trading) wrote: I see /qsatools/tools/maven-2.0-alpha-3/lib/jsch-0.1.17.jar . On the Jsch website they have 0.1.21. Is this a problem? If I download the latest one, where I should tell maven to use it? It should work by just

RE: Maven2: Wrong ACK

2005-07-15 Thread Ilyevsky, Leonid (Equity Trading)
I just tried it. Does not help, the same Wrong ACK. Our Linux guy says that nothing was changed about ssh. Well, there probably were some patches installed. Outside maven the scp works fine. Any more clues? Emmanuel, could you also replace that jar with 0.1.21 and reproduce the problem again?

Legacy 1.x Remote Repository to Maven 2 Repo

2005-07-15 Thread Eric Weiss
I currently use Maven 1.2 on several projects and have quite an extensive repository. It of course uses the 1.x directory structure and doesn't contain any .pom or poms files/directories. Now I am trying/using Maven2 and am wondering what is the best way to access my existing 1.2 style

Re: Local Repository Issue

2005-07-15 Thread Josh
Try adding the line: maven.repo.local=[path to local repository] to your build.properties file. I had the same problem (Maven 1.0.2 wasn't finding JARs in a repository in the default location). Btw. what OS are you working in? I'm using Fedora. Josh On 7/14/05, Dennis Geurts [EMAIL

Unit testing verbosity

2005-07-15 Thread Dan Bradley
I'm new to Maven, but can't find an resolution to this problem: unit tests don't run with enough verbosity to be useful. When I run unit tests that fail, there is nothing reported other than that the tests failed. For example: [junit] Running com.foo.FooTest [junit] Tests run: 4,

Re: Unit testing verbosity

2005-07-15 Thread Dennis Geurts
Hi Dan, After testing, did you have a look at the files in 'target\test-reports' ?? Dennis On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote: I'm new to Maven, but can't find an resolution to this problem: unit tests don't run with enough verbosity to be useful. When I run unit tests that

Re: Unit testing verbosity

2005-07-15 Thread Charles Daniels
maven.junit.usefile=false On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote: I'm new to Maven, but can't find an resolution to this problem: unit tests don't run with enough verbosity to be useful. When I run unit tests that fail, there is nothing reported other than that the tests failed. For

Re: Unit testing verbosity

2005-07-15 Thread Dan Bradley
Exactly what I needed - thanks! On 7/15/05, Charles Daniels [EMAIL PROTECTED] wrote: maven.junit.usefile=false On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote: I'm new to Maven, but can't find an resolution to this problem: unit tests don't run with enough verbosity to be useful. When I

Re: Unit testing verbosity

2005-07-15 Thread Dan Bradley
That's a very useful tip as well! Thanks! On 7/15/05, Dennis Geurts [EMAIL PROTECTED] wrote: Hi Dan, After testing, did you have a look at the files in 'target\test-reports' ?? Dennis On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote: I'm new to Maven, but can't find an

How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Eric Weiss
Maven2 m2 clean:clean install packaging = jar I am trying to build a jar file, myJar.jar. myJar has several other jar files in it's dependency list in the pom.xml. I need to deploy this .jar file to a server, but I also need the dependency jars with it...either in the same folder or in a

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Allan Ramirez
Eric Weiss wrote: Maven2 m2 clean:clean install packaging = jar I am trying to build a jar file, myJar.jar. myJar has several other jar files in it's dependency list in the pom.xml. I need to deploy this .jar file to a server, but I also need the dependency jars with it...either in the

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Matthew L Daniel
Is there an easy/built in way to include the dependency jar files when building a jar package? Or do I need to build my own plugin? Sounds suspiciously like an EAR to me. If you ignore the META-INF/application.xml, it's a zip file with all your jars packaged together. That said, if you're

Re: maven 2 and JAXB

2005-07-15 Thread Brett Porter
Adam, I sent your info and details to Geoffrey and CC'ed the address I had. I believe the version there now covers all of your needs. Cheers, Brett On 6/27/05, Adam Hardy [EMAIL PROTECTED] wrote: Geoffrey on 26/06/05 14:23, wrote: In CVS there is a version of the SF JAXB plugin from for

Re: possible dependency conflict when executing plugin with 1.1-beta-1

2005-07-15 Thread Brett Porter
You will need to drop the appropriate version into MAVEN_HOME/lib. Unfortunately, commons-collections needs to be in there, and that version is used in all plugins. - Brett On 6/28/05, Brian Moseley [EMAIL PROTECTED] wrote: using 1.1-beta-1, i get a NoSuchMethodError for a commons-collections

Re: provided dependency scope

2005-07-15 Thread Brett Porter
This JIRA issue is different to your issue from the mail. The scope definition of provided is for compilation only, that it will -always- be provided at runtime (by the JDK or a container, and this includes the execution of unit tests). If it is not provided, it should be one of compile, runtime

Re: javadoc and jxr generation

2005-07-15 Thread Brett Porter
Well, that explains a lot :) You can't use commons-jelly-1.0 with Maven 1.0.2. They aren't internally compatible. If you need the newer Jelly, try Maven 1.1-beta-1. Cheers, Brett On 7/2/05, Adrian Herscu [EMAIL PROTECTED] wrote: Brett, I think that I have found the problem and I can

Re: Using maven with GCJ

2005-07-15 Thread Brett Porter
No, sorry - Maven 1.x requires a Sun JDK (with tools.jar). - Brett On 7/2/05, Filipe Tavares [EMAIL PROTECTED] wrote: Hello, I'm using maven 1.1beta1 on Fedora Core 4. Fedora comes with GCJ instead of the normal JDK. When I try to compile my projects, I get: [EMAIL PROTECTED]

Re: Legacy 1.x Remote Repository to Maven 2 Repo

2005-07-15 Thread Brett Porter
(2) is preferred. We are still considering allowing the use of an m1 repository as is, but it does limit the functionality Maven will provide and will not read m1 poms where the conversion will. - Brett On 7/16/05, Eric Weiss [EMAIL PROTECTED] wrote: I currently use Maven 1.2 on several

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Brett Porter
You can use the assembly plugin to create a single distributable unit. It will create a tarball, zip, or jar from your project and dependencies. - Brett On 7/16/05, Matthew L Daniel [EMAIL PROTECTED] wrote: Is there an easy/built in way to include the dependency jar files when building a jar

Re: Problems with dependencies (Digester) of self written plugin

2005-07-15 Thread Brett Porter
Unfortunately you are stuck here. The version in MAVEN_HOME/lib is used above the others due to the classloader hierachy in use and the fact that plugins are not separated. Plugins will need to use 1.4.1 to remain compat with Maven 1.0.2. - Brett On 7/16/05, Martin Burger [EMAIL PROTECTED]

Re: [M2] Manifest.mf

2005-07-15 Thread Brett Porter
I'd be interested to see what you are doing here, and whether an osgi-bundle plugin could be created to assist in this. Unfortunately the JAR plugin documentation does not yet go deep enough into the manifest element, but it's fields are seen here:

Re: jar override limitations ?

2005-07-15 Thread Brett Porter
These are 2 limitations of the jar override mechanism - you are correct. You can only use artifactId. There are no workarounds. Cheers, Brett On 7/15/05, fenallen [EMAIL PROTECTED] wrote: Hi. The jar overrides as specified in the documentation ... maven.jar.artifactId = [path]

Re: [maven 1.0.2] How to update all the default plugins for maven?

2005-07-15 Thread Brett Porter
There is a list on the download page you can cut and paste from, that's as automatic as it gets in maven 1.0 :) - Brett On 7/15/05, Jamie Bisotti [EMAIL PROTECTED] wrote: There is now update all method. It's a manual process. On 7/14/05, Mick Knutson [EMAIL PROTECTED] wrote: I want to

Re: [M1.0.2] Can a CD be a remote repository

2005-07-15 Thread Brett Porter
file:d:/CustomLib/repository should work On 7/13/05, Eric Lapierre [EMAIL PROTECTED] wrote: We use this property on Unix successfully: maven.repo.remote=file:/vobs/oam_tps/maven/repository I would look at your slash and backslash combination -Original Message- From: [EMAIL

Re: [m2] Adding ANT task to Maven 2

2005-07-15 Thread Brett Porter
This is a good way to do it. If you are looking to cut and paste the ant tasks, you might like to write the plugins in Marmalade, or use the AntRun plugin if the number of tasks is -very small- (though it could be to farm it out to a larger ant script using the ant ... / task). - Brett On

Re: site:deploy fails on sourceforge.net [m2]

2005-07-15 Thread Brett Porter
I believe this was a regression that crept in to the last release, since fixed in SVN. Cheers, Brett On 7/13/05, Wilfred Springer [EMAIL PROTECTED] wrote: All, It appears that the [m2] site:deploy Mojo fails to unzip the file after it has been uploaded using scp. It seems that the commands

Re: [m2] NPE in maven-javadoc-plugin

2005-07-15 Thread Brett Porter
On 7/12/05, John Fallows [EMAIL PROTECTED] wrote: I just noticed a NPE in the Maven2 Javadoc Report that occurs when organizationname.../name/organization is not present in the POM. Do I just file this bug against MNG/maven-reports on JIRA? yes, please. Thanks, Brett

Re: Dependency mayhem [m2]

2005-07-15 Thread Brett Porter
We'll be working more on multiproject releases shortly. It's a thorn in our own side come release time :) - Brett On 7/12/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: Wilfred Springer wrote: All, I'm trying to get the maven release plug-in working. My project organization looks

Re: Xerces error with JDK 5.0

2005-07-15 Thread Brett Porter
Please read the important note in the installation instructions. You have MAVEN_HOME set to 1.1, but have 1.0.2 ahead of it in your PATH. - Brett On 7/10/05, Jing Xue [EMAIL PROTECTED] wrote: Hi, I'm trying the 1.1 beta with a minimal project and got this error while just running 'maven'

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Henry Isidro
Matthew L Daniel wrote: Is there an easy/built in way to include the dependency jar files when building a jar package? Or do I need to build my own plugin? Sounds suspiciously like an EAR to me. If you ignore the META-INF/application.xml, it's a zip file with all your jars packaged

Re: [m2?] SWT

2005-07-15 Thread Brett Porter
what's all this future tense? It's in alpha-3... :) (not sure if there are OS dependent triggers or not, though - worst case could use a sys property -Dplatform=win32 until they are there though). - Brett On 7/4/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: Jörg Schaible wrote: Emmanuel

Re: FTP internal repository

2005-07-15 Thread Brett Porter
these settings are for deployment, not downloading. You probably want: maven.repo.remote=ftp:172.20.1.89/repository,http://www.ibiblio.org/maven Cheers, Brett On 7/9/05, Alexandre Touret [EMAIL PROTECTED] wrote: Hi I have created a FTP Repository for maven in my society maven cant connect to

Re: Maven2: Wrong ACK

2005-07-15 Thread Emmanuel Venisse
Ilyevsky, Leonid (Equity Trading) wrote: I just tried it. Does not help, the same Wrong ACK. Our Linux guy says that nothing was changed about ssh. Well, there probably were some patches installed. Outside maven the scp works fine. Any more clues? Emmanuel, could you also replace that jar