[m2] Problems with dependency version

2005-05-20 Thread Kristian Nordal
Hi, I'm trying to set up the mysql-connector-java as a dependency. It's called mysql-connector-java-3.0.10-stable-bin. In Maven 1, I think I used to set mysql-connector-java as artifactId, and 3.0.10-stable-bin as versionId. If I do this in the m2 pom it will try to look for the artifact here: htt

remote repository access problem

2005-05-20 Thread vijayakumar.lakshmanan
Hi All, I am using below mentioned property to get the dependency from the remote machine maven.repo.remote.enabled=true maven.repo.remote=http://10.145.92.29:8081/maven maven.repo.list=wyndhamrepo maven.repo.wyndhamrepo=ftp://10.145.92.29 maven.repo.wyndhamrepo.directory=/home/wynmgm/

RE: Question about Dashboard Plugin 1.8 released

2005-05-20 Thread Mattias Olofsson
Thats great One question: Can you include the dashboard report in the maven-dashboard-plugin site. This would be a good demo of how the plugin works ? Mvh Mattias Olofsson Software Developer, M. Sc. Physics XDIN AB Gustaf Werners gata 12 SE-421 32 Västra Frölunda Office: +46 (0)31

RE: Question about Dashboard Plugin 1.8 released

2005-05-20 Thread Mattias Olofsson
Thats great One question: Can you include the dashboard report in the maven-dashboard-plugin site. This would be a good demo of how the plugin works ? Mvh Mattias Olofsson Software Developer, M. Sc. Physics XDIN AB Gustaf Werners gata 12 SE-421 32 Västra Frölunda Office: +46 (0)31

Re: [m2] Problems with dependency version

2005-05-20 Thread Kristian Nordal
On 5/20/05, Kristian Nordal <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to set up the mysql-connector-java as a dependency. It's > called mysql-connector-java-3.0.10-stable-bin. In Maven 1, I think I > used to set mysql-connector-java as artifactId, and 3.0.10-stable-bin > as versionId. If I d

maven:addPath does not work

2005-05-20 Thread Walsh, Richard \(Richard\)
Hi, I am having a problem with the below code. The AddPath does not add the src.dirs to the maven.compile.src.set variable. Here is the goal. src.dirs=${src.dirs.print} maven.compile.src.set=${maven.src.dirs} The Project.xml file ha

POM inheritance & CVS

2005-05-20 Thread Walter Vandeweyer
Hi all I'm building a EAR with multiple modules: - WEB module - EJB jar module - java jar module I did find out that is very comfortable to use POM inheritance, by writing a central Project.xml, and having all the others extending from it, like : ${basedir}/../project.xml However there is a p

How do i explicitly list plugins in pom.xml with their versions?

2005-05-20 Thread Malcolm Wong Ho
How do i explicitly list plugins in pom.xml with their versions? Can you provide a sample pom.xml -- Malcolm Wong Ho May you live in uninteresting times. -- Chinese proverb - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: maven:addPath does not work

2005-05-20 Thread Jason van Zyl
On Fri, 2005-05-20 at 12:30 +0200, Walsh, Richard (Richard) wrote: > Hi, > > I am having a problem with the below code. The AddPath does not add the > src.dirs to the maven.compile.src.set variable. Here is how it's done in the Antlr plugin: Where one directory is added at a time

Ways to configure remote repository

2005-05-20 Thread vijayakumar.lakshmanan
Hi All, How to configure remote repository In maven property files ? Clue appreciated ! Thanks and Regards, Vijayakumar L Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the

Problem in using jar:deploy and downloading using central repository

2005-05-20 Thread vijayakumar.lakshmanan
Hi All, I am running with some problem Pl help me !! 1) Problem: We used the following in the build.properties file to download third party dependencies from a central repository (The central repository was setup in a Web server in a Linux machine). The download did not succeed.

Re: Ways to configure remote repository

2005-05-20 Thread Jason van Zyl
On Fri, 2005-05-20 at 17:49 +0530, [EMAIL PROTECTED] wrote: > Hi All, > > > > How to configure remote repository > > In maven property files ? I'll assume you're looking for m1 material: http://maven.apache.org/using/repositories.html -- jvz. Jason van Zyl jason at maven.org http://maven.a

