Archetype:create problem with 2.0.6

2007-04-30 Thread Brendan Donovan
Hi all I think there is a problem with the following command mvn archetype:create -DgroupId=com.al.su -DartifactId=DOMtr -DarchetypeArtifactId=maven-archetype-webapp When run under windows or unix all I get is the follwoing directory layout (note missing test directories) ..DOMtr src

Re: Why the result of antrun are different?

2007-04-30 Thread jiangshachina
Hello, I used the same project source files, local repository and Maven in Red Hat AS 4.0, language is zh_CN.UTF-8. In the box, antrun task executed well. a cup of Java, cheers! Sha Jiang jiangshachina wrote: Hi, When I said LANG, I meant Language I see, but I didn't know what's concreted

WebSphere 6.1 Maven Plugin

2007-04-30 Thread Bala Rajamani
Hello, I would like to create WebSphere 6.1 specific EJBs through Maven. Wondering is there any specific plug-in is available.? Any information or suggestions are appreciated. Thanks in advance, Bala.

configuration, execution, include

2007-04-30 Thread iDuke
Hi, I have tried out a little bit and encountered something I don't understand. I used the following pom, but when I try to execute the integration test, it does not seem to test the files which I listed in the integration-test execution project modelVersion4.0.0/modelVersion

pom executions

2007-04-30 Thread iDuke
Hi, I have the following pom project modelVersion4.0.0/modelVersion groupIdcom.xxx.course/groupId artifactIddosbox-simple/artifactId packagingjar/packaging version1.0-SNAPSHOT/version dependencies dependency

Re: encoding of file name?

2007-04-30 Thread jiangshachina
Hello, I made some test with Linux -- Red Hat AS 4.0. [1]I set system language to zh_CN.UTF-8, then I created a text file which name included Chinese characters. I run mvn package to make war file, and finished successfully. I unzipped the war file and found that the specific file's name was

Re: pom executions

2007-04-30 Thread Dan Tran
You can not change the order of the phase even thou you explicitly set them in executions. Test phase always before integration phase On 4/30/07, iDuke [EMAIL PROTECTED] wrote: Hi, I have the following pom project modelVersion4.0.0/modelVersion

Re: Why the result of antrun are different?

2007-04-30 Thread jiangshachina
Hi, I used the same project source files, local repository and Maven in Red Hat AS 4.0, language is zh_CN.UTF-8. In the box, antrun task executed well. From the test, it means that the trouble is due to system environment. But I cannot imagine why maven-antrun-plugin isn't independent to OS, I

RE: maven-assembly-plugin and target directory tree...

2007-04-30 Thread Harris, Philip
In the end, I suggested that the outputDirectory for the only fileSet was .. When it came to untarring it on the destination host tar ignored the bit of the directory tree which would have been empty (hoorah!) I think you can gauge a lot about my frustration from the pom level code in the

Re: pom executions

2007-04-30 Thread iDuke
Ok I can understand that the test phase is executed all the times when i execute the integration test. But my problem is, the integration test execution isn't executed at all. I have [INFO] [surefire:test] [INFO] Surefire report directory: C:\Documents and Settings\phk\My [INFO]

[m2] Dependency Ordering Headache

2007-04-30 Thread gridplan
Hello, I'm having a terrible time trying to convert a project that uses Ant to one that uses maven (2.0.6). The classpath in my build.xml has a specific ordering of Jars that must be followed in order for it to compile. I listed the Jars (in order) as dependencies in my pom.xml. I then

Configuring maven2 compile-time output

2007-04-30 Thread mikewilsonuk
Can someone please assist? I am trying to configure the compile-time output -- the default output is way too verbose for my tastes and vim can't parse it to list just the errors. I have tried: - Putting MAVEN_OPTS='-Dlog4j.configuration=log4j.properties' in ~/.mavenrc - Putting

Re: [m2] Dependency Ordering Headache

2007-04-30 Thread Graham Leggett
On Mon, April 30, 2007 11:15 am, gridplan wrote: I'm having a terrible time trying to convert a project that uses Ant to one that uses maven (2.0.6). The classpath in my build.xml has a specific ordering of Jars that must be followed in order for it to compile. To be honest, I think

