Re: Why maven can not handle Chinese charactor in the site.xml for maven site plugin?

2006-01-16 Thread Gisbert Amm
Assuming you are using Maven 1, you probably have to set on ore more of those properties: maven.docs.outputencoding maven.xdoc.locale.default maven.compile.encoding This are my settings for German: maven.docs.outputencoding=UTF-8 maven.xdoc.locale.default=de_DE.utf8

RE:RE: Patch regarding build order

2006-01-16 Thread Andreas Zschorn
I have to add I misunderstood the patch, MNG-1499 solved only the order from parent pom.xml to the module pom.xml but not if you have several plugins defined in one phase in module pom.xml. The solution is the same like in MNG-1499. I patched the code myself. At least it works for me. Patch can be

Re: Why maven can not handle Chinese charactor in the site.xml for maven site plugin?

2006-01-16 Thread Gisbert Amm
addendum: You probably have to set the environment to UTF-8 aswell. See http://jira.codehaus.org/browse/MPXDOC-184 Regards, Gisbert Amm Gisbert Amm wrote: Assuming you are using Maven 1, you probably have to set on ore more of those properties: maven.docs.outputencoding

[m2]m2eclipse plugin

2006-01-16 Thread Alexandre Russel
Hi, I tried to subscribe to the eclipse plugin mailing list but got an error. What is the address to subscribe? (I tried [EMAIL PROTECTED]) I installed the plugin and can do what is shown on the flash demo. Is there any way to launch m2 command (ie: mvn install ) from within eclipse with

Re: [ANN] Maven PMD plugin 2.0-beta-1

2006-01-16 Thread Arnaud Bailly
Mike Perham wrote: Arnaud, here's your problem. Caused by: java.lang.IllegalArgumentException: Unable to find rule AvoidAssertAsIdentifierTest; perhaps the rule name is mispelled? The problem is caused by a the ruleset/migration_to_14.xml; Don't know why... Anyway, it now works OK by

Re: Failures with downloads

2006-01-16 Thread S . Bloch
Pozdrawiam Sebastian Błoch

[m2] Where can i find plugins sources?

2006-01-16 Thread S . Bloch
Where can i find plugins' sources? I need javadoc sources. I've got a problem and i don't have time to wait for somebody to fix it. I could fix it myself but i need sources. Where can i get them? Pozdrawiam Sebastian Błoch

Re: [m2] Where can i find plugins sources?

2006-01-16 Thread Andrius Šabanas
[EMAIL PROTECTED] wrote: Where can i find plugins' sources? I need javadoc sources. I've got a problem and i don't have time to wait for somebody to fix it. I could fix it myself but i need sources. Where can i get them? Pozdrawiam Sebastian Błoch It depends on what plugin you are talking

Re: Download Javadoc into Eclipse with Maven2

2006-01-16 Thread Bjarte Stien Karlsen
That was very useful Ralph, however it was not what i asked for. What i think would be nice would be a way to make Maven download the Javadoc and making it available to Eclipse. With downloaded sources you can view these in Eclipse with a F3, what i want is the ability to press Shift+F2 to

multiple source dirs

2006-01-16 Thread Domsch, Christian
Hi all, first of all thank you for making such a good tool as maven1 and maven2. I used maven1 for over two years now in my old company and it was really great. Now I am switching to maven2 in my new company and I do have a question regarding source dirs. I read that it should be possible to

pom question

2006-01-16 Thread Domsch, Christian
Hi all, dumb question: what is the difference between build plugins and build pluginManagement Thanks in advance, Christian Domsch. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: pom question

2006-01-16 Thread Scokart Gilles
build plugins Allow to configure AND Ask to use the plugin in the project. pluginManagement Allows to give a default configuration to the plugins. This default configuration will be used in child project if the plugin is used. Gilles -Original Message- From: Domsch, Christian

[m2] hibernatedoclet problem

2006-01-16 Thread Kees de Kooter
Hi, I picked up the following snippet from this mailing list. The goal runs without error messages but no sources are being generated. Any clues? build plugins plugin groupIdorg.codehaus.mojo/groupId

RE: [m2] Repeatable build and plugin version resolution

