RE : How to change the build schedule in Beta 1?

2005-10-14 Thread Olivier Lamy
Log in continuum as Continuum admin. And create a new one. Olivier -Message d'origine- De : Frank Zhao [mailto:[EMAIL PROTECTED] Envoyé : vendredi 14 octobre 2005 19:47 À : continuum-users@maven.apache.org Objet : How to change the build schedule in Beta 1? I cannot find the

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

2005-10-14 Thread Arik Kfir
Yes, you should create two modules - one that produces a JAR, and one that produces a WAR (and has a dependency on the module generating the JAR). It should be something like this: root | +---pom.xml | +---war-module | | | +-pom.xml | | | +-src... |

Re: Is it possible to disable default repo [m2]

2005-10-14 Thread Arik Kfir
Yes we need this too, for offline sites. The way we did this for m1 is to hack the 'maven.jar' file in the installation, and edit the 'default.properties' file. Is there a better way? On 10/14/05, Russell, Mark [EMAIL PROTECTED] wrote: Is it possible, either in the pom.xml or the settings.xml,

Re: Is it possible to disable default repo [m2]

2005-10-14 Thread Brett Porter
setting a repository and a plugin repository in your pom/settings with an id of central will override the built in one. you can also add a mirror definition in your settings.xml file that will use your repository instead of the remote one, for example, when you are using maven-proxy. - Brett On

Re: Cannot use my ant task as a maven plugin : classloader issue !

2005-10-14 Thread Nicolas De Loof
I've found the cause of the problem : I've reduced my ant task to this code : execute() { log(getContextClassLoader() = + Thread.currentThread().getContextClassLoader()); } When I run it with ANT (1.5.3.1) I get [test] Thread.currentThread().getContextClassLoader() = [EMAIL PROTECTED]

Re: Flattened Eclipse Project

2005-10-14 Thread Jose Gonzalez Gomez
2005/10/14, mika [EMAIL PROTECTED]: Hi Brian, [snip] Now, I've found a solution which I *don't* consider to be best-practice-style at all, but it seems to work for me / us right at the moment: + parent + pom.xml + module + pom.xml + webapp + pom.xml ... The modules in the

[M2] How to specify ssh/scp executable with scpexe

