Running both unit and integration tests in the same module

2006-11-27 Thread Julien HENRY
Hi, I would like to run both unit tests and integration tests in the same project. I don't want to create a separate module for integration tests (unlike Better Builds With Maven book). With only one project (and one pom), I want the following lifecycle: Phase |Action

Re: Running both unit and integration tests in the same module

2006-11-27 Thread Mark Hobson
On 27/11/06, Julien HENRY [EMAIL PROTECTED] wrote: I would like to run both unit tests and integration tests in the same project. I don't want to create a separate module for integration tests (unlike Better Builds With Maven book). You can achieve this, but it's not too pretty. See:

Re: Proxying released plugins

2006-11-27 Thread Nicolas DE LOOF
See http://jira.codehaus.org/browse/MRM-212 and attached patch. I'm using a patched archiva with no more bad checksum issue. Nico. Brett Porter a écrit : I think this is a known bug (both the broken metadata, and the inability to work with broken metadata). We need to add a strict flag on

Failed maven-scm-plugin: Check in

2006-11-27 Thread Jeff Mutonho
I'm trying to check in an ear file into CVS .When I run the command 'mvn scm:checkin' , the check in is failing with the following message : [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.0-SNAPSHOT :checkin' -- [DEBUG] (f) basedir = D:\MAVEN-WORK\eportal-ear [DEBUG]

Re: Failed maven-scm-plugin: Check in

2006-11-27 Thread Emmanuel Venisse
You can't commit a file if you aren't in a working copy directory. Emmanuel Jeff Mutonho a écrit : I'm trying to check in an ear file into CVS .When I run the command 'mvn scm:checkin' , the check in is failing with the following message : [DEBUG] Configuring mojo

Re : Running both unit and integration tests in the same module

2006-11-27 Thread Julien HENRY
OK, so I'll have to wait for Maven 2.1 ;) Thanks - Message d'origine De : Mark Hobson [EMAIL PROTECTED] À : Maven Users List users@maven.apache.org Envoyé le : Lundi, 27 Novembre 2006, 10h33mn 07s Objet : Re: Running both unit and integration tests in the same module On 27/11/06,

Re: Failed maven-scm-plugin: Check in

2006-11-27 Thread Jeff Mutonho
On 11/27/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: You can't commit a file if you aren't in a working copy directory. Emmanuel Thanks Emmanuel.The log says [INFO] Working directory: D:\MAVEN-WORK\eportal-ear .Do you mean I should run this from the directory where the actual ear file is

Re: Failed maven-scm-plugin: Check in

2006-11-27 Thread Emmanuel Venisse
A working copy directory is the directory where you done the checkout. For CVS, it must contains a CVS directory. Emmanuel Jeff Mutonho a écrit : On 11/27/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: You can't commit a file if you aren't in a working copy directory. Emmanuel Thanks

Re: Failed maven-scm-plugin: Check in

2006-11-27 Thread Jeff Mutonho
On 11/27/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: A working copy directory is the directory where you done the checkout. For CVS, it must contains a CVS directory. Emmanuel Thanks.Seems sorted now. - To unsubscribe,

How to do native2ascii?

2006-11-27 Thread jiangshachina
Hi guys, I must write some resource files related to localization. On develop time, I have to write natural local language; on runtime, application must use ASCII codes. So I have to convert the native resource files to ASCII files before deploying. Now, I use maven-antrun-plugin to execute Ant

maven-eclipse Plugin does not create .classfile

2006-11-27 Thread Viktor Rees
I'm using maven-eclipse-plugin-1.10. When calling 'maven eclipse' an uncomplete .project file in created. The .classpath file is missing at all. In the .project file the entries for javanature and javabuilder are missing. The generated .project file is here: ?xml version=1.0 encoding=UTF-8?

Repositories with just older software ?

2006-11-27 Thread Javier Leyba
Hi I'm trying to use maven with my projects but I found every jar file I need is totally older in maven repositories. For example, activemq (and everything related to this project), springframework, iBatis Is ibiblio.org and older repository, am I making a mistake or just nobody actualize

Re: Test Classpath Order Problems

2006-11-27 Thread rking999
Hi, Thank you for the reply. I tried changing the scope to provided for the resin jar, but it still seems to be used in the test classpath. What would be nice is if I could actually remove it completelt from the test classpath - is there a way to do this with Maven? thanks -- View this