Re: HOWTO: (Build / ) Release mgmt in multi environment

2007-04-30 Thread Roland Asmann
If someone doesn't answer your questions right away, please don't send it again! People might be busy, or maybe nobody knows the answer(s) to your question. I'll see if I can answer parts of your mail though. On Saturday 28 April 2007 23:01, Maarten Volders wrote: Hi, I have the following

Re: Releasing from multiple modules

2007-04-30 Thread James Abley
Hello again. So I've gone through a release cycle for all of my modules, which was a long process, and ironed out a few cycles that had crept into the dependencies. Now I am at the stage where I have two modules that create WAR files and I have pursued my original suggestion of creating another

Re: Releasing from multiple modules

2007-04-30 Thread Roland Asmann
Relocate the dependencyManagement-part to the dependencies, I think that should do the trick. dependencies / dependencyManagement dependencies dependency groupIdcom.example.someGroup-A/groupId artifactIdwebapp-A/artifactId typewar/type

Maven 2.0.6 source release

2007-04-30 Thread Thomas Leonard
Is the source code for maven 2.0.6 available? The download sites only seem to go up to 2.0.5: http://mirrors.dedipower.com/ftp.apache.org/maven/source/ [ The reason I want the code is because I'm getting some odd errors with a multi-project build. Our tree has client and web-service child

Re: Releasing from multiple modules

2007-04-30 Thread James Abley
Excellent. That's getting the WAR files into the Zip. I could then do a little tweak to rename my war files to something more consistent with the installation documentation I'm about to write! dependencySets dependencySet includes includewebapp-A-*war/include

Re: HOWTO: (Build / ) Release mgmt in multi environment

2007-04-30 Thread Maarten Volders
Thanks for the feedback, It was not my intetion to post multiple times, but I posted the first time, I didn't see anything appearing. So a reposted because I thought something was wrong with my account :-) But it seems it took a while before it was on the list ... therefore I apologize! Grtz On

Re: HOWTO: (Build / ) Release mgmt in multi environment

2007-04-30 Thread Roland Asmann
No problem, just wanted to make sure you knew. I hope you did see that I tried to answer some of your questions as well, so don't just read the 'insulting' part of my mail! ;-) On Monday 30 April 2007 13:34, Maarten Volders wrote: Thanks for the feedback, It was not my intetion to post multiple

mulktiproject:site getting compiler errors

2007-04-30 Thread emerson cargnin
Hi all I'm getting compiler errors when build using multiproject:site, so that I neede to run multiproject:intall before, what then solved the problem. Just to clarify my understanding, the multiproject:site is not suppose to also compile all of the projects? do I need to do it in a different

Re: pom executions

2007-04-30 Thread copernic Jeremy
Might not help, but just in case: shouldn't you add the following headlines in your pom.xml?? best regards, ?xml version=1.0 encoding=UTF-8? 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

Re: pom executions

2007-04-30 Thread copernic Jeremy
Might not help but just in case: shouldn't you add the following headlines in your pom.xml?? ?xml version=1.0 encoding=UTF-8? 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

Re: pom executions

2007-04-30 Thread iDuke
No, did not work. copernic Jeremy wrote: Might not help, but just in case: shouldn't you add the following headlines in your pom.xml?? best regards, ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: pom executions

2007-04-30 Thread iDuke
No, did not work. copernic Jeremy wrote: Might not help, but just in case: shouldn't you add the following headlines in your pom.xml?? best regards, ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: pom executions

2007-04-30 Thread iDuke
No, did not work. copernic Jeremy wrote: Might not help, but just in case: shouldn't you add the following headlines in your pom.xml?? best regards, ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: pom executions

2007-04-30 Thread iDuke
No, doesn't work :-( copernic Jeremy wrote: Might not help but just in case: shouldn't you add the following headlines in your pom.xml?? ?xml version=1.0 encoding=UTF-8? project xmlns= http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: [m2] Dependency Ordering Headache

2007-04-30 Thread gridplan
Hi Graham, I don't think I can disentangle the dependencies so easily. With WebLogic server, the way one sets up a build environment is to source a file (usually setDomainEnv.cmd or setDomainEnv.sh -- the same file incidentally their app server sources on start-up). It adds a dozen or so