2005-10-14 Thread Jose Gonzalez Gomez
Hi there, It's all in the subject: I'm trying to use scpexe with Putty under Windows, but I can't find where to specify what executable should use the scpexe extension. I've even taken a look at the sources, and this seems to be configurable (there are two instances variables marked with

[m2] what happened to beta 4?

2005-10-14 Thread David Sag
I'm just looking at Jira and it seems beta 4 has vanished from the road-map? yet i see no announcement of beta4 being released. wassup? Kind regards, Dave Sag

Re: Cannot use my ant task as a maven plugin : classloader issue !

2005-10-14 Thread Arnaud HERITIER
Hi Nicolas In maven 1.X there's 2 classloaders The root classloader where is ant and the root.maven classloader where is maven and its dependencies. If you use an ant task which need a dependency you must add the in the root classloader to allow ant to find it. In your POM these dependencies

Re: Flattened Eclipse Project

2005-10-14 Thread mika
Jose Thanks, this will save me the time trying out... I guess we'll have to follow the non-best-practice approach then. Cheers, mika Jose Gonzalez Gomez wrote: 2005/10/14, mika [EMAIL PROTECTED]: Hi Brian, [snip] Now, I've found a solution which I *don't* consider to be best-practice-style

Re: [m2] what happened to beta 4?

2005-10-14 Thread Brett Porter
It was renamed 2.0 (RC). Builds are on the way. - Brett On 10/14/05, David Sag [EMAIL PROTECTED] wrote: I'm just looking at Jira and it seems beta 4 has vanished from the road-map? yet i see no announcement of beta4 being released. wassup? Kind regards, Dave Sag

Re: Cannot use my ant task as a maven plugin : classloader issue !

2005-10-14 Thread Nicolas De Loof
That sounds like a classloader issue, but I've reduced the problem to a minimal project that has NO dependency (expect ant 1.5.3.1). The maven.xml only defines the ant task (that is in target/classes) and invoke it. You can try it by downloading : http://loof.free.fr/ant-maven-failure.zip

Re: [m2] how to define the output HTML's encoding when using site:site?

2005-10-14 Thread Kenney Westerhof
On Fri, 14 Oct 2005, Zhong ZHENG wrote: Use this: build plugins plugin artifactIdmaven-site-plugin/artifactId configuration outputEncodingUTF-8/outputEncoding /configuration / HTH, -- Kenney Hi, there, I am using maven 2 to generate project site. But

Re: Making m2 artifacts available to m1.1

2005-10-14 Thread jerome lacoste
On 10/13/05, Brett Porter [EMAIL PROTECTED] wrote: It should be reasonably simple to add this to Maven 1.1, but only for reading JARs it will not be able to do transitive dependencies or read the POMs. that's all I need. But if it's not yet ready today, I might better spend time migrating my

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

2005-10-14 Thread Yann Le Du
Hi David, You can also use these tricks : * Search site:www.ibiblio.org maven2 spring in Google * http://mavenbook.xwiki.com/xwiki/bin/view/Main/FindingVersionOfJar Regards, Yann --- David Jackman [EMAIL PROTECTED] a écrit : For a newcomer to Maven, is there a recommended methodology for

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

2005-10-14 Thread Yann Le Du
Hi Kevin, Try install again the plugin with this extra option : m2 install -DupdateReleaseInfo=true Yann --- Kevin McNamee [EMAIL PROTECTED] a écrit : Of course I meant after installation when I try to test the plugin. Also I am using maven 2.0 Beta 3. /Kevin _

[m2] Maven release plugin and CVS: bug?

2005-10-14 Thread fabrice . belingard
Hi guys, I'm trying to make the maven release plugin work, but I always get the same error when running m2 release:prepare -Dtag=...: [INFO] [release:prepare] [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty

Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Brett Porter
It should always be generated on install and deploy. It has a different name of maven-metadata-REPOSITORY_ID.xml in the local repository. In the final release, the extra flag is not needed. - Brett On 10/14/05, Yann Le Du [EMAIL PROTECTED] wrote: Solved the problem by copying

[m1/m2] How to: central dependency management

2005-10-14 Thread Michael Böckling
Hi guys, I have a not-so-technical question about dependency management in Maven (preferably m1, but m2 is okay also if m1 is impossible). Let's say, a new version of an important library (Jakarta Commons, JUnit etc.) has been released, and I'd like to update all my projects to use that

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

2005-10-14 Thread Kevin McNamee
Hi Yann, Ok I ran Now I get my:maven-hello-plugin m2 hello:hello [INFO] Searching repository for plugin with prefix: 'hello'. --- constituent[0]: file:/proj/local/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[1]:

Re: [m1/m2] How to: central dependency management

2005-10-14 Thread Stephen Duncan
To get you started for Maven 2: http://maven.apache.org/maven2/dependency-mechanism.html#dependency_management -Stephen On 10/14/05, Michael Böckling [EMAIL PROTECTED] wrote: Hi guys, I have a not-so-technical question about dependency management in Maven (preferably m1, but m2 is okay also

Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Yann Le Du
On install, a maven-metadata-local.xml was indeed generated. Then, the plugin was correctly accessed from... local :) However, I need my plugin be available from remote users. Apparently, the only way to achieve that in m2b3 is to provide a maven-metadata.xml (without -local suffix). In the

Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Brett Porter
On 10/14/05, Yann Le Du [EMAIL PROTECTED] wrote: However, I need my plugin be available from remote users. Apparently, the only way to achieve that in m2b3 is to provide a maven-metadata.xml (without -local suffix). m2 deploy (in combination with the distributionManagement section) will share

RE: [m1/m2] How to: central dependency management