Re: Repositories with just older software ?

2006-11-27 Thread Nick Stolwijk
Maybe you are looking at the wrong groups. There is a newer convention to use your domain name as group. So the newest version of the Springframework is in org.springframework (http://www.ibiblio.org/maven2/org/springframework/spring/2.0.1/) Maybe the same for your other dependencies. Take a

Archiva Database Creation

2006-11-27 Thread Peter . Pilgrim
Hi Archiva appears to creating a database under my home directory on UNIX e.g /home/pilgripe/database /home/pilgripe/derby.log Instead of under catalina.home, where is this setting controlled contrary to the information at http://maven.apache.org/archiva/guides/getting-started/index.html ?

Re: Test Classpath Order Problems

2006-11-27 Thread Mark Hobson
On 27/11/06, rking999 [EMAIL PROTECTED] wrote: Thank you for the reply. I tried changing the scope to provided for the resin jar, but it still seems to be used in the test classpath. What would be nice is if I could actually remove it completelt from the test classpath - is there a way to do

Maven and Sourceforge

2006-11-27 Thread Wim Deblauwe
Hi, I started a wiki page to document the best-practises on using Sourceforge.net with Maven: http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge It is based on my experience with Maven2 and sourceforge for the development of the vigilog project (http://vigilog.sourceforge.net)

Re: Repositories with just older software ?

2006-11-27 Thread Larry Meadors
I know that for the iBATIS project, we are just starting to use maven, so are just getting ready to start publishing it. Larry On 11/27/06, Javier Leyba [EMAIL PROTECTED] wrote: Hi I'm trying to use maven with my projects but I found every jar file I need is totally older in maven

Re: Archiva Database Creation

2006-11-27 Thread Arnaud HERITIER
You can use the property derby.system.home to put the db files somewhere else. Arnaud Peter.Pilgrim wrote: Hi Archiva appears to creating a database under my home directory on UNIX e.g /home/pilgripe/database /home/pilgripe/derby.log Instead of under catalina.home, where is

Re: Repositories with just older software ?

2006-11-27 Thread Brandon Goodin
I have the jars ready to upload. It is just a matter of getting the jars into place. I had originally submitted all the necessary artifacts for upload to the codehaus JIRA. They kicked it back to me saying i needed to use the apache way of getting it to them. Of course it adds an additional set

Re: Proxy vs. Repository URLs

2006-11-27 Thread Joakim Erdfelt
URL Name was introduced to make the repository snippets make sense. consider the following repository idsnapshots/id urlhttp://archiva.corporate.com/repository/snapshots/url /repository vs repository idcorporate.snapshots/id urlhttp://archiva.corporate.com/repository/snapshots/url

Committer name in build report

2006-11-27 Thread Ronald Pieterse
In some issues on Nabble I read that it is default to get the committer's name in the build report. I'm using 1.0.3 but I do not see the name of the committer in the build report. Is there something I can set or reset to get this working? THNX.

ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-27 Thread Manu
Hi, I'm experiencing trouble with the generation of ejb-jar.xml by ejbdoclet (xdoclet). It does not seem to include at the top of the file a DOCTYPE directive. I don't know if this is strictly required by the standard, but my Weblogic server tells me it is not valid for that reason. Any idea of

Re: Maven and Sourceforge

2006-11-27 Thread Geoffrey De Smet
Make sure to overwrite filePermissions and directoryPermissions if you want to allow other team mates to ever manage the site too. servers server idshell.sourceforge.net/id usernamexxx/username passwordxxx/password

Admin user doesn't have admin rights.

2006-11-27 Thread Max Bowsher
I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'. Archiva as expected allows me to create an admin user, but having logged in with this admin user, it is as if the 'admin' user does not actually have admin rights! I've seen this on two different computers now - has anyone else

maven filter and UTF-8

2006-11-27 Thread jan_bar
Hi, It seems to me that maven 2.0.4 filter corrupts UTF-8 files. I have a XML file with UTF-8 encoding that doesn't contain any replacement strings, but it is filtered. The resulting file is not the same as source file, UTF-8 characters are wrong. Why maven modifies the file? I suspect, that the

Re: Admin user doesn't have admin rights.

2006-11-27 Thread leahpar
hello, i've just sync this morning and i've got funny behavior it's possible to create user but it's not possible to grant role to user / edit user / delete it complains about an empty user :( -- View this message in context:

Re: Committer name in build report

2006-11-27 Thread Emmanuel Venisse
You need to have an english output from your scm and developers defined in your pom. Emmanuel Ronald Pieterse a écrit : In some issues on Nabble I read that it is default to get the committer's name in the build report. I'm using 1.0.3 but I do not see the name of the committer in the build

Re: Admin user doesn't have admin rights.

2006-11-27 Thread Wendy Smoak
On 11/27/06, Max Bowsher [EMAIL PROTECTED] wrote: I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'. Archiva as expected allows me to create an admin user, but having logged in with this admin user, it is as if the 'admin' user does not actually have admin rights! I've seen this

Re: Archiva Database Creation

2006-11-27 Thread Wendy Smoak
On 11/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Archiva appears to creating a database under my home directory on UNIX e.g /home/pilgripe/database /home/pilgripe/derby.log Instead of under catalina.home, where is this setting controlled contrary to the information at

Re: Admin user doesn't have admin rights.

2006-11-27 Thread Max Bowsher
Wendy Smoak wrote: On 11/27/06, Max Bowsher [EMAIL PROTECTED] wrote: I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'. Archiva as expected allows me to create an admin user, but having logged in with this admin user, it is as if the 'admin' user does not actually have admin

Re: ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-27 Thread Marco Mistroni
hi, wild guess... have you specified the ejb version you are using? here's what i m using ejbdoclet destDir=${project.build.directory}/generated-sources/xdoclet excludedTags=@author,@version ejbSpec=2.1 deploymentdescriptor

[ANN] QALab 1.0 plugin available for Maven 2, Maven 1 and Ant

2006-11-27 Thread Benoit Xhenseval
ObjectLab is proud to announce release 1.0 of QALab for Java 1.4+ Furthermore, we are very pleased to announce that QALab was selected by Borland and is also supported/integrated in JBuilder 2007 as part of the new TeamInsight team-RAD feature. We are really excited at the collaboration

Re: ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-27 Thread Manu
Hi, Thanks for the tip, but it doesn't seem to work in my case. I always had it, and the generated ejb-jar.xml does not include DOCTYPE. Do YOU have it generated in your case ? By the way, I use the following piece of Pom : ejbdoclet ejbSpec=2.1 ejbClassNameSuffix=Impl force=true

Re: Committer name in build report

2006-11-27 Thread David Roussel
This wasn't working for me either, but I assumed it was just a ClearCase SCM maven plugin issue. I did have english output and all the developers defined in the pom. Would you expect the clearcase plugin to work this? Thanks David On Mon, 27 Nov 2006 16:06:10 +0100, Emmanuel Venisse [EMAIL

Re: Committer name in build report

2006-11-27 Thread Emmanuel Venisse
Normally, the scm output parser in clearcase maven-scm provider works fine, but maybe the output in different between each clearcase version. Emmanuel David Roussel a écrit : This wasn't working for me either, but I assumed it was just a ClearCase SCM maven plugin issue. I did have english

Re: Admin user doesn't have admin rights.

2006-11-27 Thread Wendy Smoak
On 11/27/06, Max Bowsher [EMAIL PROTECTED] wrote: The problem is that the admin user doesn't seem to have access to any of the administration webpages! So, I can't create a repository, and I can't edit user rights. I can't reproduce it with a clean build (r479651). Startup, creation of the

Re: Maven and Sourceforge

2006-11-27 Thread Wim Deblauwe
Where should I put this piece of xml? Is this part of the pom or the settings.xml? regards, Wim 2006/11/27, Geoffrey De Smet [EMAIL PROTECTED]: Make sure to overwrite filePermissions and directoryPermissions if you want to allow other team mates to ever manage the site too. servers

Re: Maven and Sourceforge

2006-11-27 Thread Wendy Smoak
On 11/27/06, Wim Deblauwe [EMAIL PROTECTED] wrote: Where should I put this piece of xml? Is this part of the pom or the settings.xml? settings.xml, because it's developer specific (it has your userid and password.) Then the id needs to match the one used in pom.xml so Maven will know to use

Undocumented property expansion?

2006-11-27 Thread Stefan Hübner
Hi all, the other day I found this statement inside commons-logging-1.1.pom (http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom): urlhttp://jakarta.apache.org/commons/${pom.artifactId.substring(8)}//url I tried the same substring-thing in my poms, but

Re: ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-27 Thread Marco Mistroni
Hello, apologies. i talked without checking what was generated (all the deployment - on jboss - went fine so i was assuming that everything was fine too) no i don' thave doctype, howerver the ejb-jar refers to the schema location for the ejb jar ?xml version=1.0 encoding=UTF-8? ejb-jar

Re: pass empty password to svn repository

2006-11-27 Thread Emmanuel Venisse
I'm not sure empty password is supported Emmanuel Ali Hisham Malik a écrit : Hi, The svn repository I'm using requires an empty password to be passed even for anonymous access. I have experiment with several ideas to make it work with no success. Can anyone tell me what I need to do exactly?

Maven sIte generation from cruisecontrol

2006-11-27 Thread emerson cargnin
Hi there I'm generating the maven site from cruisecontrol. When i try to generate manually i get the error: ... ... ... xdoc:generate-from-pom: [echo] Generating xdocs from POM ... BUILD FAILED File.. /subversion/users/svnclient/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly

Re: build war for jboss, exclude log4j

2006-11-27 Thread Christofer Jennings
Thanks Chris, I also want to be able to run the web-app with mvn jetty:run so I had to set it up like this... === in my top-level pom === dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.13/version scopeprovided/scope /dependency === in my web-app's pom

Re: Performance collapse when logged as admin

2006-11-27 Thread Jesse McConnell
we have identified a number of key areas that need some work in the performance area...never fear, we'll get them ironed out pretty soon I hope. I personally know of a couple of improvements that we can make in the plexus-security side of things, specifically in the speed of the authz

run maven from ant

2006-11-27 Thread Christofer Jennings
What is the simplest / preferred way to run maven from ant? My maven project is being integrated with a larger project that uses ant. I want the process to be painless to ant lovers, if possible. Thanks in advance ,chris - To

Multimodule Build

2006-11-27 Thread Brandon Goodin
Hey All, This may be a dumb question. But, I have a aggregate pom with three modules. One of the modules makes use of the webstart plugin. The webstart plugin fails when using 'mvn install'. It is necessary for me to call 'mvn webstart:jnlp' when building this module without calling 'install'.

mavenrun plugin?

2006-11-27 Thread Aleksei Valikov
Hi. Is there something like the mavenrun plugin? I'm building an assembly of one of the modules. After that I'd like to check if this assembly is buildable. That is, I'd like to extract the resulting zip into some folder and run maven with it (during the integration-test phases). I know how

executing junit (integration) tests against a different project

2006-11-27 Thread Nathan Coast
Hi, I have a slightly unusual situation where I have shared overlay webapps that are assembled into standalone webapps and into larger aggregate webapps. The httpunit (junit) integration tests are contained within the overlay (component) project. However, I'd like to execute the same

multiple artefacts for a project?

2006-11-27 Thread Nathan Coast
Hi, Is having multiple artefacts for a single project not allowed within Maven 2? I have a number of projects which produce 2 related artefacts: 1) jar file containing hibernate pojos, hbm mappings etc. 2) sql script to create tables required by 1. I'd rather not have 2 projects as all of

Re: multiple artefacts for a project?

2006-11-27 Thread Tom Huybrechts
See attach-artifact in the build-helper-maven plugin: http://mojo.codehaus.org/build-helper-maven-plugin/howto.html tom On 11/27/06, Nathan Coast [EMAIL PROTECTED] wrote: Hi, Is having multiple artefacts for a single project not allowed within Maven 2? I have a number of projects which

Re: multiple artefacts for a project?

2006-11-27 Thread Nathan Coast
rtfm to self :) http://maven.apache.org/plugins/maven-assembly-plugin/ Nathan Coast wrote: Hi, Is having multiple artefacts for a single project not allowed within Maven 2? I have a number of projects which produce 2 related artefacts: 1) jar file containing hibernate pojos, hbm mappings

