How to edit Template(velocity)? and How to use i18n

2005-11-03 Thread shinya uchimaki
Hi there I use continuum 1.0. 1. How to edit Template(velocity)? a. I edit velocity template eq Users.vm under /apps/continuum/webapp/templates/screens b. restart continuum c. Users.vm was reset. template was stored in Database???. 2. How to use i18n a. I copy

RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependentjars?

2005-11-03 Thread fabrice . belingard
You can check out the plugin from SVN, verify that the patch has been applied (and apply it if not) and build the plugin yourself (the version of the plugin in SVN must be snapshot, so you can leave it like this). The plugin should be released soon (at least I hope), so you can also wait a

[m2] pmd and java 1.5 site error: pmd doesn't know it's 1.5

2005-11-03 Thread Geoffrey
I have a project with 1.5 java code. It has the following compile/reports configuration in the pom.xml: build sourceDirectorysrc/sourceDirectory resources resource directorysrc/directory excludes

Producing directory artifacts

2005-11-03 Thread Benoit Mangez
Dear All, I would like to produce a new kind of artifact which will be a directory. And I've some questions about that. 1) Is it possible for an artifact to be a directory ? 2) Is it possible to install such kind of artifact in the repository ? (the default install goal is not very happy

Re: Getting project classpath in ant

2005-11-03 Thread Yudong Wang
Hi Brett, Where is the antrun property maven.dependency.classpath or any other properties documented? I also had some problem with ant+maven. sample ant tasks: target name=initTaskDefs !-- don't forget to update the version! -- taskdef resource=org/apache/maven/artifact/ant/antlib.xml

Re: SSH proxy for deployments