how to get a timestamp in the site generation

2007-04-30 Thread emerson cargnin
Is there a way to put a timestamp in the generated maven site? I read the thread and page below, but i couldn't find how to enable the site to have the date and/or time in it(s) page(s). I'm using maven 1.1 http://maven.apache.org/maven-1.x/plugins/site/changes-report.html

Re: pom executions

2007-04-30 Thread Roland Asmann
Looks pretty simple to me... The reason you don't see all test-runs is because some tests have errors in them! Maven (per default) aborts the build after an error has occured... Try running maven with '-Dmaven.test.failure.ignore=true' and see if all test are run now. mvn integration-test

next javadoc plugin release?

2007-04-30 Thread Mark Proctor
The Javadoc plugin is currently broken for doclet usage. I fixed the bug and carlos applied my patch, http://jira.codehaus.org/browse/MJAVADOC-115 - vincent is taking time to work on xwiki so won't be doing any plugin maintenance. Any idea when this will be released, who can do this now with

Re: how to get a timestamp in the site generation

2007-04-30 Thread Lukas Theussl
Check the maven.xdoc.date property of the xdoc plugin: http://maven.apache.org/maven-1.x/plugins/xdoc/properties.html (the same page, like every official maven page, also gives an example of its use, see the bottom). HTH, -Lukas emerson cargnin wrote: Is there a way to put a timestamp in

Re: mulktiproject:site getting compiler errors

2007-04-30 Thread Lukas Theussl
multiproject:site only runs the site goal for all sub-projects, if any of those depend on a certain artifact to be installed, you need to do that separately. Depending on your setup, you might try to enforce the installation via a preGoal, but I wouldn't recommend that in general. HTH, -Lukas

Re: pom executions

2007-04-30 Thread iDuke
Oh no such a stupid thing... Thanks, now it works! MALICE wrote: Looks pretty simple to me... The reason you don't see all test-runs is because some tests have errors in them! Maven (per default) aborts the build after an error has occured... Try running maven with

[ANN] Maven IDEA Plugin 1.7 for Maven 1.x released

2007-04-30 Thread aheritier
We are pleased to announce the Maven IDEA Plugin 1.7 release! http://maven.apache.org/maven-1.x/plugins/idea/ IDEA Plugin for Maven. === Changes in this version include: New Features: o Autodetect which version

[ANN] Maven Jar Plugin 1.8.1 for Maven 1.x released

2007-04-30 Thread aheritier
We are pleased to announce the Maven Jar Plugin 1.8.1 release! http://maven.apache.org/maven-1.x/plugins/jar/ Plugin for creating JAR files. === Changes in this version include: Changes: o Change the default

Build Module with several SourceDirectories

2007-04-30 Thread GreJ
Hi, I have a Maven Porject wich contains 2 sourceDirectories : source/A Source/B I want to compile them separately in order to obtain : target/A target/B I know that a Maven-Build-Helper Plugin exists, (he add the sourceDirectories to the RootSourceDirectories). But with this solution i have

[ANN] Maven Jalopy Plugin 1.5.1 for Maven 1.x released

2007-04-30 Thread aheritier
We are pleased to announce the Maven Jalopy Plugin 1.5.1 release! http://maven.apache.org/maven-1.x/plugins/jalopy/ === Changes in this version include: New Features: o Add a property that controls the source code

[ANN] Maven Javadoc Plugin 1.9 for Maven 1.x released

2007-04-30 Thread aheritier
We are pleased to announce the Maven Javadoc Plugin 1.9 release! http://maven.apache.org/maven-1.x/plugins/javadoc/ === Changes in this version include: New Features: o Add specifying params with alternate

[ANN] Maven MultiChanges Plugin 1.3 for Maven 1.x released

2007-04-30 Thread aheritier
We are pleased to announce the Maven MultiChanges Plugin 1.3 release! http://maven.apache.org/maven-1.x/plugins/multichanges/ Produce release dashboard for subprojects. === Changes in this version include: New

Re: Maven 2.0.6 source release