Re: Continuum tries to checkout artifactId instead of module

2006-11-27 Thread idallas
Is this issue considered a bug, or a known limitation? (I didn't find anything in Jira) It seems like if Maven is able to handle projects with child atrifactIds that != directory names, Continuum should support that too. It's definitely a deal-breaker for me personally, and I suspect it would

RE: executing junit (integration) tests against a different project

2006-11-27 Thread Nir Feldman
You may change the testSourceDirectory in the surefire plugin to point to the source directory of the other project in case you can achive a relative path to it (e.g. ${basedir}/../../OTHER_PROJECT_NAME/src/test/java ) Nir -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]

Re: executing junit (integration) tests against a different project

2006-11-27 Thread Nathan Coast
Hi Nir, yes I was thinking that, but then there's a problem if the aggregator project has tests of its own, or if the aggregator project aggregates more than one overlay webapp. I'm thinking copying all test sources into a single folder may be the only solution. cheers Nathan Nir Feldman

RE: executing junit (integration) tests against a different project

2006-11-27 Thread Nir Feldman
Seems to me as well, You may plugin a simple ant task to do the copy for you in the generate-sources phase. Hope I helped.. -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 9:46 PM To: Maven Users List Subject: Re: executing junit

Re: mavenrun plugin?

2006-11-27 Thread John Casey
You might want to checkout the maven-invoker-plugin. It's SVN at: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-invoker-plugin and IIRC has a snapshot deployed to the snapshot repository: pluginRepositories pluginRepository idapache.snapshots/id