2005-10-14 Thread Allison, Bob
The way we do this in Maven 1.0.2 is to define a set of build properties called lib.whatever.version with the value of the property set to the version of whatever we are using. We then use these properties in place of the version number in the project.xml files. Since we use extends/ to have

[M2] Using taglets in javadoc:javadoc

2005-10-14 Thread Bruno Essmann
Hi all! As a test I've been trying to convert one of our projects to M2. The project in question makes use of a custom taglet library during creation of the project documentation. In spirit of Maven I thought I could simply add the taglet library to an internal repository and add a dependency

Re: Is it possible to disable default repo [m2]

2005-10-14 Thread Arik Kfir
cool! On 10/14/05, Brett Porter [EMAIL PROTECTED] wrote: setting a repository and a plugin repository in your pom/settings with an id of central will override the built in one. you can also add a mirror definition in your settings.xml file that will use your repository instead of the remote

Re: How to delete a project when it is building?

2005-10-14 Thread Mark Hobson
On 14/10/05, Frank Zhao [EMAIL PROTECTED] wrote: Hi, I run into a situation that the project status is Building however the continuum is hanging there without building the project. (It is possible that something is wrong with the project configuration). My question is how to delete this

Re: [m1/m2] How to: central dependency management

2005-10-14 Thread mika
maven 1 should also read a file named build.properties in the user's home directory where you could put these version properties, see: http://maven.apache.org/reference/user-guide.html#Properties_Processing regards, mika Allison, Bob wrote: The way we do this in Maven 1.0.2 is to define a set

RE: Is it possible to disable default repo [m2]