2006-01-16 Thread Scokart Gilles
It's also the approach I had in mind. But, I can not be sure that all the plug-in versions are defined in the pom(s). A solution would be to have a parameter on the command line --repeatable. With such a flag asking for plugin version number resolved with information coming from the pom(s) only.

Re: Download Javadoc into Eclipse with Maven2

2006-01-16 Thread Ralph Pöllath
On 16.01.2006, at 11:05, Bjarte Stien Karlsen wrote: That was very useful Ralph, however it was not what i asked for. Sorry, I didn't pick up the javadoc in your original post at all. What i think would be nice would be a way to make Maven download the Javadoc and making it available to

RE: Using multiple source directories to produce on artefact

2006-01-16 Thread Peschier J. (Jeroen)
I agree that a mavenized build probably does not need multiple source dirs. However, for most of us Maven is not the only tool we use. My use-case for multiple source dirs is to separate XDoclet-generated code. The Maven build will indeed perform fine with the generated source in the same

[M2] Problem with maven-ear-plugin: Artifact[_:_:ejb] is not a dependency of the project.

2006-01-16 Thread Stefan Rademacher
Hello, I have a problem, when I try creating an EAR file, that includes two EJB modules. Nobody else seems to have this issue, so there might be an easy solution... I have a project with packaging=ear and two projects with packaging=ejb. When I package the ejb projects separately, there are no

[M2] Configuration parameters for my Mojo(s)

2006-01-16 Thread John Wells
I have a plugin that defines a new packaging type. This is basically the same as the jar packaging type, except it does nothing in the test phase, has a special packaging phase (where some manifest entries are added) and an integration-test phase that runs an integration test. I am able to

RE: [M2] Configuration parameters for my Mojo(s)

2006-01-16 Thread John Wells
OK, I just found something else out: If instead I change the last execution for the plugin to be for phase package, then my variables get set properly. So, if my pom.xml instead has this: execution idintegration-test/id phasepackage/phase goals goalrun-osgi-test/goal /goals

Re: [M2] Problem with maven-ear-plugin: Artifact[_ :_:ejb] is not a dependency of the project.

2006-01-16 Thread mvn
Hello, I've got no answer for your question unfortunately. However I would like to ask you for source of your ejb POM's (from ejb modules) - it would help me much. Thanks, Pawel Od: Stefan Rademacher [EMAIL PROTECTED] Do: users@maven.apache.org Data: Mon, 16 Jan 2006 13:31:27 +0100 Temat: [M2]

RE: Using multiple source directories to produce on artefact

2006-01-16 Thread Allison, Bob
By default (or maybe it is by design) the XDoclet plugin wants it generated output to go in target/generated-sources/xdoclet and it AUTOMATICALLY adds this path to the source directory list. It is bad practice to have XDoclet (or any other code generator) place its output under src. In NetBeans,

Antw: Re: [M2] Problem with maven-ear-plugin: Artifact[_ :_:ejb] is not a dependency of the project.

2006-01-16 Thread Stefan Rademacher
Hello, here is the POM of one of the EJB projects. The other one looks almost the same. project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;

[m2] copying resources to the jar

2006-01-16 Thread Christopher Chase
Hi, I have some resource files in a subdirectory under the src dir that I want to copy in to the jar file as part of the package plugin. Could someone suggest the best way to do this? Cheers Chris __ This email has been

RE: [M2] Maven-proxy and Maven 2