Re: Problem in using jar:deploy and downloading using central repository

2005-05-20 Thread Kenney Westerhof
On Fri, 20 May 2005 [EMAIL PROTECTED] wrote: > 1) Problem: > > We used the following in the build.properties file to download third > party dependencies from a central repository (The central repository was > setup in a Web server in a Linux machine). The download did not succeed. > >

RE: maven:addPath does not work

2005-05-20 Thread Walsh, Richard \(Richard\)
Its ok. I was setting xmlns:maven="maven" at the top instead of xmlns:maven="jelly:maven" -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: 20 May 2005 13:22 To: Maven Users List Subject: Re: maven:addPath does not work On Fri, 2005-05-20 at 12:30 +0200, Walsh, Rich

Problem with strutsconfigxml piece of webdoclet piece of xdoclet plugin for maven

2005-05-20 Thread AAKhopkar
Hi, I am using xdoclet1.2.3 I have the apache module setup as a dependency. However, when I run webdoclet, no struts-config file is generated. I do have the apache module as a dependency. Here's a snippet: xdoclet 1.2.3 xdoclet xdoclet-web-module

Install JCE Provider

2005-05-20 Thread Daniel Frey
Hello I am trying to dist:deploy under jdk 1.3. An error tells me to install a JCE provider. I've downloaded the Bouncing Castle JCD Provider for JDK 1.3. How do I install it? So far I have put it into the ext directory of the jdk installation. But this doesn't change anything. Thanks Daniel Frey

Install JCE Provider

2005-05-20 Thread Daniel Frey
Hello I am trying to dist:deploy under jdk 1.3. An error tells me to install a JCE provider. I've downloaded the Bouncing Castle JCD Provider for JDK 1.3. How do I install it? So far I have put it into the ext directory of the jdk installation. But this doesn't change anything. Thanks Daniel Frey

RE: Dependencies with the same artifactId/groupId but a different type

2005-05-20 Thread David Jackman
This doesn't work. It still ignores the second dependency that has the same groupId and artifactId as a previous one. Changing the artifactId will get it noticed, so my workaround was to change the artifactId then use the element to "fix" the filename back to what it should be (with the original

RE: maven:addPath does not work

2005-05-20 Thread Walsh, Richard \(Richard\)
I took the code and changed it to the format suggested. I now have this in the file. maven.compile.src.set=${maven.src.dirs} Here is what is printed. It still does not pick up the build/gen-src directory. __ __ build:start: java:prepare-filesystem: java:

RE: Using Java:Compile JavaDoc and Clover with Mutilpe Source Directories

2005-05-20 Thread Walsh, Richard \(Richard\)
Ok, I figured it all out. Here is the answer for those concerned. The "set-java-compile-src-set" goal will set the "java.compile.src.set" property to the generated source dir. This goal is called from the preGoals for java:compileIn order that the gen-src classes are compiled with th

RE: Using Java:Compile JavaDoc and Clover with Mutilpe Source Directories

2005-05-20 Thread Walsh, Richard \(Richard\)
Ensure that the javadoc is version 1.6 or greater. -Original Message- From: Walsh, Richard (Richard) Sent: 20 May 2005 17:41 To: Maven Users List Subject: RE: Using Java:Compile JavaDoc and Clover with Mutilpe Source Directories Ok, I figured it all out. Here is the answer for those co

RE: Dependencies with the same artifactId/groupId but a different type