2005-10-14 Thread Russell, Mark
Perfect. I believe that fixed my last remaining issue Thanks, MAR -Original Message- From: Arik Kfir [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 8:35 AM To: Maven Users List Subject: Re: Is it possible to disable default repo [m2] cool! On 10/14/05, Brett Porter [EMAIL

m1 - Problem with changelog reports

2005-10-14 Thread Angel Andres Fungueiro
When maven generates the changelog reports, the links are relatives to site url but they should be relatives to CVS url. I use repositoryurlhttp://172.20.16.232/viewcvs/esidif/Fuentes/Arquitectura/archivos_adjuntos//url/repository How can i do that?. Anybody can help me?

can't load wrapper.dll

2005-10-14 Thread Charles Osei
Hi, When I run continuum as a service on WIN 2003 64 bit AMD with service pack 1 the following warning message is logged. INFO | jvm 1| 2005/10/12 18:07:10 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'. INFO | jvm 1| 2005/10/12 18:07:10 | The

[m2] artifact:dependencies and EAR generation probleme

2005-10-14 Thread Antonio PAROLINI
Hello, I am trying to put jars referenced by a pom into an EAR using a ant task: --- target name=make-ear-maven if=maven.aware artifact:dependencies filesetId=dependency.fileset artifact:pom id=maven.project file=${file.maven.pom} / /artifact:dependencies

Re: m1 - Problem with changelog reports

2005-10-14 Thread Lukas Theussl
If you are using svn then this is a known issue: http://jira.codehaus.org/browse/MPCHANGELOG-74 If you are using cvs, it should work (you also specified a connection inside repository?). Which version of the changelog plugin are you using? -Lukas Angel Andres Fungueiro wrote: When

Re: continuum support in CC plugin for Firefox

2005-10-14 Thread Emmanuel Venisse
Hi Dimitri, I forward your mail to the continuum user list. I didn't known your plugin, but it's a good idea , perhaps you'll need to rename it if you support continuum ;-) We have actually two possibility (not finished yet) to interact with continuum. They're continuum-xmlrpc

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

2005-10-14 Thread John Fallows
Thanks Brett, On 10/13/05, Brett Porter [EMAIL PROTECTED] wrote: 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

[m2] NetBeans Plugin - M2 Subversion and Ibiblio Repository

2005-10-14 Thread wilfred springer
To whom it concerns: I would (still) really like to know what I need to do to get my NetBeans plugin into the Maven 2 repository. And I mean both the Maven 2 subversion and the Maven artifacts repository. http://blogs.sun.com/roller/page/wilfred?entry=maven_2_netbeans_plugin Thanks, Wilfred

Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Matt Raible
I'm just starting to play around with Maven 2's Ant tasks. While I like the transitive dependencies, it seems like I have to exclude more than I'd normally include. ;-) Onto my question - is it possible to declare a single artifact:dependencies, set the scopes appropriately and then copy/include

Re: [m2] NetBeans Plugin - M2 Subversion and Ibiblio Repository

2005-10-14 Thread Jason van Zyl
On Fri, 2005-10-14 at 19:10 +0200, wilfred springer wrote: To whom it concerns: I would (still) really like to know what I need to do to get my NetBeans plugin into the Maven 2 repository. It won't go into the SVN repository @ Apache but we can get you setup at the Mojo project. I know

Re: m2: NetBeans Plugin

2005-10-14 Thread Raphaël Piéroni
Hello Wilfried, I have started to make such a plugin. It is located at mojo.codehaus.org. It is in nearly release steps but as i can not May you subscribe to mojo list ? Raphaël Wilfred Springer a écrit : Guys, I've created a NetBeans plugin, comparable to the Eclipse plugin that already

Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Dave Brondsema
Matt Raible wrote: I'm just starting to play around with Maven 2's Ant tasks. While I like the transitive dependencies, it seems like I have to exclude more than I'd normally include. ;-) Onto my question - is it possible to declare a single artifact:dependencies, set the scopes

Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Matt Raible
On 10/14/05, Dave Brondsema [EMAIL PROTECTED] wrote: Matt Raible wrote: I'm just starting to play around with Maven 2's Ant tasks. While I like the transitive dependencies, it seems like I have to exclude more than I'd normally include. ;-) Onto my question - is it possible to declare

1.0.2 project dependencies

2005-10-14 Thread Adrian Zaharie
how can I specify project specific dependencies without having to dump it into maven repo..., or have maven expect to find it in the default repo working with maven 1.0.2 dependencies are in the form of jar files; thanks Regards, Adrian Zaharie ParaSoft Corporation (888) 305-0041 x 1229

[m2] Local vs Remote Repository

2005-10-14 Thread Russell, Mark
Is it possible to configure a project (pom.xml) to use a repository located on disk, without the build copying jars from that repository to the local repository in the users profile? Additionally, can this be done without pointing the pom.xml to the local repository in the users profile.

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

2005-10-14 Thread F-a-r-h-a-n-a
Ok now I understand about reference properties……since im new to MAVEN 1.0.2 can u plz tell me where do I ‘ll find ${user.home}/build.properties file to make proxy changes or is there any way through which I can direct MAVEN to use local repository instead of remote one . I have downloaded

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

2005-10-14 Thread Carlos Sanchez
${user.home} is your $HOME in linux maven always checks first local repo under ${user.home}/.maven/repository your proxy properties depend on your network, you must find out. On 10/14/05, F-a-r-h-a-n-a [EMAIL PROTECTED] wrote: Ok now I understand about reference properties……since im new to

[urgent]Problem in Maven1.0.2 for Grid Portal development

2005-10-14 Thread F-a-r-h-a-n-a
Hi I have installed Maven1.0.2 as prerequisites software for GridPort3.5.1 http://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

How to update dependencies in project.xml with Eclipse?

2005-10-14 Thread Siegfried Heintze
Is there an easy way to add dependencies to the project.xml file? It seems to me you should be able to just click on something instead of having to cut and paste into that project.xml file. There is that nice repository view. I tried double clicking on the modules but no luck. Thanks, Siegfried

Re: How to update dependencies in project.xml with Eclipse?

2005-10-14 Thread Guo, Jiaqi
Have you tried mevenide(http://mevenide.codehaus.org). With this plugin, the POM synchronizer could be the solution for you. Good luck. Regards Jiaqi Guo http://www.cyclopsgroup.com Siegfried Heintze wrote: Is there an easy way to add dependencies to the project.xml file? It seems to me

[urgent] Proxy Properties in Maven1.0.2 for GridPort3.5.1

2005-10-14 Thread F-a-r-h-a-n-a
There are already 2-3 mirror sites defined…wat I want to know is how to set Proxy properties using maven1.0.2 like : (maven.proxy.host . maven.proxy.port) in ${user.home}/build.properties file. Plz specify the location of this ${user.home}/build.properties file………Im unable

RE: [m2] Maven release plugin and CVS: bug?

2005-10-14 Thread Yann Le Du
Hi Fabrice, I am using SVN, but had the same kind of problem (at first). In your release plugin configuration, did you also provide username, along password ? I provided both, and it worked. Now the odd part : I recently removed username and password and it's still working. I can't tell why...

Class Path for Unit Tests

2005-10-14 Thread Marrs, Thomas
I have Junit tests that work with Spring and Hibernate, so I have to access a Spring Bean config file along with hibernate.cfg.xml. I also have a bunch of Hibenrate HBM files. Where should they go so that Maven 2 can see them when it runs surefire:test? I tried adding the following to my

Re: [m2] Local vs Remote Repository

2005-10-14 Thread Edwin Punzalan
Hi. A repository is a place for m2 to get artifacts. I doubt if that can be disabled though. There is, however, -o which will disable all remote activities in m2... yes, it disables the retrieval of artifacts from the repository, but also other offlince tasks like scm activities. The

Re: Class Path for Unit Tests

2005-10-14 Thread Johnny R. Ruiz
Marrs, You could put your Hibernate HMB files in the default Test Resource folder ${basedir}/src/test/resources so your unit tests can see them. Or if you prefer to put your test resources on other folder then you can configure your POM.XML just like this: (Note: doing this will override

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

2005-10-14 Thread Brett Porter
No, the plugins are only unloaded when reinstalled, but they are unlikely to be the cause for this. How large is your reactor? - Brett On 10/15/05, John Fallows [EMAIL PROTECTED] wrote: Thanks Brett, On 10/13/05, Brett Porter [EMAIL PROTECTED] wrote: This is fixed in the next Maven release

Re: [m102]: Suppresing download progress etc.

2005-10-14 Thread Brett Porter
I think maven -q will do this, though it does suppress much of the other output too. - Brett On 10/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there anyway to suppress the artifact download progress messages issued by Maven? This looks fine on a console; but in build reports, takes

Re: [m2] artifact:dependencies and EAR generation probleme

2005-10-14 Thread Brett Porter
Use ant's flatten mapper: mapper type=flatten/ On 10/15/05, Antonio PAROLINI [EMAIL PROTECTED] wrote: Hello, I am trying to put jars referenced by a pom into an EAR using a ant task: --- target name=make-ear-maven if=maven.aware artifact:dependencies

Re: [m2] Maven release plugin and CVS: bug?

2005-10-14 Thread Brett Porter
On 10/15/05, Yann Le Du [EMAIL PROTECTED] wrote: Now the odd part : I recently removed username and password and it's still working. I can't tell why... This is a consequence of svn - it caches the information. - Brett - To

Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Brett Porter
Yes, the pom is the easiest way - otherwise we'd need to have one of each of the Id parameters for each scope. - Brett On 10/15/05, Matt Raible [EMAIL PROTECTED] wrote: On 10/14/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I share Matt's concern. It'd be nice if I can do something like:

Re: [M2] Using taglets in javadoc:javadoc

2005-10-14 Thread Brett Porter
${localRepository} instead of ${maven.repo.local} and putting the dependency inside the plugin element is probably the most effective use of it. I agree it should not be necessary to give the local path - perhaps you could record a feature request? - Brett On 10/14/05, Bruno Essmann [EMAIL

Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Matt Raible
This seems to work, but I've had to exclude a lot of dependencies in order to trim the JARs down to what I had previous with all-jars-in-CVS. The one I can't seem to get rid of is servlet-api-2.4.jar. Is there a quick way to find out which dependency is causing it to be included? Many of my