2006-01-16 Thread Darren Hartford
Hi Pablo, I have maven-proxy (standalone) running, but not the webapp. If you are running it in tomcat4, maybe the default port is set to 8080 instead of ? (the was from the standalone version I believe). -D -Original Message- From: Pablo Muñiz García [mailto:[EMAIL

RE: [m2] copying resources to the jar

2006-01-16 Thread Scokart Gilles
You should use buildresources ... See in http://maven.apache.org/maven-model/maven.html Regards, Gilles -Original Message- From: Christopher Chase [mailto:[EMAIL PROTECTED] Sent: 16 January 2006 14:30 To: users@maven.apache.org Subject: [m2] copying resources to the jar Hi,

RE: [m2] copying resources to the jar

2006-01-16 Thread Christopher Chase
Sorted. Thanks! -Original Message- From: Scokart Gilles [mailto:[EMAIL PROTECTED] Sent: 16 January 2006 14:31 To: Maven Users List Subject: RE: [m2] copying resources to the jar You should use buildresources ... See in http://maven.apache.org/maven-model/maven.html Regards, Gilles

Re: [m2] Repeatable build and plugin version resolution

2006-01-16 Thread Daniel Kulp
I'd LOVE an extension to the release plugin or something that would go through the build and create a properties file with the version numbers for ALL dependencies and updates the poms to use it. Thus, we could easily see what versions of stuff is being loaded (important for audits) as well

RE: Using multiple source directories to produce on artefact

2006-01-16 Thread Peschier J. (Jeroen)
I tried your suggestion and it seems indeed to add ${project.build.directory}/generated-sources/xdoclet to the source directory list. The maven-eclipse-plugin also adds this directory as a source directory in Eclipse's build classpath. Works conveniently since target is excluded from SCM anyway.

Re: Unittests and test data files in maven

2006-01-16 Thread Chris Berry
hi Dave, Make sure that you add /target/test-classes to your CLASSPATH for IntelliJ. Your test resources end up here. Cheers, -- Chris On 1/15/06, Dave Hoffer [EMAIL PROTECTED] wrote: Emmanuel, Thanks, I understand the idea you suggest but I am having some trouble getting it to work. I am

[M2] Name of artifact in repository when using a profile

2006-01-16 Thread martin . kuhn
Hi, when I install an artifact with different profiles (prod, test ...) I would like that the artifact name contains the environment name. my profile definition: profile idenv-prod/id activation property nameenv/name

Re: [m2] Repeatable build and plugin version resolution

2006-01-16 Thread Chris Berry
I agree 100%. The Release Plugin should 1) Insure that all dependency versions, including those of maven itself, are captured for repeatability 2) Insure that no dependencies, including those of maven itself, are SNAPSHOTs, which, by definition, are not repeatable BTW: to truly insure

[M1] Defining multiple source directories for a given maven module

2006-01-16 Thread Afkham Azeez
Hi Folks, I have a project with multiple maven modules. In one of these modules, there are 2 different source directories. When these module is compiled, I need maven to compile both these sources for this module. In the project.xml the sourceDirectorysrc/sourceDirectory element can only be used

[m2] build and copy

2006-01-16 Thread Yann LE GUERN
Hello, Is there a way to copy the generated war of a build process in a directory (not in the repository). Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Continuum, Maven2 settings.xml

2006-01-16 Thread Allison, Bob
Can you resolve the host name repo1.maven.org on the same machine but outside of Continuum? This looks like a DNS configuration problem to me. -Original Message- From: Christian Mouttet [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 10:45 To: continuum-users@maven.apache.org

RE: [m2] build and copy

2006-01-16 Thread Brian E. Fox
Use the dependency plugin: http://mojo.codehaus.org On the howto page, there is an example showing how to copy the just built artifact. -Original Message- From: Yann LE GUERN [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 11:06 AM To: Maven Users List Subject: [m2] build and

Re: [m2] build and copy

2006-01-16 Thread Alexandre Russel
maven antrun plugin would do that, don't know if it is the easiest way. alex Is there a way to copy the generated war of a build process in a directory (not in the repository). - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread Christian Mouttet
Hi Bob, Can you resolve the host name repo1.maven.org on the same machine but outside of Continuum? This looks like a DNS configuration problem to me. DNS to the outside world is done by our proxy. Running mvn works perfectly. Looks like Continuum doesn't know anything about the proxy.

Missing namespaces in m1

2006-01-16 Thread Hines, John
I have inherited a maven.xml script that requires some namespaces that maven can't find: Tag library requested that is not present: 'c1cactus' in plugin: 'null' Tag library requested that is not present: 'os' in plugin: 'null' Tag library requested that is not present: 'ejbtool' in plugin: 'null'

m2 continuum 1.0.2

2006-01-16 Thread Samuel Le Berrigaud
Hi, I installed continuum 1.0.2, building my projects with maven 2. First, however I have notification configured for all events Success Failures Error Warnings as it shows it in my projects config. I don't receive emails every time. Is there some configuration I am missing ? I managed to

Re: Missing namespaces in m1

2006-01-16 Thread Arnaud HERITIER
Did you bind your namespaces in the maven.xml ? project xmlns:XXX=XXX ... Did you installed the required plugins ? I think you need at least these ones : http://jakarta.apache.org/cactus/integration/maven/installing.html http://maven-plugins.sourceforge.net/maven-weblogic-plugin/index.html

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-16 Thread Jim Babka
Well, I've finished a hacked-up set of maven projects and plugins that build an update site. The reason I call it hacked-up is that it does not use the repository for anything but the final update site JAR file and the original plugin JARs - it uses an updateSite directory under the HOME

Re: [m2] webstart-maven-plugin

2006-01-16 Thread Jerome Lacoste
On Thu, 2006-01-12 at 17:20 -0500, Richard Allen wrote: Jerome, I need to build and package Web Start applications with a webapp (WAR) and so I was reading over your documentation for webstart-maven-plugin at

xslt ant task

2006-01-16 Thread Will Heger
I've crisscrossed the archives regarding the ant xslt task. At onetime it was necessary to use... ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apac he.xalan.processor.TransformerFactoryImpl')} ...there was even an FAQ entry about it. But I cannot get my xslt tasks