2005-05-20 Thread David Jackman
After I sent this I found this on the mail archive from 23 November 1994 (http://www.mail-archive.com/users@maven.apache.org/msg14797.html): "search the archives for more information (typically it refers to tlds). Fixed in 1.1. The JIRA roadmap for 1.1 will have it listed. (1.0.1 does not contain

RE: Question about Dashboard Plugin 1.8 released

2005-05-20 Thread Vincent Massol
> -Original Message- > From: Mattias Olofsson [mailto:[EMAIL PROTECTED] > Sent: vendredi 20 mai 2005 10:02 > To: 'Maven Users List' > Subject: RE: Question about Dashboard Plugin 1.8 released > > Thats great > > One question: > > Can you include the dashboard report in the maven-d

RE: Question about Dashboard Plugin 1.8 released

2005-05-20 Thread Vincent Massol
> -Original Message- > From: Mattias Olofsson [mailto:[EMAIL PROTECTED] > Sent: vendredi 20 mai 2005 10:02 > To: 'Maven Users List' > Subject: RE: Question about Dashboard Plugin 1.8 released > > Thats great > > One question: > > Can you include the dashboard report in the maven-d

Re: Dependencies with the same artifactId/groupId but a different type

2005-05-20 Thread Carlos Sanchez
Check http://jira.codehaus.org/browse/MAVEN-1087 On 5/20/05, David Jackman <[EMAIL PROTECTED]> wrote: > After I sent this I found this on the mail archive from 23 November 1994 > (http://www.mail-archive.com/users@maven.apache.org/msg14797.html): > > "search the archives for more information (typ

maven plugin for jasperreports?

2005-05-20 Thread Caoilte O'Connor
Hi, Does anyone know of a maven plugin for compiling jasperreports files? ie, foo.jrxml -> foo.jasper I think it's something I'd like to incorporate into our build stage. c - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Cactus - Eclipse - Maven

2005-05-20 Thread Anagnost, Ted
I'm running Cactus which starts up a temporary Tomcat installation in order to run tests. But, I have no way of remote debugging those tests unless I configure a remote debug launcher in Eclipse to connect to Tomcat - but I have to connect manually after Cactus starts Tomcat. Is there a way

Re: Cactus - Eclipse - Maven

2005-05-20 Thread Felipe Leme
Hi Ted, You can set the MAVEN_OPTS to run Java in debug mode: MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y After you set this property you run "maven cactus:test" (or whatever goal you want to debug) and it will block, waiting for a debug connection. You ca

Problem with strutsconfigxml part of webdoclet piece of xdoclet plugin for maven

2005-05-20 Thread AAKhopkar
Hi, I am using xdoclet1.2.3 I have the apache module setup as a dependency. However, when I run webdoclet, no struts-config file is generated. I do have the apache module as a dependency. Here's a snippet: xdoclet 1.2.3 xdoclet xdoclet-web-module

RE: [ANN] Maven Dashboard Plugin 1.8 released

2005-05-20 Thread Vincent Massol
Hi Wim, The reason I did not apply it is because it's missing lots of things. There are no tests to prove that it works and thus I'll need to create some in order to apply your idea. If you could provide tests and a unified diff patch that would go a long way towards applying your idea. Otherwis

RE: [ANN] Maven Dashboard Plugin 1.8 released

2005-05-20 Thread Vincent Massol
Hi Wim, The reason I did not apply it is because it's missing lots of things. There are no tests to prove that it works and thus I'll need to create some in order to apply your idea. If you could provide tests and a unified diff patch that would go a long way towards applying your idea. Otherwis

Re: Problem with strutsconfigxml part of webdoclet piece of xdoclet plugin for maven

2005-05-20 Thread Felipe Leme
Changing the subject a little bit, is XDoclet 1.2.3 already in a public maven repository? I'm asking because I have to use that version and had to setup it locally in my machine (I didn't want to open a MAVENUPLOAD REQUEST for it, as there are dozens of jars to be bundled and I was too lazy to pa

Location of non-distributed resource files

2005-05-20 Thread Charles Daniels
Hi All, I thought I posted this question to the list a couple of days ago, but I haven't seen it appear anywhere, so I am resending. Please forgive me if this is a duplicate posting. I'm following the latest conventions for project layout and I am wondering if there is a convention for separating

maven eclipse

2005-05-20 Thread Adrian Herscu
Hi all, Using Maven 1.0.2. maven eclipse generates only the test entry in the .classpath file this one should be manually added (otherwise the project will not build in Eclipse): Note that the source paths are generated according to the old Maven directory layout (not as described here: htt

[m2] Project relative dependencies

2005-05-20 Thread John Fallows
My company uses a homegrown version control system that manages dependencies by presenting a unified "view" of both sources and dependent JARs. Therefore, the auto-download mechanism used by Maven to resolve dependencies is not required. However, Maven2 presents many other advantages that we woul

need help with defining multiproject...

2005-05-20 Thread Muser007
Hi, I am able to successfully build and create the main and sub project jars seperately. But now I have a list of requirements I need to fulfil. How do I customize maven build so I can get the latest sources from CVS and build nightly or weekly, creating a directory with the timestamp. I also ne

[m2] how to control the plugin execution order

2005-05-20 Thread Nicolas Chalumeau
I want to develop a mojo plugin for my project. The goal is to generate java file from generated java file ie I use modello to generate my class file but I want to generate interface for this classes probably with XDoclet2 (GUI component will implement this interface and extends JFrame for example)

Re: [m2] how to control the plugin execution order

2005-05-20 Thread Brett Porter
Hi Nicolas, On 5/21/05, Nicolas Chalumeau <[EMAIL PROTECTED]> wrote: > I want to develop a mojo plugin for my project. The goal is to > generate java file from generated java file ie I use modello to > generate my class file but I want to generate interface for this > classes probably with XDoclet

Re: [m2] Problems with dependency version

2005-05-20 Thread Brett Porter
Thanks, it's a known problem. You can track it here: http://jira.codehaus.org/browse/MEV-12 (set yourself as a watcher) As a workaround, you can copy it locally to a new filename that works with your dependency. Is the JAR a distribution of another JAR + docs, or is that just the standalone JDBC

Re: remote repository access problem

2005-05-20 Thread Brett Porter
This looks to me like /home/wynmgm/jakarta-tomcat-4.1.31/webapps/maven/ doesn't exist on ftp://10.145.92.29 (see the failure of "change directory" first). Error reporting has been improved for the next release of the artifact plugin. - Brett On 5/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wr

Re: [m2] Project relative dependencies

2005-05-20 Thread Brett Porter
John, I will discuss this with the Maven developers. While jar overrides themselves (in the m1 sense) won't be supported, alternate repository implementations might (so you could write your own). - Brett On 5/20/05, John Fallows <[EMAIL PROTECTED]> wrote: > My company uses a homegrown version co

Re: How do i explicitly list plugins in pom.xml with their versions?

2005-05-20 Thread Brett Porter
There are examples in the getting started guide: http://maven.apache.org/maven2/getting-started.html (Note that some versions in here are incompatible with alpha-2, I will update the document shortly). - Brett On 5/20/05, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > > How do i explicitly list

Re: POM inheritance & CVS

2005-05-20 Thread Brett Porter
On 5/20/05, Walter Vandeweyer <[EMAIL PROTECTED]> wrote: > I did find out that is very comfortable to use POM inheritance, by writing a > central Project.xml, and having all the others extending from it, like : > > ${basedir}/../project.xml > > However there is a problem when building versioned

Re: Install JCE Provider

2005-05-20 Thread Brett Porter
You also need to change the "jre/lib/security/java.security" file to register it as a provider, eg: # put this next to the others with an incremented number security.provider.7=org.bouncycastle.jce.provider.BouncyCastleProvider Cheers, Brett On 5/21/05, Daniel Frey <[EMAIL PROTECTED]> wrote: > H

Re: Location of non-distributed resource files

2005-05-20 Thread Brett Porter
I do remember seeing it and forgetting to answer :) Personally, I would opt for "src/main/xdoclet" in this case (ie, src/main/plugin-name). Anyone else have any thoughts? I think this would be a good thing to include in the standards. - Brett On 5/21/05, Charles Daniels <[EMAIL PROTECTED]> wrot

Re: maven war not jar'ing class files

2005-05-20 Thread Brett Porter
On 5/20/05, Felipe Leme <[EMAIL PROTECTED]> wrote: > On Fri, 2005-05-06 at 01:17 +1000, Brett Porter wrote: > > > I've not received one good reason why this is actually useful. "It > > OK, I will (hopefully) give you some below. This is a bit out of context. What I haven't seen a reason for is w

Re: maven eclipse

2005-05-20 Thread Kristian Nordal
On 5/21/05, Adrian Herscu <[EMAIL PROTECTED]> wrote: > Hi all, > > Using Maven 1.0.2. > > maven eclipse generates only the test entry in the .classpath file Hi, Have you specified the src/main/java directory as a source directory in your POM? Inside your : src/main/java -- Kristian >