2007-04-30 Thread Alan D. Salewski
On Mon, Apr 30, 2007 at 12:12:02PM +0100, Thomas Leonard spake thus: Is the source code for maven 2.0.6 available? The download sites only seem to go up to 2.0.5: http://mirrors.dedipower.com/ftp.apache.org/maven/source/ You can grab the code directly from the Subversion repository like

Re: Configuring maven2 compile-time output

2007-04-30 Thread Wayne Fay
Others have asked for this previously, and IIRC, the answer was you can't do this yet/right now. There's a bug filed to allow refinement of the log messages (see the link below) and I believe they plan to address this in 2.1.x, not 2.0.x. http://jira.codehaus.org/browse/MNG-2570 Wayne On

How to load Snapshot plugins from the CLI

2007-04-30 Thread gc134728
Dear maven users, I'm stuck on a problem. I want to execute a plugin from the command line but not the released version but the snapshot version. How do I do that? I added the link to the snapshot repository. No problem their. But when i execute the following command : mvn

Re: [m2] Dependency Ordering Headache

2007-04-30 Thread Wayne Fay
As a Weblogic customer, I'd complain until they resolve this issue. I agree entirely with Graham -- the fact that your dependency JARs must be ordered in a particular way to get a successful build should not be acceptable to you. Wayne On 4/30/07, gridplan [EMAIL PROTECTED] wrote: Hi Graham,

Wrong URL after deploying a plugin in a remote repository