2005-11-03 Thread Jose Gonzalez Gomez
I seem to remember that the SSH support in Maven is provided by JSch, am I right? In their web page (http://www.jcraft.com/jsch/) they say that JSch has support for connection through HTTP proxy, so the support is there, it just have to be activated, anybody knows how? 2005/11/2, Stevenson, Chris

Re: SSH proxy for deployments

2005-11-03 Thread Jose Gonzalez Gomez
Here is the example: http://www.jcraft.com/jsch/examples/ViaHTTP.java 2005/11/3, Jose Gonzalez Gomez [EMAIL PROTECTED]: I seem to remember that the SSH support in Maven is provided by JSch, am I right? In their web page (http://www.jcraft.com/jsch/) they say that JSch has support for

Re: [m2] pmd and java 1.5 site error: pmd doesn't know it's 1.5

2005-11-03 Thread Edwin Punzalan
The compiler plugin parameter for JDK 1.5 is used for compiling sources. if you want PMD to know that it should 1.5, you should also tell it via a configuration using targetJDK Geoffrey wrote: I have a project with 1.5 java code. It has the following compile/reports configuration in the

Re: SSH proxy for deployments

2005-11-03 Thread Jose Gonzalez Gomez
I've taken a look at wagon sources, and the SSH wagon doesn't provide support for proxied connections, although it internally uses JSch, and inherits from AbstractWagon, that has a field with proxy information. I've created an issue: http://jira.codehaus.org/browse/WAGONSSH-24 Best regards Jose

Re: [m2] install plugin bug with classifiers ?

2005-11-03 Thread Julien Stern
On Thu, Nov 03, 2005 at 10:05:50AM +1100, Brett Porter wrote: How are you calling it? Sounds like you are running install:install over a multiproject - instead you should use install. Well, I believe I'm doing something fairly standard. I'm calling: $ mvn -Pnodebug install or $ mvn

Re: [m2] Using the jetty6 plugin was: Using the tomcat plugin

2005-11-03 Thread Ralph Pöllath
Hi, I'm impressed! By following your instructions, I got jetty to run my webapp (using http://www.mortbay.org/maven2/snapshot as mentioned by Greg - the old url did not work anymore). Unfortunately, I didn't get very far because jetty doesn't know about my oracle drivers. With tomcat, I

[m2] release:perform does not work

2005-11-03 Thread Igor Bljahhin
Hello! I have a multimodule project with flat directory structure: ./ translators/ -- parent project translators-commons/ -- the project with business layer components translators-web/ -- the project with web layer components The child projects are described in the parent project's

Updating a plugin with pluginManagement?

2005-11-03 Thread fabrice . belingard
Hi, I've just seen that version 2.0 of the surefire plugin has been released, so of course I decided to use it. In my pom, I specified the following lines: build ... pluginManagement plugins ...

RE: Updating a plugin with pluginManagement?

2005-11-03 Thread Yann Le Du
Hi Fabrice, I believe you must use -cpu or -U to force the update, or else updates are checked once a day. Regards, Yann --- [EMAIL PROTECTED] a écrit : Hi, I've just seen that version 2.0 of the surefire plugin has been released, so of course I decided to use it. In my pom, I

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-03 Thread Stephen Duncan
The preferred thing is to get the Hibernate and Spring POM's to put in the optionaltrue/optional flag on their dependencies, so that you don't have to do anything. Until then, put in exclusions. -Stephen On 11/2/05, Robert Taylor [EMAIL PROTECTED] wrote: Greetings, I'm new to Maven and am

[M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
I'd like to get this version of the scm plugin, as it seems there is a fix for a bug I'm hitting. The version seems to be in the ibiblio repository, but whenever I try to get the latest version I always get 1.0-alpha-3. The problem seems to be related to the plugin metadata:

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
As a workaround, it seems that manually editing the maven-metadata-central.xml file in the local repository and adding the version is enough to make maven download the new version. HTH, best regards Jose 2005/11/3, Jose Gonzalez Gomez [EMAIL PROTECTED]: I'd like to get this version of the scm

RE: Updating a plugin with pluginManagement?

2005-11-03 Thread fabrice . belingard
Hi Yann, this does not work - I read on a post from Brett that these options work only for the plugin registry and the plugin registry is not activated by default in m2. And even when I run the command for the first time today, Maven didn't try any update, so that's why I don't understand

Re: Updating a plugin with pluginManagement?

2005-11-03 Thread Stephen Duncan
-cpu uses the plugin registry, -U should update to the latest release when not using the plugin registry. -Stephen On 11/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Yann, this does not work - I read on a post from Brett that these options work only for the plugin registry and

[M2] Warning about invalid POM for JDOM

2005-11-03 Thread Christoph Schönfeld
I get the following warning: [WARNING] POM for: 'jdom:jdom:pom:1.0' does not appear to be valid. Its will be ignored for artifact resolution. Reason: Parse error reading POM I use the following dependency: dependency groupIdjdom/groupId artifactIdjdom/artifactId version1.0/version

[m2] Updating *.properties files according to environment

2005-11-03 Thread Samuel Le Berrigaud
Hi, here is what I would like to do. I have some properties files for which values depends on the environement (development, test, live...) or per developer. Here is a basic example: [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ What I would like is that,

[m2] multi-module visibility problem

2005-11-03 Thread Anuerin Diaz
hi, i am starting a multi-module project that has this structure root |---module1 |-pom.xml |---module2 |-pom.xml |-pom.xml wherein module2 depends on module1. compilation of module1 goes fine but module2 fails because it cannot see the classes in module1. i hope

Re: [m2] Using the jetty6 plugin was: Using the tomcat plugin

2005-11-03 Thread Jan Bartel
Hi Ralph, I've linked the doco for the plugin onto the Jetty site. You can go directly to it here: http://jetty.mortbay.org/jetty6/maven-plugin/index.html You can change where the plugin expects to find your webapp by configuring the webAppSourceDirectory property. Regarding the oracle jars,

Re: [maven2] Failed to build model from plexus-utils-1.0.4.pom

2005-11-03 Thread Jeremy Hughes
import java.util.Locale; public class WhatsMyLocale { public static void main(String[] args) { Locale l = Locale.getDefault(); System.out.println(l); } } outputs en_GB The LANG env variable: LANG=en_GB.UTF-8 If there's anything I can do to help diagnose, let me know. I

Re: [M2] Warning about invalid POM for JDOM

2005-11-03 Thread Dave EDMONDS PSE 54839
Christoph, The POM for JDOM has an error, a bug's already been logged for it. There's a comment within the jdom.pom file on the repository that doesn't have a corresponding -- tag. For now, just replace the line: !-- should be replaced by xalan.jar from jdom, their version was 2.5.D1

Re: [M2] Warning about invalid POM for JDOM

2005-11-03 Thread Christoph Schönfeld
Thank you for the hint. I fixed it in my local POM file and it works now. Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [maven2] Failed to build model from plexus-utils-1.0.4.pom

2005-11-03 Thread Jeremy Hughes
This small test case fails for me with the sun.io.MalformedInputException, but running on Windows it passes. Locale is en_GB on both! I'll continue to dig. import java.io.FileInputStream; import java.io.InputStreamReader; public class ReadPom { public static void main(String[] args) {

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Emmanuel Venisse
the best way is to use the -U parameter on command line for update the plugin Emmanuel Jose Gonzalez Gomez said: As a workaround, it seems that manually editing the maven-metadata-central.xml file in the local repository and adding the version is enough to make maven download the new version.

RE: Updating a plugin with pluginManagement?

2005-11-03 Thread Emmanuel Venisse
pluginManagement is used for define the default configurztion of a plugin. Your sub-project can use it without redeclaring all conf if it's the same, in sub-projects, your declare only groupId and artifactId of the plugin and m2 will use the conf of parent defined in parent pom. It's the same

RE: [m2] Updating *.properties files according to environment

2005-11-03 Thread Vincent Siveton
Hi Samuel, The Maven1 environment files (build.properties and project.properties) have been replaced with a settings.xml file in Maven2. You could also define profiles to have customized builds. http://maven.apache.org/guides/introduction/introduction-to-profiles.html Cheers, Vincent

Re: [m2] multi-module visibility problem

2005-11-03 Thread Alexandre Poitras
You have to declare module1 as dependency in module2. Maven cannot guess it automatically. Add this in your Module2 pom. dependencies dependency groupIdroot.MODULES/groupId artifactIdmodule1/artifactId version1.0/version /dependency /dependencies Voilà, it should work now. Hope this help! On

[M2] Nullpointer wil generating site

2005-11-03 Thread Thomas Van de Velde
Hi, I am running mvn site and get the following error: [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

RE: [m2] Updating *.properties files according to environment - How I do It

2005-11-03 Thread Tony Steele
This is the solution I use: The configuration has a profile per environment (live, uat dev etc) and filters any resource file using an environment property file in the /conf directory (e.g. artifactId-live.properties ). When you do a build you just use -P ( e.g. -P live) to build for the

[M2] eclipse plugin: tools.jar incorrectly added

2005-11-03 Thread Thomas Van de Velde
Hi, When generating the Eclipse classpath, I am getting this: classpathentry kind=var path=M2_REPO/C:/dev/Java/jdk1.5.0_04/jre/../lib/tools.jar/ This used to work a couple of days ago and now all of a sudden I get this error. Thomas

[M2] javadoc definining group packagings

2005-11-03 Thread Pilgrim, Peter
Hi I am converting M1 to M2 and I trying set up the javadoc groups for packages. What is the correct format for group in the javadoc:javadoc plugin? I would like `com.csfb.foo.bar.dao' to fall under DAO and `com.csfb.foo.bar.ui' to fall under `UI' project build ...

archetype:create problem

2005-11-03 Thread Malcolm Wong Ho
Have a problem using this command : mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-ear Error : [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId: maven-archetype-ear Version: RELEASE

running continuum on mysql

2005-11-03 Thread witek wolejszo
Hello, Has anyone succeeded in running Continuum-1.0 on mysql database? Environment: Debian GNU/Linux 2.6.8-2-k7 MySQL 4.0.24_Debian-10-log MySQL-AB JDBC Driver, version=mysql-connector-java-3.1.11 ( $Date: 2005-09-21 18:20:03 + (Wed, 21 Sep 2005) $, $Revision: 4287 $ ), major=3, minor=1

Re: archetype:create problem

2005-11-03 Thread Jorg Heymans
please search the list, this has come up a few times already. note to devs: There should either exist a RELEASE version of the archetype or the docs need to be made more clear. Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
I've tried to do that, even deleting the repository before doing it, and I keep getting alpha-3 Jose 2005/11/3, Emmanuel Venisse [EMAIL PROTECTED]: the best way is to use the -U parameter on command line for update the plugin Emmanuel Jose Gonzalez Gomez said: As a workaround, it seems

Test Fail with the message You have more than one version of 'org.apache.commons.logging.Log' visible

2005-11-03 Thread Joao Batistella
Hello! I have in my project, a dependendy for commons-logging version 1.0.4 but, when I run my tests, Junit seems to use another version of commons-logging, I think it uses commons-logging-1.1-dev.jar. Because of this, when I run my tests, I get the message: You have more than one version

Re: [M2] eclipse plugin: tools.jar incorrectly added

2005-11-03 Thread Jose Gonzalez Gomez
+1 on this 2005/11/3, Thomas Van de Velde [EMAIL PROTECTED]: Hi, When generating the Eclipse classpath, I am getting this: classpathentry kind=var path=M2_REPO/C:/dev/Java/jdk1.5.0_04/jre/../lib/tools.jar/ This used to work a couple of days ago and now all of a sudden I get this error.

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Emmanuel Venisse
metadata seems to be wrong in repository, filed an issue and we'll fixed it. Emmanuel Jose Gonzalez Gomez said: I've tried to do that, even deleting the repository before doing it, and I keep getting alpha-3 Jose 2005/11/3, Emmanuel Venisse [EMAIL PROTECTED]: the best way is to use the -U

[m2]Custom archetype

2005-11-03 Thread Nitko2
I tried to create archetype with following archetype.xml: archetype idmy-simple-archetype/id sources sourcesrc/DeleteMe.java/source /sources testSources sourcesrc/DeleteMeTest.java/source /testSources /archetype After I installed plugin, I tried: mvn archetype:create

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
Do you want me to file the issue? That d in filed an issue makes me doubt :o) 2005/11/3, Emmanuel Venisse [EMAIL PROTECTED]: metadata seems to be wrong in repository, filed an issue and we'll fixed it. Emmanuel Jose Gonzalez Gomez said: I've tried to do that, even deleting the repository

Re: library dependancy wrong?

2005-11-03 Thread Brian Bonner
Srepfler, check under: http://www.ibiblio.org/maven2/javax/servlet/jstl/1.1.2/ Brian On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote: I've imported a dependency on the JSTL library dependency groupIdjstl/groupId artifactIdjstl/artifactId version1.1.2/version

Re: [m2] multi-module visibility problem

2005-11-03 Thread Anuerin Diaz
thank you. i guess i misunderstood the way maven works. i initially thought that the reactor (or whatever internal component) also keeps track of the compiled classes. ciao! On 11/3/05, Alexandre Poitras [EMAIL PROTECTED] wrote: You have to declare module1 as dependency in module2. Maven cannot

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Emmanuel Venisse
yes, please. sorry for my fault. Emmanuel Jose Gonzalez Gomez said: Do you want me to file the issue? That d in filed an issue makes me doubt :o) 2005/11/3, Emmanuel Venisse [EMAIL PROTECTED]: metadata seems to be wrong in repository, filed an issue and we'll fixed it. Emmanuel Jose

Could ibiblio site benefit from Search?

2005-11-03 Thread Brian Bonner
It seems like the ibiblio site could benefit from search including: 1. Searching pom.xml files for dependencies 2. Searching for artifacts by a specific name (i.e. jstl) to identify existing/duplicate artifacts, etc. What do others think? Brian

make - maven

2005-11-03 Thread Harnett, Brendan
Hi We are currently responsible for developing and maintaining a large code base (mainly C++ but also Java) which is currently built using Make. We are considering replacing make with maven for our builds as it provides good support for distributed builds, release management and seems to

Re: [m2] multi-module visibility problem

2005-11-03 Thread Alexandre Poitras
I understand, I did the same mistake at first. A good way to understand a maven parent pom project, is to look at it like it was a workspace in a IDE. The projects still have to declare the dependencies over their sibling projects. On 11/3/05, Anuerin Diaz [EMAIL PROTECTED] wrote: thank you. i

Re: make - maven

2005-11-03 Thread Emmanuel Venisse
Harnett, Brendan said: Hi We are currently responsible for developing and maintaining a large code base (mainly C++ but also Java) which is currently built using Make. We are considering replacing make with maven for our builds as it provides good support for distributed builds, release

Re: Could ibiblio site benefit from Search?

2005-11-03 Thread Doug Douglass
Brian, I've been using the following site for months, but I'm pretty sure it's m1 only: http://maven.ozacc.com/search DD Brian Bonner wrote: It seems like the ibiblio site could benefit from search including: 1. Searching pom.xml files for dependencies 2. Searching for artifacts by a

RE: make - maven

2005-11-03 Thread David Jackman
How does the maven-native plugin compare with the FreeHEP plugin Mark Donszelmann talks about (http://java.freehep.org/freehep-nar-plugin for the Maven1 version, Maven2 version in the works)? Can we combine efforts to make a single native plugin faster (and better), or are there really multiple

RE: Could ibiblio site benefit from Search?

2005-11-03 Thread David Jackman
You can also do a Google search using the syntax site:www.ibiblio.org maven2 jarname to find artifacts by name, but it is less than ideal. -Original Message- From: Doug Douglass [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 8:01 AM To: Maven Users List Subject: Re: Could

Documentation for writing Pluggins for M2?

2005-11-03 Thread Siegfried Heintze
Is there any documentation for writing pluggins for M2? Could someone kindly point me to it? Thanks, Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Documentation for writing Pluggins for M2?

2005-11-03 Thread Yann Le Du
http://maven.apache.org/guides/introduction/introduction-to-plugins.html --- Siegfried Heintze [EMAIL PROTECTED] a écrit : Is there any documentation for writing pluggins for M2? Could someone kindly point me to it? Thanks, Siegfried

[m2]Archetype variables

2005-11-03 Thread Nitko2
Hi! Is it possible to include variables in archetype pom.xml template? I created pom.xml which includes this part: configuration variable1${variable1}/variable1 /configuration and I tried to fill it with -D like this mvn archetype:create -DarchetypeGroupId=my-plugins

Re: Documentation for writing Pluggins for M2?

2005-11-03 Thread Jan Bartel
Siegfried, Here's a link to writing a plugin in Java: http://maven.apache.org/maven2/guides/plugin/guide-java-plugin-development.html And here's a link to the API: http://maven.apache.org/maven2/developers/mojo-api-specification.html regards, Jan Siegfried Heintze wrote: Is there any

[M2] Myfaces doesn't have any dependencies...

2005-11-03 Thread Alexandre Poitras
Myfaces library doesn't seems to have any dependencies wich is weird because it's depends about a lot of jakartas commons libraries, jsp 2.0 and servlet apis. Any thoughts on this? -- Alexandre Poitras Québec, Canada

Re: make - maven

2005-11-03 Thread Wim Deblauwe
What I did with maven 1 is write a custom goal that uses ant to call a bat file that calls make. That way, we only needed to export a make file from Visual Studio and all parameters are correct. Otherwise, you need to duplicate all parameters you have in your ide in the maven plugin. regards,

RE: Documentation for writing Pluggins for M2?

2005-11-03 Thread Siegfried Heintze
Ahhh --- OK, this is progress. I've been searching the archives for execution to learn how to create a custom goal to execute my program and I have not had any luck. What is mojo? I guess if I want to write a little for loop to enumerate the dependencies in my POM there is probably a way to do

RE: [m2]Archetype variables

2005-11-03 Thread Sean Hennessy
The element variable1 is not defined in the POM schema (xsd) http://maven.apache.org/maven-model/maven.html Maybe.. property namevariable1/name value${variable1Value}/value /property -Original Message- From: Nitko2 [mailto:[EMAIL PROTECTED] Sent: Thursday, November

Re: [M2] Myfaces doesn't have any dependencies...

2005-11-03 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The POM is most likely wrong. If you have time, it would be a great help if you could file a JIRA issue at: http://jira.codehaus.org/browse/MEV Please include a list of dependencies you believe to be correct, or as close as you can get (it'll help

stupid question : building plugins

2005-11-03 Thread Kevin Galligan
This is going to sound like a moderately stupid question. How do you build maven plugins from source? I can get the source (no problems with svn). I'd like to do a build of the latest but I can't really figure it out. I've tried: - Building everything by bootstrap. I cannot get this to

[m2] Strange Build Error

2005-11-03 Thread Allison, Bob
I am experimenting with a directory archiver for plexus, and built a new snapshot version of the component. When I did a mvn install in that directory, the install placed the jar where I expected it: [INFO] [install:install] [INFO] Installing

Where this dependency come from?

2005-11-03 Thread Joao Batistella
When I try to build my project, Maven tries to download commons-logging-1.1-dev.jar. But I have no declared dependency for this library. Where can I see this dependency? Thanks João Paulo.

RE: Updating a plugin with pluginManagement?

2005-11-03 Thread fabrice . belingard
OK, but then, the question is: the version of a plugin declared in the pluginManagement section is not part of its configuration? I mean, if I have the following in my POM: build ... pluginManagement plugins ...

Re: Where this dependency come from?

2005-11-03 Thread Ralph Pöllath
On 03.11.2005, at 17:14, Joao Batistella wrote: When I try to build my project, Maven tries to download commons- logging-1.1-dev.jar. But I have no declared dependency for this library. Where can I see this dependency? If you're running maven2, it's probably a transitive dependency. Try

Re: Getting project classpath in ant

2005-11-03 Thread Rohnny Moland
On 11/03/2005 02:32 AM, Brett Porter wrote: It's a reference, you can't echo it. try: property name=out refid=maven.dependency.classpath / echo${out}/echo But artifacts with the system scope are not included in the maven.dependency.classpath. Is this a bug, or how can I retrieve a

Migrating from Ant to Maven

2005-11-03 Thread Sakala, Adinarayana
Hi, I am new to Maven. We currently use Ant for build system in our open source project called Celtix (http://celtix.objectweb.org). We are looking to migrate the project to using Maven. Did anybody go through this process before? If so, Any pointers/help? Any known issues? Also, do anybody

RE: [m2] Problem: How to run some tests only sometimes

2005-11-03 Thread Dave Neuer
So, what is the syntax for excludes/excludes? Am I correct that this goes in a plugin..configuration/configuration section? And am I also correct that I will need to include the defaults (i.e., exclude Abstract*? I'm finding the documentation not quite clear on this. Dave -Original

RE: Where this dependency come from?

2005-11-03 Thread Joao Batistella
Sorry. Maven 1. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 3 de novembro de 2005 13:37 To: Maven Users List Subject: Re: Where this dependency come from? maven1 or maven 2? Joao Batistella said: When I try to build my project, Maven

Problem with calling own goals

2005-11-03 Thread Florian . Eska
Hello, I want to call from my Maven 2.0 pom.xml File a special ant Task. (The corresponding plugin exist only for Maven 1.0.2). I follow the documentation on http://maven.apache.org, but for me it seems that the documentation is 1.0.2 related and not 2.0. My pom.xml looks like: project

Don't fail build when tests fail during site/site-deploy steps

2005-11-03 Thread Duane Homick
Is there a way to configure the site-deploy for use with surefire-reports such that if the junit tests that are run fail, they dont fail the build and cause the site not to be distributed? Otherwise, what is the point of the surefire reports since it could only possibly ever show results with

RE: keyword SNAPSHOT in depedency version is ignored

2005-11-03 Thread Brian E. Fox
I'm not able to make this work. I tried: [1.1,) [1.1,] (1.1,) Etc. Each time it is trying to resolve that version exactly as typed. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 3:27 PM To: Maven Users List Subject: Re: keyword SNAPSHOT

RE: Problem with calling own goals

2005-11-03 Thread Yann Le Du
Hi Florian, If you want to call an Ant task, you can use maven-antrun-plugin : http://maven.apache.org/plugins/maven-antrun-plugin/ Regards, Yann --- [EMAIL PROTECTED] a écrit : Hello, I want to call from my Maven 2.0 pom.xml File a special ant Task. (The corresponding plugin exist only

Re: [maven2] Failed to build model from plexus-utils-1.0.4.pom

2005-11-03 Thread Jeremy Hughes
Stepping through this in debug the main difference I can see is: Windows: isr.sd.btc is an instance of sun.io.ByteToCharCp1252 Linux: isr.sd.btc is an instance of sun.io.ByteToCharUTF8 but I feel I'm debugging the JRE now :-( On 11/3/05, Jeremy Hughes [EMAIL PROTECTED] wrote: This small

RE: Problem with calling own goals

2005-11-03 Thread David Jackman
maven.xml is not supported in Maven 2. You need a Maven 2 plugin that will do what you want. I believe there is a Maven 2 antrun plugin that will execute an Ant script. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 9:37 AM To:

Re: [M2] Myfaces doesn't have any dependencies...

2005-11-03 Thread Alexandre Poitras
Done, http://jira.codehaus.org/browse/MEV-171 Hope this help! On 11/3/05, John Casey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The POM is most likely wrong. If you have time, it would be a great help if you could file a JIRA issue at:

Debugging M2 plugins using Eclipse

2005-11-03 Thread Frank Mena
I have been trying and struggling to convert from ant to maven on a very large and complicated multi-module, multi-project. I feel like a dog with a bone that won't let go. Maven 2 is too good a tool not to use and am determined to make it work. Great job, guys. I am writing some plugins and

Re: Documentation for writing Pluggins for M2?

2005-11-03 Thread Jan Bartel
Siegfried, I am far from being a Maven expert, but AFAIK, Mojo is a play on the words Maven Pojo. You write a Java class that implements the Mojo api. You basically implement the execute() method to do the work of your plugin. Put in the pom.xml of the project

Wrong processing order

2005-11-03 Thread Joao Batistella
Hello. I'm trying to build my EAR with Maven but it builds my EAR before my EJBs. The processing order is wrong. Here is how my directory structure looks like: - root - maven.xml - project.xml (default configuration) - project.properties - server - maven.xml (it has a reactor with

Re: Debugging M2 plugins using Eclipse

2005-11-03 Thread Kenney Westerhof
On Thu, 3 Nov 2005, Frank Mena wrote: Before you run maven on the commandline, set MAVEN_OPTS to: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 Then set a breakpoint in eclipse, and start the debugger for an external app, configuring it

RE: Continuum User Authentication via LDAP

2005-11-03 Thread Frank Zhao
I added comments on Jira about the LDAP feature design for the Continuum. Any comments are welcome: http://jira.codehaus.org/browse/CONTINUUM-358 Thanks, Frank -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 9:35 PM To:

Re: [M2] eclipse plugin: tools.jar incorrectly added

2005-11-03 Thread Anuerin Diaz
hi, doesnt M2_REPO supposed to resolve to the user's local repository? if that is the case and assuming the local repository is c:\repository then the final path will be c:\repository/C:/dev/Java/jdk1.5.0_04/jre/../lib/tools.jar which i think is already invalid. i am a new maven user so

Re: Migrating from Ant to Maven

2005-11-03 Thread Chris Berry
Hi, The move from Ant to Maven is relatively painless, particularly with Maven2. I would definitely recommend going with Maven2. Maven1 uses Jelly which is pretty nasty to deal with -- you can call out to Ant with Jelly easily, but Jelly is quite unpredictable and you will spend a lot of time

Packaging binary-only libraries

2005-11-03 Thread Chris Tucker
Hi, I'm in the process of setting up some build processes for a couple of new projects, one of which has dependencies on several proprietary libraries that are binary-only (in this sense, the same as the Sun libraries). Ideally, I'd like to be able to package these up using Maven2 so I can

Re: make - maven

2005-11-03 Thread dan tran
I am all for single package. -D On 11/3/05, Wim Deblauwe [EMAIL PROTECTED] wrote: What I did with maven 1 is write a custom goal that uses ant to call a bat file that calls make. That way, we only needed to export a make file from Visual Studio and all parameters are correct. Otherwise, you

RE: Maven 1.1 beta2 bug??

2005-11-03 Thread Patrick Wang
-Original Message- From: Patrick Wang [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 11:44 AM To: '[EMAIL PROTECTED]' Subject: Maven 1.1 beta2 bug?? Java 1.5.0_02 runtime I got this error when trying to invoke torque, anyone has similar experience? I am using LINUX

Re: Don't fail build when tests fail during site/site-deploy steps

2005-11-03 Thread Arnd Brusdeilins
|maven -Dmaven.test.failure.ignore=true site should do this | Duane Homick wrote: Is there a way to configure the site-deploy for use with surefire-reports such that if the junit tests that are run fail, they dont fail the build and cause the site not to be distributed? Otherwise, what is the

Re: SSH proxy for deployments

2005-11-03 Thread Brett Porter
Thanks! Are you interested in creating a patch? - Brett On 11/3/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: I've taken a look at wagon sources, and the SSH wagon doesn't provide support for proxied connections, although it internally uses JSch, and inherits from AbstractWagon, that has

Maven genapp struts context.xml

2005-11-03 Thread Akins, Greg
Using maven 1.0.2 deploying to Tomcat 5.5.x and creating struts app with maven genapp struts I can't seem to figure out where to put the context.xml so it get's placed in the correct spot during deploy. I'd normally create webapp/META-INF and put context.xml there... But it seems like xdoclet

Re: [1.0.2] Flatten resource location on copy

2005-11-03 Thread Dion Gillard
Is there a reason you can't put them into WEB-INF/hbm to start off with? On 11/4/05, Jamie Bisotti [EMAIL PROTECTED] wrote: My project is using Hibernate, so we have *.hbm.xml files alongside the classes they are associated with in the package structure. For example: src java com foo

Re: Maven 1.1 beta2 bug??

2005-11-03 Thread Brett Porter
Torque needs to be updated to include Xerces in its dependencies list, since it depends on it and Maven 1.1 no longer bundles it. On 11/4/05, Patrick Wang [EMAIL PROTECTED] wrote: -Original Message- From: Patrick Wang [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 11:44

RE: Wrong processing order

2005-11-03 Thread Arnaud HERITIER
Did you define in your EAR project a dependency to your EJBs ? The reactor will use it to know it should build the EJBs before the EAR. Arnaud -Message d'origine- De : Joao Batistella [mailto:[EMAIL PROTECTED] Envoyé : jeudi 3 novembre 2005 18:13 À : users@maven.apache.org Objet

RE: Maven 1.1 beta2 bug??

2005-11-03 Thread Arnaud HERITIER
Xerces is no more bundled in maven 1.1 (even if I'm always thinking if it's not finally a so good idea to removed it). http://maven.apache.org/maven-1.x/reference/backwards-compatibility.html Arnaud -Message d'origine- De : Patrick Wang [mailto:[EMAIL PROTECTED] Envoyé : jeudi 3

RE: Maven genapp struts context.xml

2005-11-03 Thread Arnaud HERITIER
Are you sure that xdoclet can generate the config.xml for tomcat ? Personnaly i putted it in src/webapp/META-INF Arnaud -Message d'origine- De : Akins, Greg [mailto:[EMAIL PROTECTED] Envoyé : jeudi 3 novembre 2005 22:02 À : 'users@maven.apache.org' Objet : Maven genapp struts

Re: Maven(2.0): Web apps and transitive dependencies

2005-11-03 Thread Robert Taylor
Stephen, what does this buy me over creating a light version of either (suggested by Alexandre earlier in this thread). For now I'm using exclusions which seems the most logical choice of the options presented so far. But I'm new, and certainly don't know the best way to proceed, so any

Re: Producing directory artifacts

2005-11-03 Thread Brett Porter
No, this wouldn't work at present. Can you describe the use case rather than your proposed solution? Perhaps there is an alternative. Many people use a tarball that is unpacked after downloading. Some of the components documentation is under the lifecycle guide in the web site. - Brett On

Re: Debugging M2 plugins using Eclipse

2005-11-03 Thread Frank Mena
Fantastic! I was able to walk through MavenProject to find out it's functionality. I found that the resource directories are available for all dependent modules, which is what I was looking for. Thanks again, Frank On 11/3/05, Kenney Westerhof [EMAIL PROTECTED] wrote: On Thu, 3 Nov 2005,

  1   2   >