Re: Add project developers

2006-01-16 Thread Jens Ahlin
Hi Emmanuel, Hi, Mattias Andersson a écrit : Hi, I'm using continuum 1.0.2 to do nightly builds and it works great. I use a shell project to start a *.bat fil (and CVS to fetch the files) and my two questions are: 1) In the Project View page there is a section called Developers (last

[m2] any good practice to run/skip junitperf testcase?

2006-01-16 Thread Man-Chi Leung
hi, anyone is using junitperf often with m2? yes, usually, junitperf test case takes very long time to run and I usually prefer to turn it off BUT having standard Junit testcase to run as normal. I am putting : junit testcase at /src/test/java junitperf at /src/test/junitperf ( i avoid

Re: [m2] Unarchive selected files/dirs

2006-01-16 Thread Sasvata Chatterjee
- I haven't looked through all of Plexus. Is there something equivalent to org.codehaus.maven.model.PatternSet in Plexus? Otherwise, a Maven dep. needs to be added to Plexus (or, I guess, the equivalent of PattrnSet must be added to Plexus). - There's no way to extend the UnArchiver

Re: Problem with continuum on solaris zone

2006-01-16 Thread Emmanuel Venisse
Trygve Laugstøl a écrit : On Fri, 2006-01-13 at 09:14 -0500, Sean Schofield wrote: We're trying to setup continuum for the MyFaces project. We have a solaris zone set up and we're having trouble starting the server. $ bin/solaris/run.sh start Starting continuum... bin/solaris/run.sh:

Re: Mail notification to commiters

2006-01-16 Thread Emmanuel Venisse
No, it isn't possible actually, Jens Ahlin (next message in this list) will create an issue about it, but you can create it first ;-) Emmanuel Marcin Gurbisz a écrit : Hi all, Is it possible to configure continuum to send mails to commiters of last changes after build fails? I'm using m1.

Re: [1.0.2] scm:cvs user and password ignored?

2006-01-16 Thread Emmanuel Venisse
yes, it's a limitation in actual maven-scm cvs provider. This provider accept only username defined in scm url. We'll try to fix it for the next release (http://jira.codehaus.org/browse/SCM-123). Emmanuel [EMAIL PROTECTED] a écrit : Hey all, is it possible, that the user and/or password entry

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread Emmanuel Venisse
Can you send the full stacktrace? Is it in maven execution or in continuum project initialization? Emmanuel Christian Mouttet a écrit : Hi all, where do I have to place the file 'settings.xml' to configure my proxy, repository mirrors etc.? After adding a Maven2 project I get

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread Emmanuel Venisse
By default, maven use settings.xml defined in ${user.home}/.m2 Emmanuel [EMAIL PROTECTED] a écrit : Login-clickOnProjectName-Build Definitions/Add-Arguments Fredy continuum-users@maven.apache.org schrieb am 16.01.06 17:50:47: where did you set this stuff? Am Montag, 16. Januar 2006 17:03

Help setting up remote plugin repository

2006-01-16 Thread Jon Rafkind
Id like to include http://propellors.net/maven-repo as a plugin repository but cant figure out how to do this. I thought I could edit ~/.m2/settings.xml and add it to the pluginRepositories tag but I dont see maven connecting to this site when checking for plugins. Here is my settings.xml

Issues with Maven 2 repository

2006-01-16 Thread saurabh Arora
Hi, I found that aspectwerkz-core pom file is corrupted in maven repository. http://www.ibiblio.org/maven2/aspectwerkz/aspectwerkz-core/2.0/aspectwerkz-core-2.0.pom The file is not a valid xml, end tag for dependencies is incorrect. Can some one correct this error. Regards, Saurabh

maven2 equivalent of dependency properties

2006-01-16 Thread jack . unrue
Hello, As you know in maven1, it was possible to add properties elements to convey dependency-specific plugin meta-data. E.g., dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId version2.0/version typejar/type

Re: Issues with Maven 2 repository

2006-01-16 Thread Carlos Sanchez
done, thanks On 1/16/06, saurabh Arora [EMAIL PROTECTED] wrote: Hi, I found that aspectwerkz-core pom file is corrupted in maven repository. http://www.ibiblio.org/maven2/aspectwerkz/aspectwerkz-core/2.0/aspectwerkz-core-2.0.pom The file is not a valid xml, end tag for dependencies is

[m2] required artifacts missing

2006-01-16 Thread softwarearchitekt
I've already installed these files in my localRepository, but theres is alwas the same error: required artifacts missing: javax.mail:mail:jar:1.3.3 javax.activation:activation:jar:1.0.2 javax.xml:jaxrpc-api:jar:1.1 for the artifact: yyy:xxx:jar:1.0-SNAPSHOT from the specified remote

Re: maven2 equivalent of dependency properties

2006-01-16 Thread Dennis Lundberg
Maybe this can help? http://maven.apache.org/guides/mini/guide-configuring-plugins.html -- Dennis Lundberg [EMAIL PROTECTED] wrote: Hello, As you know in maven1, it was possible to add properties elements to convey dependency-specific plugin meta-data. E.g., dependency

Re: maven2 equivalent of dependency properties

2006-01-16 Thread jack . unrue
Dennis wrote: Maybe this can help? http://maven.apache.org/guides/mini/guide-configuring-plugins.html Thanks, Dennis. What I'm not seeing (and I realize this could be right under my nose but I just don't know it yet) is how dependency-specific plugin properties are set. I'll quote the

Re: [m2] APT question

2006-01-16 Thread ZhiQiang He
I have built a Maven 2.0.2-SNAPSHOT from source that is checked out from svn (http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/) ,and built a maven-site-plugin 2.0-SNAPSHOT.(checkted out from http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-site-plugin/) BUT can not

[m2] Minimum requirements for a snapshot in a repository?

2006-01-16 Thread Wendy Smoak
What's the minimum that will keep m2 happy when retrieving a snapshot from a remote repository? I've got a project that I just can't build with m2, but I need to make a snapshot available. If I upload (in the correct directory structure): shale-core-1.0.1-SNAPSHOT.jar

RE: maven2 equivalent of dependency properties

2006-01-16 Thread Allison, Bob
No, there is no equivalent in Maven2. I wish there was since some of the stuff I want to do would greatly benefit from this feature. What are you trying to do that needs such properties? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006

Re: maven2 equivalent of dependency properties

2006-01-16 Thread jack . unrue
Bob wrote: No, there is no equivalent in Maven2. I wish there was since some of the stuff I want to do would greatly benefit from this feature. What are you trying to do that needs such properties? I'm just porting the build for another incubator project (Tuscany) to m2, and some of their

ABOUT Maven User FAQ : How do I get the top line of a table to be headers for that column in APT?

2006-01-16 Thread ZhiQiang He
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIgetthetoplineofatabletobe%22headers%22forthatcolumninAPT%3F How do I get the top line of a table to be headers for that column in APT? With the snapshot you can do: || header 1 || header 2 || header 3 || Example:

Re: [m2] required artifacts missing

2006-01-16 Thread Stephen Duncan
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html -Stephen On 1/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already installed these files in my localRepository, but theres is alwas the same error: required artifacts missing: javax.mail:mail:jar:1.3.3

[m2] maven-ant-artifact - transitiveDependencies=false?

2006-01-16 Thread Darren Hartford
Hey all, In the maven-ant-artifact lib, would it make sense to include an option for the artifact:dependencies/ To have an option to NOT download transitive dependencies,whether across the whole project or individual projects (the 'exlude' could be cumbersome, especially if the transitive deps

Re: [m2] native-maven-plugin project setup

2006-01-16 Thread RedBugz Software
On 1/12/06, dan tran [EMAIL PROTECTED] wrote: Since Sun JVM/JNI built with mvcs 6.0 service pack3, you have to use the same compiler. But it does not prevent you from using other compilers, however you are on your own with this. I didn't realize there was a free version of the MS

Re: [m1] jar:install - Error getting the project as a string

2006-01-16 Thread Lukas Theussl
Wendy, Are you running m1.0 or m1.1? I suspect you are seeing http://jira.codehaus.org/browse/MPARTIFACT-54 . If you are running m1.1, just upgrade the artifact-plugin to at least 1.6. -Lukas Wendy Smoak wrote: This worked on December 2nd... none of the changes to project.xml since then

How i do cancel it test of maven 2 in a Maven 2.1-SNAPSHOT build?

2006-01-16 Thread ZhiQiang He
How i do cancel it test of maven 2 in a Maven 2.1-SNAPSHOT build?

Re: [m2] required artifacts missing

2006-01-16 Thread softwarearchitekt
Hey, I've allready read that, and install the files! There are in my local repository: mavenRepository |- javax |- activation |- activation |- 1.0.2 |- activation-1.0.2.jar |- activation-1.0.2.pom

Re: [m2] native-maven-plugin project setup

2006-01-16 Thread dan tran
On 1/16/06, RedBugz Software [EMAIL PROTECTED] wrote: On 1/12/06, dan tran [EMAIL PROTECTED] wrote: Since Sun JVM/JNI built with mvcs 6.0 service pack3, you have to use the same compiler. But it does not prevent you from using other compilers, however you are on your own with this.

[m1.1-b-2] how can I initialize a variable/prop just once and share with subprojects in multiproject build?

2006-01-16 Thread Max Cooper
I want to initialize a variable or property just once at the beginning of a multiproject build and then be able to access that value in any of the subprojects. Ideally, running a subproject build on it's own would also initialize the value. For instance, so far I have something like this in my

Re: [m2] required artifacts missing

2006-01-16 Thread Stephen Duncan
Sorry about that. Read the post at the end of the work day, and posted too quickly! Not sure where a dependency on yyy:xxx:jar:1.0-SNAPSHOT would come from. Looks like an example dependency that should be removed. If it's not something you accidentally left in your pom, then it's in one you

Re: [m1] [testers needed] SNAPSHOT of the next release of the linkcheck plugin is available.

2006-01-16 Thread Lukas Theussl
Arnaud, I noticed one queer thing, I'm just not sure if it's a multiproject issue or something we can fix in the linkcheck plugin: the linkcheck report for the master project is not generated in a multiproject build if maven.multiproject.navigation=aggregate is used. Eg, in the m1 plugins

Re: [m1.1-b-2] how can I initialize a variable/prop just once and share with subprojects in multiproject build?

2006-01-16 Thread Max Cooper
Well, I am not sure this is a good answer, but I found something that works -- save it in the systemScope: preGoal name=build:start j:set var=svnRevision value=${systemScope.getProperty('my.svnRevision')}/ j:if test=${svnRevision == null} ant:echoGetting revision.../ant:echo !-- code

Re: [m1.1-b-2] how can I initialize a variable/prop just once and share with subprojects in multiproject build?

2006-01-16 Thread Dion Gillard
Yep, that works well. Since you want it to be available to all projects, the system properties are one way to do it. On 1/17/06, Max Cooper [EMAIL PROTECTED] wrote: Well, I am not sure this is a good answer, but I found something that works -- save it in the systemScope: preGoal

Bug in version range resolution?

2006-01-16 Thread Matthew Beermann
I'm currently seeing build errors of the form: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Couldn't find a

TestNG from a custom Maven2 MOJO/plugin

2006-01-16 Thread Michael Fiedler
Hi, I am writing a custom plugin for determining EMMA code coverage of TestNG tests. I am having trouble with the TestNG Test annotation. TestNG is a dependency (see below). The TestNG version is 4.0, maven version is 2.0.1, jdk version is sun jdk1.5. It feels like a class loader

[ANN] Maven 2.0.2 Release

2006-01-16 Thread Jason van Zyl
The Maven Team is pleased to announce the release of Maven 2.0.2! You can download everything from here: http://maven.apache.org/download.html You can find the change log for this release here: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=10500fixfor=12125 Enjoy! --

Re: Help setting up remote plugin repository

2006-01-16 Thread Allan Ramirez
Hi Jon, Try to activate your profile first. activeProfiles activeProfileF/activeProfile /activeProfiles Hope this works -allan Jon Rafkind wrote: Id like to include http://propellors.net/maven-repo as a plugin repository but cant figure out how to do this. I thought I could edit

Re: [M2] Problem with maven-ear-plugin: Artifact[_:_:ejb] is not a dependency of the project.

2006-01-16 Thread Henry Isidro
Hi Stefan, Try adding typeejb/type in your dependency declarations. HTH, Henry Stefan Rademacher wrote: Hello, I have a problem, when I try creating an EAR file, that includes two EJB modules. Nobody else seems to have this issue, so there might be an easy solution... I have a project with

Re: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-16 Thread Cédric Beust ♔
Hi Michael, First of all, I just learned something today... I had never heard of this TypeNotPresentException, much less that it was in java.lang! Its JavaDoc is interesting: * Thrown when an application tries to access a type using a string * representing the type's name, but no definition

RE: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-16 Thread Michael Fiedler
Wow, thanks for the speedy reply! Code: try { getLog().info(testing class loading of 'org.testng.annotations.Test'); Class otat = Class.forName(org.testng.annotations.Test);

RE: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-16 Thread Michael Fiedler
Additionally and before the code snippet below, Code: ClassLoader classLoader = this.getClass().getClassLoader(); getLog().info(classLoader.getClass().getName()); try { classLoader.loadClass(org.testng.annotations.Test);

Re: [m2] required artifacts missing

2006-01-16 Thread Allan Ramirez
Hi there, Could you paste your pom? Thanks, -allan [EMAIL PROTECTED] wrote: Hey, I've allready read that, and install the files! There are in my local repository: mavenRepository |- javax |- activation |- activation |- 1.0.2 |-

Re: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-16 Thread Cédric Beust ♔
Another suggestion/question, Michael: Are you running this code just straight out of javac or through Maven? If the latter, can you just try to run it as a main() class? TestNG testng = new TestNG(xmlSuite); testng.setTestJar(jarFilename);

Re: [m1] jar:install - Error getting the project as a string

2006-01-16 Thread Wendy Smoak
On 1/16/06, Lukas Theussl [EMAIL PROTECTED] wrote: Are you running m1.0 or m1.1? I suspect you are seeing http://jira.codehaus.org/browse/MPARTIFACT-54 . Maven 1.0.2. (Unless 1.1 is final, then we might switch. But I'm hoping to skip it and go straight to Maven 2.) If you are running m1.1,

Release plugin

2006-01-16 Thread Ken Burns
Hi, I'm trying to perform a release with maven 2.0.1 I performed a mvn release:prepare without problems, but encounter a problem while the release is generating the Javadoc for one of the child projects. [INFO] Building jar:

RE: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-16 Thread Michael Fiedler
... always a good idea! test the class loading of 'org.testng.annotations.Test' Class path:...blah...;D:\data\maven_repos\testNG\testng\4.0-jdk15\testng-4.0-jdk15.jar;...blah... sun.misc.Launcher$AppClassLoader java.lang.Class org.testng.annotations.Test null null null

Re: [ANN] Maven 2.0.2 Release

2006-01-16 Thread Alexandre Poitras
Cool! My hat off to Maven team once again for a great product ! On 1/16/06, Jason van Zyl [EMAIL PROTECTED] wrote: The Maven Team is pleased to announce the release of Maven 2.0.2! You can download everything from here: http://maven.apache.org/download.html You can find the change log for

[m2] unicode character problem in site.xml - maven-site-plugin 2.0-beta-4

2006-01-16 Thread Justin Kim
Hi, it seems that maven-site-plugin has some problem while converting unicode characters(especially, about site.xml). but I'm not sure it is a problem or not. Although I could find same situation from the mailling list archive, I realized that it was not the solution for me. I could gain

Re: [m2] Minimum requirements for a snapshot in a repository?

2006-01-16 Thread Maria Odea Ching
Hi Wendy, Please see my notation below. Thanks, Odea Wendy Smoak wrote: What's the minimum that will keep m2 happy when retrieving a snapshot from a remote repository? I've got a project that I just can't build with m2, but I need to make a snapshot available. If I upload (in the correct

Continuum, Maven2 settings.xml

2006-01-16 Thread Christian Mouttet
Hi all, where do I have to place the file 'settings.xml' to configure my proxy, repository mirrors etc.? After adding a Maven2 project I get java.net.UnknownHostException: repo1.maven.org. Any help would be appreciated. regards -chris

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread Denis Fuenzalida
Edit your MAVEN2_HOME/conf/settings.xml 2006/1/16, Christian Mouttet [EMAIL PROTECTED]: Hi all, where do I have to place the file 'settings.xml' to configure my proxy, repository mirrors etc.? After adding a Maven2 project I get java.net.UnknownHostException: repo1.maven.org. Any help

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread Christian Mouttet
Hi Denis, Edit your MAVEN2_HOME/conf/settings.xml thank's. I've already changed it. It seems to me that Continuum doesn't use it. Dropping settings.xml in the directory ~continuum/.m2 also doesn't make any changes. Always stupid 'UnknownHostException'. BTW, this is the content of

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread softwarearchitekt
I had similar problems. The option -Dorg.apache.maven.global-settings=path-to-settings.xml helps. Fredy continuum-users@maven.apache.org schrieb am 16.01.06 16:58:56: Hi Denis, Edit your MAVEN2_HOME/conf/settings.xml thank's. I've already changed it. It seems to me that Continuum doesn't

Re: m2 continuum 1.0.2

2006-01-16 Thread Christian Mouttet
Continuum only sends mails if any project status changes, e. g. 'Build failed' - 'Build OK' and vice versa. Am Montag, 16. Januar 2006 17:37 schrieb Samuel Le Berrigaud: Hi, I installed continuum 1.0.2, building my projects with maven 2. First, however I have notification configured for all

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread Christian Mouttet
where did you set this stuff? Am Montag, 16. Januar 2006 17:03 schrieb [EMAIL PROTECTED]: I had similar problems. The option -Dorg.apache.maven.global-settings=path-to-settings.xml helps. Fredy ** Diese E-Mail wurde auf

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread softwarearchitekt
Login-clickOnProjectName-Build Definitions/Add-Arguments Fredy continuum-users@maven.apache.org schrieb am 16.01.06 17:50:47: where did you set this stuff? Am Montag, 16. Januar 2006 17:03 schrieb [EMAIL PROTECTED]: I had similar problems. The option

Re: Continuum, Maven2 settings.xml

2006-01-16 Thread Christian Mouttet
OK, and what can I do if there isn't any project added. Remember, the exception is thrown if I ADD my first project. -chris Am Montag, 16. Januar 2006 18:00 schrieb [EMAIL PROTECTED]: Login-clickOnProjectName-Build Definitions/Add-Arguments Fredy continuum-users@maven.apache.org schrieb am