Re: Multimodule Build

2006-11-27 Thread Brandon Goodin
Sorry this was a misinterpreted need. For some reason after my modules complete install they start again. I research this and see if there is any information regarding it. Brandon On 11/27/06, Brandon Goodin [EMAIL PROTECTED] wrote: Hey All, This may be a dumb question. But, I have a

Re: ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-27 Thread Manu
Ok, thanks. I've had a look on the archives of the xdoclet users, which did not help much very much, but I'll post on that list. And keep this list informed if I get a solution. 2006/11/27, Marco Mistroni [EMAIL PROTECTED]: Hello, apologies. i talked without checking what was generated

Install Running Twice

2006-11-27 Thread Brandon Goodin
I have a 3 module project with an aggregate pom. When i run 'mvn install' from the aggregate pom it tries to run install on all of the modules twice. This is causing one of the installs to fail. Has anyone had an experience like this? Brandon

Re: Install Running Twice

2006-11-27 Thread Wendy Smoak
On 11/27/06, Brandon Goodin [EMAIL PROTECTED] wrote: I have a 3 module project with an aggregate pom. When i run 'mvn install' from the aggregate pom it tries to run install on all of the modules twice. This is causing one of the installs to fail. Has anyone had an experience like this?

Re: Continuum tries to checkout artifactId instead of module