2007-04-30 Thread mateamargo
This is what I did: 1) Downloaded Jmeter-2.2.jar and the POM file. 2) Deployed to a remote repository. 3) Downloaded the maven-jmeter-plugin and deployed in the same remote repository. 4) In the project that I need it, I have added the dependency and the build section in my POM (just as the

Re: All builds failing suddenly

2007-04-30 Thread Mykel Alvis
Interestingly, this same thing has been happening to me very regularly under Linux (FC6 virtual instances). It seems to be that at some point in the night, the web server stopped responding and once that happened, the build would never try again. I suppose continuum assumed that there was no

Re: How to load Snapshot plugins from the CLI

2007-04-30 Thread Mykel Alvis
If that's your whole log, then you're not pointed to the maven SNAPSHOT repo for plugins. The message indicates that you haven't defined any new references to the snapshot repo as indicated by the fact that only central is listed as a repo to look in and central doesn't host plugin snapshots (as

Re: WebSphere 6.1 Maven Plugin

2007-04-30 Thread Mykel Alvis
I think that a lot of WS-specific things are done involves using the IBM JDK to run the Websphere ant tasks, according to some co-workers who have been working with WS but don't seem to have a lot of time for full disclosure. I recently started giving this (very cursory) attention, but I'm

Re: Configuring maven2 compile-time output

2007-04-30 Thread mikewilsonuk
Thanks for taking the time to answer. I thought someone must have asked that before. Wayne Fay wrote: Others have asked for this previously, and IIRC, the answer was you can't do this yet/right now. There's a bug filed to allow refinement of the log messages (see the link below) and I

Re: How to load Snapshot plugins from the CLI

2007-04-30 Thread gc134728
-- Initial header --- From : [EMAIL PROTECTED] To : Maven Users List users@maven.apache.org CC : Date : Mon, 30 Apr 2007 09:47:48 -0500 Subject : Re: How to load Snapshot plugins from the CLI If that's your whole log, then you're not pointed to the

Re: Wrong URL after deploying a plugin in a remote repository

2007-04-30 Thread Wayne Fay
You asked before and didn't get an answer. And I doubt you'll get the answer you're looking for this time either. I've never seen this issue reported, and you haven't provided enough information to really help you much. Here's some things to try/look at: 1. Try mvn -X deploy... and see what kind

Re: How to load Snapshot plugins from the CLI

2007-04-30 Thread Wayne Fay
I don't know why its not working for you, but here's a possible workaround... Make a new pom, add the snapshot repo, and add the snapshot dependency. Run mvn package so it will download etc everything. Then go back to this project and try running the mvn install using the snapshot again. And

Re: Maven 2.0.6 source release

2007-04-30 Thread Thomas Leonard
For others with the same problem: upgrading maven-assembly-plugin from version 2.1 to 2.2-beta-1 fixed it for me. I don't know why. On Mon, 2007-04-30 at 12:12 +0100, Thomas Leonard wrote: [ The reason I want the code is because I'm getting some odd errors with a multi-project build. Our tree

Re: Archetype:create problem with 2.0.6

2007-04-30 Thread Wayne Fay
Two possible reasons for this: 1. You've found a bug. Congrats! Go check JIRA and see if its been filed already. If not, file a new bug. 2. Maven best practices suggest that you create all Java code etc in JARs which are tested in their own project and then bundled along with the WAR. The only

Re: Build Module with several SourceDirectories

2007-04-30 Thread Roland Asmann
If you have 2 source-dirs that should be seperately compiled, I think you DO need to split your project... Normally it shouldn't be a problem to let seperated sources be compiled to the same target. What kind of weird requirement do you have that you need something like this? If it is for

Re: Build Module with several SourceDirectories

2007-04-30 Thread Wayne Fay
I'll assume you don't want to split the project because you're using CVS or don't want to break your existing Ant build scripts, or something along those lines. While there are ways to build complex poms by specifying all the source paths etc that would allow you to maintain the current project

Re: How to load Snapshot plugins from the CLI

2007-04-30 Thread gc134728
-- Initial header --- From : Wayne Fay [EMAIL PROTECTED] To : Maven Users List users@maven.apache.org CC : Date : Mon, 30 Apr 2007 10:16:15 -0500 Subject : Re: How to load Snapshot plugins from the CLI I don't know why its not working for you, but

[OT] Duplicate emails annoy everyone...

2007-04-30 Thread Wayne Fay
Can we please all agree to only send messages to this list once?? I won't pick on anyone in particular but here's a few examples... in recent threads I've received 6 messages but only 2 originals, so 4 dupes... another person sent the same (new) message 3 times with slightly different subjects

Re: How to load Snapshot plugins from the CLI

2007-04-30 Thread Wayne Fay
On 4/30/07, gc134728 [EMAIL PROTECTED] wrote: But apparently on the maven site they specify that when you want to run snapshot versions from the cli you need to do something in your settings.xml but they don't specify what. they could just mean a profile with the snapshot repo defenition off

Re: Wrong URL after deploying a plugin in a remote repository

2007-04-30 Thread mateamargo
Thanks for your help. The command mvn help:effective-pom showed me a pluginRepository with that wrong URL in the super POM (which I didn't have access to it). Wayne Fay wrote: You asked before and didn't get an answer. And I doubt you'll get the answer you're looking for this time either.

Re: Where's the error ?

2007-04-30 Thread Wayne Fay
Eclipse does things for you automatically that Maven will not do unless told specifically. So check your dependencies etc. Perhaps Nawfel has some more ideas. Wayne PS- Please don't email me things like this directly, thanks. On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm

RE: WebSphere 6.1 Maven Plugin

2007-04-30 Thread Barrett Nuzum
Hi Mykel, Bala, and others. There's two major concerns when it comes to WebSphere -- RMIC and deployment. Mykel is right that for generating stubs and skeletons, using IBM's tools is easiest. We've used Peter Pilgrim's approach successfully. It's not pretty but it works.

Maven 2 - mvn jetty:run

2007-04-30 Thread winlaw
Hi I am new to Maven and want to run mvn jetty:run on a machine hat is not connected to the Internet. I have all the repositories in my .M2 directory and it all works fine when connected. How do I configure to not download from the Net? I have tried searching forums but finding it difficult as

Re: Maven 2 - mvn jetty:run

2007-04-30 Thread Roland Asmann
use '-o' for offline-mode On Monday 30 April 2007 19:15, winlaw wrote: Hi I am new to Maven and want to run mvn jetty:run on a machine hat is not connected to the Internet. I have all the repositories in my .M2 directory and it all works fine when connected. How do I configure to not

Re: Maven 2 - mvn jetty:run

2007-04-30 Thread winlaw
MALICE wrote: use '-o' for offline-mode On Monday 30 April 2007 19:15, winlaw wrote: Hi I am new to Maven and want to run mvn jetty:run on a machine hat is not connected to the Internet. I have all the repositories in my .M2 directory and it all works fine when connected. How do

Re: How to load Snapshot plugins from the CLI

2007-04-30 Thread Mykel Alvis
Also, you could post the settings.xml that was giving you trouble (sans any private info, of course). On 4/30/07, Wayne Fay [EMAIL PROTECTED] wrote: On 4/30/07, gc134728 [EMAIL PROTECTED] wrote: But apparently on the maven site they specify that when you want to run snapshot versions from

Re: How to load Snapshot plugins from the CLI

2007-04-30 Thread Mykel Alvis
Doh! My fault. You have to specify a pluginRepository to get that snapshot...sorry. On 4/30/07, gc134728 [EMAIL PROTECTED] wrote: -- Initial header --- From : [EMAIL PROTECTED] To : Maven Users List users@maven.apache.org CC : Date : Mon, 30 Apr

antrun plugin not honoring overwrite=false (explicit or by default)

2007-04-30 Thread Jared Blitzstein
Anyone else have a problem with antrun ignoring overwrite=false? I have the following in my pom plugin artifactIdmaven-antrun-plugin/artifactId executions execution

Re: [m2] Dependency Ordering Headache

2007-04-30 Thread gridplan
Hi Wayne, Thank you for responding. I would say it's more a shortcoming of Maven if I'm not given control over how Jars are ordered on the classpath. Sometimes it's necessary to specify the order in which Jars appear on the classpath. For example, the first Jar,

Re: [OT] Duplicate emails annoy everyone...

2007-04-30 Thread Arnaud HERITIER
And don't forget to subscribe to the list or we have to moderate you, that's why you don't see your message in the list... and that's why we (moderators) can do errors and let pass several times the same email. Arnaud On 30/04/07, Wayne Fay [EMAIL PROTECTED] wrote: Can we please all agree to

Re: [ANN] Maven Jar Plugin 1.8.1 for Maven 1.x released

2007-04-30 Thread Arnaud HERITIER
sorry for the noise .. Arnaud On 30/04/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: We are pleased to announce the Maven Jar Plugin 1.8.1 release! http://maven.apache.org/maven-1.x/plugins/jar/ Plugin for creating JAR files.

MRELEASE-134 Update/Workaround

2007-04-30 Thread Dave Hoffer
Does anyone know when a release of the release plug-in will be made with MRELEASE-134 fixed? Also, it seems that all (most) other plug-ins have the same problem; I have observed this bug with the idea, assembly dependency plug-in. It seems troubling to me that so many plug-ins have this bug.

Re: [m2] Dependency Ordering Headache

2007-04-30 Thread Wayne Fay
I disagree. The Maven model would simply require that Weblogic produce updated JARs with the patches applied, and you would roll the versions in the poms (or simply import a single pom provided by Weblogic where they manage versions and artifacts for you) and rebuild your project. This sounds far

[ANN] Maven Jar Plugin 1.8.1 for Maven 1.x released

2007-04-30 Thread aheritier
We are pleased to announce the Maven Jar Plugin 1.8.1 release! http://maven.apache.org/maven-1.x/plugins/jar/ Plugin for creating JAR files. === Changes in this version include: Changes: o Change the default

Re: Exclude some classes when package a jar.

2007-04-30 Thread Jerome Lacoste
On 4/25/07, Trevor Torrez [EMAIL PROTECTED] wrote: How would you post process a jar and what phase would that process be bound to? using the assembly plugin during the package phase ? J - To unsubscribe, e-mail: [EMAIL

Re: Proxying repositories

2007-04-30 Thread lastrada
Arnaud, Thanks kindly, i upgraded to 2.0.6 and it worked like a charm! Not sure what you meant by Arnaud HERITIER wrote: But be careful, if you mix releases and snapshots, maven 2 will automatically update your plugins with snapshots ... Is there an issue here? Could you clarify what

Specify snapshot build number

2007-04-30 Thread Paul Gier
Is there a way I can specify which snapshot build my project should use in it's dependencies? I would like maven to ignore the latest snapshot version, and refer to a specific snapshot build number. Thanks! - To unsubscribe,

[m2] Running Hibernates Schema Export Task via Antrun plugin not working

2007-04-30 Thread thuss2
Does anyone have any suggestions on why the Hibernate SchemaExportTask doesn't seem to work from within the Antrun plugin? The issue appears to be that it can read the hbm.xml file but it's not finding the corresponding .class file sitting in the same directory which is in the classpathref being

Re: Specify snapshot build number

2007-04-30 Thread Wayne Fay
You need to specify the snapshot number(s) in the dependency(ies) version tag(s), rather than simply ie 1.1-SNAPSHOT. Wayne On 4/30/07, Paul Gier [EMAIL PROTECTED] wrote: Is there a way I can specify which snapshot build my project should use in it's dependencies? I would like maven to ignore

Re: [m2] Dependency Ordering Headache

2007-04-30 Thread gridplan
Granted. There is obviously more than one way to roll out a fix. But in my view it's not WebLogic's job to change their approach because Maven does not embrace the notion of an ordered classpath. I don't hold as self-evident the idea that Builds which depend upon the ordering of artifacts in

command line variable overrides

2007-04-30 Thread Adam Fisk
This seems like a ridiculously simple problem, but I'm pulling my hair out just specifying a property on the command line. I'd like my properties defined on the command line to register at all with various plugins, but I just can't get it to work. For example, I'd like to do the following: mvn

How to run ant tasks in maven 2?

2007-04-30 Thread Baz
All, I read the page in http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still cannot make a simple ant task work in maven 2. Please help. Here is my code: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasedeploy/phase

Re: How to run ant tasks in maven 2?

2007-04-30 Thread Nico Steppat
Look at the maven book, there are lots of examples, for example: http://www.sonatype.com/book/lifecycle.html Regards, Nico On 4/30/07, Baz [EMAIL PROTECTED] wrote: All, I read the page in http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still cannot make a simple ant task

Maven 2 Plugin Execution Order

2007-04-30 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have seen several Jira entries for the problem where Maven 2 does not guarantee the order of executions of the plugins. I know it was not fixed in 2.0.5. My question is whether it was fixed in 2.0.6. If not, does someone have an idea of when this will be fixed? I have work-around solutions

Re: How to run ant tasks in maven 2?

2007-04-30 Thread Jared Blitzstein
Are you running the deploy goal or something else that executes that phase? Also I'm not sure if you're supposed to define a target. On Apr 30, 2007, at 8:48 PM, Baz wrote: All, I read the page in http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still cannot make a

Re: Archetype:create problem with 2.0.6

2007-04-30 Thread Brendan Donovan
Wayne Fay wrote: Two possible reasons for this: 1. You've found a bug. Congrats! Go check JIRA and see if its been filed already. If not, file a new bug. If there is supposed to be a test directory then this is a bug and I'll submit it in JIRA. I downlaoded a clean 2.0.6 install and ran the

Re: encoding of file name?

2007-04-30 Thread jiangshachina
Hi, From the tests, I'm sure that Maven uses UTF-8 to make archive files by default. If that's true, then we'd better not to use non-ascii characters in file names. a cup of Java, cheers! Sha Jiang jiangshachina wrote: Hello, I made some test with Linux -- Red Hat AS 4.0. [1]I set

Re: How to run ant tasks in maven 2?

2007-04-30 Thread Baz
All, I think I got it. I shouldnt put target line in the pom.xml. It works without it. Thank you. A. On 4/30/07, Jared Blitzstein [EMAIL PROTECTED] wrote: Are you running the deploy goal or something else that executes that phase? Also I'm not sure if you're supposed to define a target.

Re: HOWTO: (Build / ) Release mgmt in multi environment

2007-04-30 Thread David C. Hicks
Roland Asmann wrote: The release-plugin will update your POM to the version you specify as the release-version. It will also commit and tag this verison in your SCM. After that, it will prepare the POM for the new iteration (meaning it updates the version once again) and commits that to your

Re: Maven 2 Plugin Execution Order

2007-04-30 Thread Wendy Smoak
On 4/30/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: I have seen several Jira entries for the problem where Maven 2 does not guarantee the order of executions of the plugins. I know it was not fixed in 2.0.5. My question is whether it was fixed in 2.0.6. If not, does