2006-11-27 Thread Emmanuel Venisse
It wasn't a bug but a known limitation in maven inheritance in child pom. I implemented a workaround in continuum and will be available in 1.1 Emmanuel idallas a écrit : Is this issue considered a bug, or a known limitation? (I didn't find anything in Jira) It seems like if Maven is able to

Re: Proxy vs. Repository URLs

2006-11-27 Thread Barrie Treloar
One future feature for archiva is to manage the pom internal repositories to point to itself. In other words, if archiva is told to proxy central, and a pom gets pulled down pointing to a new repository of say ... repository idsf.net/id urlhttp://projfoo.sourceforge.net/maven2//url

Re: Install Running Twice

2006-11-27 Thread Brandon Goodin
I think it was a mevenide issue in netbeans 5.5. I can consistently clean and install from the command line. In Netbeans 5.5 it works once and then any clean and install following that will try to run things twice. The second build failed because i have the webstart plugin that signs the jars.

Inheritance

2006-11-27 Thread Robert Reiner
Hi! I have written an ant mojo I want to bind to a phase. This mojo should be configured (I currently only want to specify the version) in a parent POM and inherited to a POM used for a jar project. So I define in the *.mojos.xml ... pluginMetadata mojos mojo callnative2ascii/call

Re: run maven from ant

2006-11-27 Thread Christofer Jennings
So far, using the exec task seems to work. target name=install exec dir=. executable=C:/java/maven-2.0.4/bin/mvn.bat arg line=install / /exec /target This is in a build.xml next to my pom. ,chris On 11/27/06, Christofer Jennings [EMAIL PROTECTED] wrote: What is the simplest /

surefire - testng report - format cross reference links

2006-11-27 Thread Andy Olliver
Hi I have maven 2.0.4, using Surefire 2.0 to run TestNG unit tests. The report generated by the maven-surefire-report-plugin is not ideal - I wonder if there is anything I can do. Under the 'Test Cases' heading, I have a list of method names that are not prefixed with the package / class names.

how to add local jars to maven compile classpath

2006-11-27 Thread Yan Zheng
Hi, My team is developing a maven plugin that generates Java source code. User can then compile these Java sources using standard maven compiler plugin. However, the compilation needs some jars that's installed locally on user's machine (not present in maven repository). The compilation fails

how to prevent maven-compiler-plugin from running during compile life cycle

2006-11-27 Thread Yan Zheng
Hi, In my particular project settings, it's sometimes desirable to prevent the maven's default compiler (maven-compiler-plugin) from running during the compile phase. Instead, we want to do the compilation using an Ant build file. Has anyone tried this -- preventing the maven-compiler-plugin

RE: How to do native2ascii?

2006-11-27 Thread Mark Struberg
Hi Jiang! This task is a bit tricky, since the antrun plugin does come with almost no dependencies in the default pom. This is basically a good idea, since you don't have jars lying around which you do not use. Specially the native2ascii is a bit dirty, since this is a special part provided by

Re: how to prevent maven-compiler-plugin from running during compile life cycle

2006-11-27 Thread Wendy Smoak
On 11/27/06, Yan Zheng [EMAIL PROTECTED] wrote: In my particular project settings, it's sometimes desirable to prevent the maven's default compiler (maven-compiler-plugin) from running during the compile phase. Instead, we want to do the compilation using an Ant build file. You can use a

Re: Install Running Twice

2006-11-27 Thread Mark Struberg
If 'aggregated POM' means POM inheritence, this may also be a situation like this one: http://jira.codehaus.org/browse/MNG-2297 try using $mvn help:effective-pom If you get two nearly identical plugin sections then you have to wait for maven-2.0.5 or merge the pach back to 2.0.4 . lg, strub

RE: How to do native2ascii?

2006-11-27 Thread Mark Struberg
Btw, you may remove the antlr dependencies since this has nothing to do with ant. antlr: ANother Tool for Language Recognition read more at: http://www.antlr.org/ Some ant dependencies which (in other common scenarios) would make sense are: ant/ant-nodeps ant/ant-stylebook

Re: how to add local jars to maven compile classpath

2006-11-27 Thread Wayne Fay
Use scope system in your dependency to use them via pom... I don't know how to set them programmatically in your plugin code. Wayne On 11/27/06, Yan Zheng [EMAIL PROTECTED] wrote: Hi, My team is developing a maven plugin that generates Java source code. User can then compile these Java

RE: How to do native2ascii?

2006-11-27 Thread jiangshachina
Hi struberg, Thanks for your help. I had a try with your instructions, but didn't get good result. The following is my snippet of scripts dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5.0_09/version scopesystem/scope systemPath

Re: How to do native2ascii?

2006-11-27 Thread Wayne Fay
Did you put the dependency node inside plugin, as suggested, or just directly to the project? Wayne On 11/27/06, jiangshachina [EMAIL PROTECTED] wrote: Hi struberg, Thanks for your help. I had a try with your instructions, but didn't get good result. The following is my snippet of scripts

RE: How to do native2ascii?

2006-11-27 Thread Mark Struberg
Oki, i looked at all jars. You have to add the ant-nodeps to your dependencies also. This contains the optional ant taskdef for native2ascii. dependency groupIdant/groupId artifactIdant-nodeps/artifactId version1.6.5/version scoperuntime/scope /dependency lg, strub --- jiangshachina

Re: How to do native2ascii?

2006-11-27 Thread jiangshachina
Hi, It's in buildpluginsplugindependency/dependencyplugin/plugins/build. a cup of Java, cheers! Sha Jiang Wayne Fay wrote: Did you put the dependency node inside plugin, as suggested, or just directly to the project? Wayne On 11/27/06, jiangshachina [EMAIL PROTECTED] wrote: Hi

Re: run maven from ant

2006-11-27 Thread John Sanda
I have been looking to call a Maven build from Ant as well. Has anyone tried using the Embedder, http://maven.apache.org/guides/mini/guide-embedding-m2.html? Looks like it may provide a nice API that could be used to write Ant tasks for different goals. On 11/27/06, Christofer Jennings [EMAIL

RE: How to do native2ascii?

2006-11-27 Thread jiangshachina
OK, that's right! Thanks very much! a cup of Java, cheers! Sha Jiang struberg wrote: Oki, i looked at all jars. You have to add the ant-nodeps to your dependencies also. This contains the optional ant taskdef for native2ascii. dependency groupIdant/groupId

Maven and Eclipse

2006-11-27 Thread Jarret R
All, I hope this question hasn't been asked a million times already, but I have been playing around with this issue for quite a while now and I think it is time to ask for some professional help. I am working on setting up an enterprise Java application. I am trying to get a basic project

Re: Maven and Eclipse

2006-11-27 Thread Max Cooper
Jarret, Try this: 1. Run 'mvn eclipse:eclipse' from your Common directory. 2. Starting with an empty workspace in Eclipse, setup the M2_REPO classpath variable. 3. Use the File - Import - Existing projects into workspace feature. Choose the root directory of your project (NOT Common, but

Re: Maven and Eclipse

2006-11-27 Thread Barrie Treloar
On 11/28/06, Jarret R [EMAIL PROTECTED] wrote: All, I hope this question hasn't been asked a million times already, but I have been playing around with this issue for quite a while now and I think it is time to ask for some professional help. I am working on setting up an enterprise Java

RE: How to do native2ascii?

2006-11-27 Thread jiangshachina
Hello, Now I have another troubles. executions execution idcompile/id phasecompile/phase configuration tasks native2ascii encoding=UTF8 src=src/java

Re: Multimodule Build

2006-11-27 Thread dawn.angelito
Hi Brandon, As far as I know, there's no way that the default goals bound in the Maven lifecycle phases will not be executed. So even if you set mvn webstart:jnlp as the default goal for a module, it will still execute install. Dawn Brandon Goodin wrote: Hey All, This may be a dumb

RE: surefire - testng report - format cross reference links

2006-11-27 Thread Andreas Guther
You might get more information if you browse the TestNG user mailing list. There are several threads discussing Maven Surefire with TestNG. It depends also on the TestNG version that you use. I still use the 4.7 version which is compliant with the current Maven Surefire plug-in (I think it is

RE: calling an archetype goal from embedder

2006-11-27 Thread hermod.opstvedt
Hi I am running on the latest version of Maven (2.1-SNAPSHOT). Download it from SVN, and build it. Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 7:53 AM To: Opstvedt, Hermod Subject: RE: calling an archetype goal from

Continuum and multimodule setup

2006-11-27 Thread hermod.opstvedt
Hi I have a Maven multimodule project that has a flat Eclipse structure. It seems that Continuum has problems with this (not finding the parent). Does Continuum support this type of project? Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with

Re: Maven and Sourceforge

2006-11-27 Thread Wim Deblauwe
Ok, thanks for the input. Can you elaborate some on what 775 means, I can put that on the wiki then. regards, Wim 2006/11/27, Wendy Smoak [EMAIL PROTECTED]: On 11/27/06, Wim Deblauwe [EMAIL PROTECTED] wrote: Where should I put this piece of xml? Is this part of the pom or the

Re: Maven and Sourceforge

2006-11-27 Thread Tom Huybrechts
these are unix file permissions. The 3 digits are for the user, the group and all users respectively, and you have 4 for reading, 2 for writing and 1 for executing. So 775 means read,write and execute for user and group, and read and execute for others. Not sure why you'd want the execute bit

Re: Maven and Sourceforge

2006-11-27 Thread Emmanuel Hugonnet
Wim Deblauwe a écrit : Ok, thanks for the input. Can you elaborate some on what 775 means, I can put that on the wiki then. regards, Wim 2006/11/27, Wendy Smoak [EMAIL PROTECTED]: On 11/27/06, Wim Deblauwe [EMAIL PROTECTED] wrote: Where should I put this piece of xml? Is this part of the