RE: Maven, SCM and release builds

2007-02-14 Thread Jörg Schaible
Hi Mark, Mark Struberg wrote on Wednesday, February 14, 2007 8:20 AM: and this implies, that you name your directories exactly after your artifactIds ... You are right for our current configuration. But this is not necessarily stringent. In our parent pom, we did set the SCM module with

RE: deploying jars without version information

2007-02-14 Thread Ulrich Metzger
I searched the mail archives because of the following problem: Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the *version* *information* in the filename? Thanks, Jpl Ok, i found a solution which works for me with maven 1. In your

maven native

2007-02-14 Thread Laurent GRANIE
Hi everyones, I would like to integrate jogl to my maven2 project. But jogl uses native libraries. I have already used profiles to manage os.family and os.arch variables and so determined the good dependencies. It works in JNLP! Take a look at this files : -

Re: [m2]maven-source-plugin 2.0.1 infinitive source jar build

2007-02-14 Thread Matthias Wessendorf
I still get this with the 202 plugin. I running mvn release:perform -Prelease,staging, where the release profile uses that mavne-source-plugin I am trying Jochen's work around now. -Matthias On 12/11/06, Markku Saarela [EMAIL PROTECTED] wrote: Yes that was the reason. I had LICENCE and NOTICE

Re: I need help with cargo-maven2-plugin.

2007-02-14 Thread Maruf Aytekin
Can someone point me to an example of cargo-maven2-plugin use case? Many Thanks Maruf Maruf Aytekin wrote: Hi All, I need help with cargo-maven2-plugin. I have jboss-4.0.5.GA installed on my testcip server. I am trying to deploy a war webapp to jboss with cargo-maven-plugin. Related part

Dependency Version Ranges. Please help!

2007-02-14 Thread Mau, Bernd
Hello, on Tuesday, February 06 I posted the subject 'Dependency Version Ranges: Unable to specify 0.6 = x 0.7' (see below). I would be please if somebody can help. Thanks a lot! Bernd -Original Message- From: Mau, Bernd Sent: Tuesday, February 06, 2007 9:08 AM To:

Re: [m2] What is the default value for resource?

2007-02-14 Thread dawn.angelito
Hi, I've tried this and it turned out that excludes doesn't work. I'm not sure if this is a bug. I'll try to look at the source code of this and check where it went wrong. Dawn Michael Waluk wrote: Can anyone tell me why I can't seem to get excludes to work for a webResource? I have

tagging using SNAPSHOT numbers

2007-02-14 Thread Tomasz Pik
Hello, Maybe somebody have a receipt for using generated 'number' for SNAPSHOT as a tag name. In other words: during 'mvn deploy' for SNAPSHOT project maven assigns an unique number (say 20070212.142718-1) as a version and then deploy file using that version and put this into maven-metadata.xml

cargo-maven2-plugin containerIdjbos4x/containerId

2007-02-14 Thread Maruf Aytekin
Hi All, I need an example usage of cargo-maven2-plugin. Can someone point me to an example usage for remote deployment on runtime? I have seen http://cargo.codehaus.org/Home it's not helping much. I tried everything on that page but still getting exceptions. Many thanks in advance, Maruf

Change the final name of the artifact in the repository

2007-02-14 Thread gbois
Hi, I want to deploy an archive in a remote repository. I use the mvn deploy:deploy-file maven command. I works but i want the deployed artifact has my specified name : i d'ont want groupId -- artifactId -- version -- artifactId-version-classifier.myextesion but i want groupId-- artifacId

cobertura works on its own but not in reporting mvn site

2007-02-14 Thread Pete
Hi there, mvn cobertura:cobertura works fine, but if I include reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId /plugin then do 'mvn site' although the report html comes out all classes show 0% coverage. I

Re: [m2] Can anyone explain this code

2007-02-14 Thread franz see
Good day to you, Jiaqi, Ah..yes. I also don't understand the purpose of that indexOf(/). The only use case I can think of for that is that when the / is inside the curly braceswhich I don't think is recommendable anyway. But like what you said, the first argument of ${x.y.z} is irrelevant

Re: [m2] Maven from command-line only?

2007-02-14 Thread franz see
Good day, Personally, I still use maven in the command line, and Eclipse as an editor. What I do is that 1. I go to the directory of my maven project 2. Do mvn eclipse:clean eclipse:eclipse ( eclipse:clean is to make sure I start with a clean slate ) 3. Then create the eclipse project from an

Re: [m2] maven native

2007-02-14 Thread franz see
Good day to you, Laurent, If you're referring the eclipse plugin for maven, then I'm guessing yes. AFAIK, the only difference between the commandline maven and the IDE plugin maven is their entry point - the former uses maven-cli, the other, the ide specific component. But nonetheless, both

Re: cobertura works on its own but not in reporting mvn site

2007-02-14 Thread Bob Allison
Try adding version2.0/version for the plugin and see if it works correctly... - Original Message - From: Pete [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Wednesday, February 14, 2007 5:51 AM Subject: cobertura works on its own but not in reporting mvn site

handling of optional 3rd-party-dependencies in tests

2007-02-14 Thread Martin Hoeller
Hi all! I've got a question regarding dependencies. Let me first explain my project structure. - I've got project A which is a web application (WAR). - A depends on project B which is of type JAR. - B depends on hibernate which has an optional dependency on ehcache. My idea is if A wants to use

Re: [m2] Dependency Version Ranges. Please help!

2007-02-14 Thread franz see
Good day to you, Bernd, I don't seem to be getting that behaviour. How were you able to find out that the version it retrieved was 0.7 ? Also, what maven and java version are you using? Cheers, Franz Mau, Bernd wrote: Hello, on Tuesday, February 06 I posted the subject 'Dependency

Re: [m2] handling of optional 3rd-party-dependencies in tests

2007-02-14 Thread franz see
Good day to you, martin, I'm guessing that happened while maven was building module B. AFAIK, that's just a reminder that that jar is using the scope test only. I don't think it's anything to worry about ( not unless you did not specify that jar to be of scope test ). Cheers, Franz matinh

Re: [m2] handling of optional 3rd-party-dependencies in tests

2007-02-14 Thread Martin Hoeller
Hello Franz! Thanks for your quick reply. On 14. February 2007 13:08 franz see wrote: I'm guessing that happened while maven was building module B. Yes, forgot to mention this. AFAIK, that's just a reminder that that jar is using the scope test only. I don't think it's anything to worry

Configuring a parameter

2007-02-14 Thread Jochen Wiedmann
Hi, I have a Mojo, where I would like to only depend on the Plexus role (say MyComponent). I would want the user to select and configure the actual implementation by specifying the role-hint and the configuration. For example, I could imagine that this looks like plugin

Re: [m2] handling of optional 3rd-party-dependencies in tests

2007-02-14 Thread Tim Kettler
Hi, Am Mittwoch, den 14.02.2007, 13:38 +0100 schrieb Martin Hoeller: [...] However, as this is nothing I need to worry about (that's what I expected), I would like this warning to go away. I don't want warnings if everything is fine. What am I missing? There is a recent thread [1] about

maven-jetty-plugin cant instantiate

2007-02-14 Thread juergen.schumacher
Hi, I had recently some strange error with the jetty-plugin. I used the jetty-plugin since a few weeks now. Suddenly when I start jetty with jetty:run-war an error occurs Failed to configure plugin parameters for: org.mortbay.jetty:maven-jetty-plugin:6.1.1 Cause: Class

RE: [m2] Integration-test target runs integration tests twice...

2007-02-14 Thread EJ Ciramella
So we have two types of tests, unit and integration. What we've attempted to do is bind the integration-test lifecycle to the test phase but ONLY run the *Utest.java tests when integration-test was specified. What happens is, by default, the test goal works fine, but when you specify

Re: Maven 2.0.5 release plans?

2007-02-14 Thread Thierry Lach
Well great! Thanks! Happy Valentine's Day to the Maven User community! On 2/13/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 6 Feb 07, at 11:23 AM 6 Feb 07, Thierry Lach wrote: Any idea when Maven 2.0.5 will be released? Tomorrow. Jason.

RE: [m2] Integration-test target runs integration tests twice...

2007-02-14 Thread EJ Ciramella
Sorry I had that backward a bit, integration tests should only run the *Itest.java files. The regular test phase should only include the Utest.java files. We can get the unit tests to run fine, it's the integration tests run via integration-test that run twice. -Original Message- From:

Re: I need help with cargo-maven2-plugin.

2007-02-14 Thread Wayne Fay
Perhaps you should take this email to the Cargo Users mailing list? Wayne On 2/14/07, Maruf Aytekin [EMAIL PROTECTED] wrote: Can someone point me to an example of cargo-maven2-plugin use case? Many Thanks Maruf Maruf Aytekin wrote: Hi All, I need help with cargo-maven2-plugin. I have

Maven 1.x eclipse goal configuration problem

2007-02-14 Thread chbohm
Hi everone, I want to generate a .project with a name value different than artifactId. I have already tried adding maven.eclipse.project.name into project.properties but did not work. What can I do? Thanks in advance! Christian -- View this message in context:

'mvn' not fond

2007-02-14 Thread Eman Ali al-Maktari
Hi every one: I'm a newbie to Continuum .. I installed version 1.0.3 on Linux as well as Maven2.. When I try to build the project I added to Continuum I get an error that tells me 'mvn' not found in my path.. although I'm sure it's set into the PATH.. I tried to re-add the project 4

Re: [m2] Maven from command-line only?

2007-02-14 Thread lightbulb432
My biggest point of confusion on this is the intermingling of the Build Path set within Eclipse (which creates a .classpath file) and the dependencies set in the pom.xml. How are these the same, and how are the different? Do both still need to be used? So in your case are you not using any Maven

Re: 'mvn' not fond

2007-02-14 Thread Stephane Nicoll
Howdy, And the project does not build then? Because I have this warning as well but my projects run fine. You have to identify the user which is used to start Continuum. Once this is done, make sure that the user has mvn in its path. Do not forget to set the JAVA_HOME env variable as well.

Re: 'mvn' not fond

2007-02-14 Thread Emmanuel Venisse
It's just a bad warning message, if mvn is in your PATH, continuum will can build your projects Emmanuel Eman Ali al-Maktari a écrit : Hi every one: I'm a newbie to Continuum .. I installed version 1.0.3 on Linux as well as Maven2.. When I try to build the project I added to Continuum I

Re: [m2] Maven from command-line only?

2007-02-14 Thread nicolas de loof
I'm using this in my 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 http://maven.apache.org/maven-v4_0_0.xsd; This

RE: Deploy to repository | Windows network file url

2007-02-14 Thread Brian-R . Jackson
Thanks Kevan, Actually I found out my previous tries had worked, but were creating a new directory with literally '%20' in the name instead of spaces (my example isn't accurate and the spaces are in the name of a folder not the shared drive). I tried changing the url to have spaces instead of

Re: [m2] Maven from command-line only?

2007-02-14 Thread Wayne Fay
For Maven to work, you need the dependencies set up properly in your pom.xml file. For Eclipse to work, you need the build path set up properly in your .classpath file. The Maven Eclipse plugin simply writes out an Eclipse .classpath file from the dependencies listed in your Maven pom.xml, so

Re: Deploy to repository | Windows network file url

2007-02-14 Thread Wayne Fay
Deploy to shared directories with no spaces in their names? Wayne On 2/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks Kevan, Actually I found out my previous tries had worked, but were creating a new directory with literally '%20' in the name instead of spaces (my example isn't

RE: [m2] Integration-test target runs integration tests twice...

2007-02-14 Thread EJ Ciramella
Here's the important part from the log: [INFO] [INFO] Building Reward Engine [INFO]task-segment: [integration-test] [INFO] [INFO]

Re: [m2] Configuring a parameter

2007-02-14 Thread franz see
Good day to you, Jochen, Get the container by following the Accessing the Plexus Container section of [1]. Then do the look up. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Jochen Wiedmann wrote: Hi, I have a Mojo, where I would like to only

Re: [m2] Maven from command-line only?

2007-02-14 Thread lightbulb432
Oh wow, that sounds handy. Now is there an Eclipse plugin you could recommend that does that all from within Eclipse? Currently I do nearly all development within Eclipse, and I'd strongly prefer not to have to jump back and forth from command-line outside Eclipse to a GUI within it...I prefer

RE: Integration-test target runs integration tests twice...

2007-02-14 Thread franz see
Good day to you, EJ, That is odd. Though a goal may run more than once, an execution should only run once. And in your logs, surefire-iTest ran twice. You may want to file a jira issue for this in [1]. Cheers, Franz [1] http://jira.codehaus.org/browse/MNG EJ Ciramella-2 wrote: Here's

Re: [m2] Maven from command-line only?

2007-02-14 Thread franz see
Good day, As for the first question, please refer to Wayne's answer. As for the second one, - Yes. I edit the pom.xml file just like a regular xml file. For more info, kindly see [1]. And as for the third one, please refer to nico's answer. Cheers, Franz [1]

Nightly schedule not working

2007-02-14 Thread kentlam
I have setup a Maven 2 multiproject in Continuum and created 2 goals for the project, one goal is 'clean install' which runs on the default schedule on an hourly basis, the other goal is 'site-deploy deploy' which run on a nightly schedule at 10 pm each night. The problem is when code are

Re: [m2] Maven 1.x eclipse goal configuration problem

2007-02-14 Thread chbohm
That's it! I am using version 1.09. Thanks Lukas! Thank Lukas Theussl-3 wrote: Which version of the eclipse plugin are you using? The maven.eclipse.project.name property was added in 1.11. -Lukas chbohm wrote: Hi everone, I want to generate a .project with a name value different

RE: Deploy to repository | Windows network file url

2007-02-14 Thread Brian-R . Jackson
Thanks that was helpful. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 10:53 AM To: Maven Users List Subject: Re: Deploy to repository | Windows network file url Deploy to shared directories with no spaces in their names? Wayne On

Re: [m2] Maven from command-line only?

2007-02-14 Thread Wayne Fay
I don't use Eclipse much of the time so I'm probably not the right person to ask. I switch between Eclipse, Netbeans, Idea, and other tools depending on what I'm doing. Rather than rely on IDE plugins, I just use Maven from the command line. I'd suggest you just plan to get used to the command

Re: [m2] Assembly Plugin causes Rebuilds

2007-02-14 Thread takai
That seems to be correct. We used the other version and do not get the rebuilds anymore. Thanks - i'll post a comment with the jira issue. Daniel Edwin Punzalan wrote: hmm... the assembly comes with two versions for each goal. For example, the goals assembly and attached both basically

Re: How do I run scp optional task from inside maven 2 ?

2007-02-14 Thread Wayne Fay
Add this to the bottom of your plugin node: /executions dependencies dependency groupIdant/groupId artifactIdant-optional/artifactId version1.5.3-1/version /dependency dependency

Re: [m2] Maven from command-line only?

2007-02-14 Thread Alexander Sack
What I do which I find very helpful is the following: project name=MyProject default=package property environment=env/ property file=build.properties/ property name=project.dir location=./ property name=mvn value=${env.MAVEN_HOME}\bin\mvn.bat/ !-- Feel free to remove the

Re: [m2] Configuring a parameter

2007-02-14 Thread franz see
Good day to you, Jochen, On top of my head, I suggest you accept as a parameter to your mojo a file path to the components.xml, which would be used to configure your component. Not sure though how to load such things to the plexus container. Also, you may want to try and create other artifacts

Re: [m2] Maven vs source control

2007-02-14 Thread lightbulb432
I have a question about how to combine the structure of source/resource files as required by Maven and as suggested by version control. Of course you're familiar with the Maven structure, and the structure of the version control is often PROJECT/{trunk,branches,tags} How would an example of the

Re: JUnit 4.1 Surefire - Does Not Execute @Before @After methods

2007-02-14 Thread Tom Huybrechts
Make sure you are using a recent surefire snapshot. Out of the box Maven currently has no support for junit4. On 2/14/07, Subhash Chandran [EMAIL PROTECTED] wrote: I am using mvn 2.0.4. I have JUnit 4.1 test cases in my project. The methods I have marked with @After and @Before annotations do

How do I run scp optional task from inside maven 2 ?

2007-02-14 Thread Maruf Aytekin
I am trying to run scp optional task from inside maven 2 to deploy a maven 2 artifact. I keep getting the following error: [ERROR] BUILD ERROR [INFO] [INFO] Error executing ant tasks Embedded error: Could not create

Re: Maven 1.x eclipse goal configuration problem

2007-02-14 Thread Lukas Theussl
Which version of the eclipse plugin are you using? The maven.eclipse.project.name property was added in 1.11. -Lukas chbohm wrote: Hi everone, I want to generate a .project with a name value different than artifactId. I have already tried adding maven.eclipse.project.name into

RE: Nightly schedule not working

2007-02-14 Thread Hendrikse Z. (Zeger)
Hi, I have setup a Maven 2 multiproject in Continuum and created 2 goals for the project, one goal is 'clean install' which runs on the default schedule on an hourly basis, the other goal is 'site-deploy deploy' which run on a nightly schedule at 10 pm each night. The problem is when

Re: [m2] Configuring a parameter

2007-02-14 Thread Jochen Wiedmann
Hi, Franz, On 2/14/07, franz see [EMAIL PROTECTED] wrote: Get the container by following the Accessing the Plexus Container section of [1]. Then do the look up. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook thanks for the hint, I wasn't aware of this

nested pom custom webresources ?

2007-02-14 Thread Christofer Jennings
How do I use a custom webresource in a nested pom? My setup looks like this... [] means it's a folder - [MyApp] - pom.xml - [domain] - pom.xml - [webgui] - pom.xml - [src] - [main] - [webapp] -

Re: Change the final name of the artifact in the repository

2007-02-14 Thread Wayne Fay
As far as I know, this is not possible. Wayne On 2/14/07, gbois [EMAIL PROTECTED] wrote: Hi, I want to deploy an archive in a remote repository. I use the mvn deploy:deploy-file maven command. I works but i want the deployed artifact has my specified name : i d'ont want groupId --

Re: [m2] Maven 2 can't find plugins

2007-02-14 Thread Rod Mclaughlin
*I put this both in repositories and pluginRepositories and it makes no difference* idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases it still says *The plugin

RE: Nightly schedule not working

2007-02-14 Thread kentlam
But the really strange thing is that 'sometimes' the night schedule 'site-deploy deploy' would work or at least I remember it had worked before, it would be able to see the changes for the whole day and run the build. I can't really pinpoint what causes it not to work all of a sudden, I am

Re: Bug in Class org.apache.maven.continuum.web.action.AddMavenTwoProjectAction

2007-02-14 Thread Carlos Sanchez
Please file an issue in http://jira.codehaus.org/browse/CONTINUUM with more details, particularly what is broken. On 2/14/07, David Goemans [EMAIL PROTECTED] wrote: Hi, I found a Bug in the Class org.apache.maven.continuum.web.action.AddMavenTwoProjectAction. To fix this Problem you have to

Re: How to customize the Snapshot pattern?

2007-02-14 Thread Wayne Fay
1. Do *not* cross-post. 2. Could you perhaps use real versions every time, rather than snapshots? Then you could control the version with your build-id ie 1.2.1-16. 3. Perhaps look into changing the Maven code (make Snapshot an interface, etc) and contributing your changes back for inclusion in

Re: How to customize the Snapshot pattern?

2007-02-14 Thread Alexis Midon
1. what do you mean?? 2. yep, this solution crossed my mind but doing that we lose the snapshot feature : automatic artifact updates, etc. 3. crossed my mind too. Thanks for your answer. On 2/14/07, Wayne Fay [EMAIL PROTECTED] wrote: 1. Do *not* cross-post. 2. Could you perhaps use real

Re: [m2] Maven from command-line only?

2007-02-14 Thread Thierry Lach
This Eclipse plugin does a decent job of consolidating M2 and Eclipse... http://maven.apache.org/eclipse-plugin.html It creates an Eclipse classpath container that is dynamically loaded from the pom.xml (or from the parent and child pom.xml files if there are embedded child modules). On

Re: [m2] Maven from command-line only?

2007-02-14 Thread Alexander Sack
Yea I use it as well for exactly that (classpath container variable). Works great! -aps On 2/14/07, Thierry Lach [EMAIL PROTECTED] wrote: This Eclipse plugin does a decent job of consolidating M2 and Eclipse... http://maven.apache.org/eclipse-plugin.html It creates an Eclipse classpath

manifestFile problem

2007-02-14 Thread raghurajan . x . gurunathan
Hi All, before i ask my problem, quick check on one thing, is new ear plugin 2.3 doesn't include implementation details in manifest ? I'm having problemin using manifetFile attribute in ear plugin plugin groupIdorg.apache.maven.plugins

Assembly plugin in a multimodile project

2007-02-14 Thread Aliaksandr Radzivanovich
How is it possible to make an assembly in a multi module project? I'm sure this could be pretty easy, but I get a lot of problems with this task. Suppose I have two modules in my project: module1 and module2, and the later depends on the former. When I execute command 'mvn assembly:assembly',

Re: How to customize the Snapshot pattern?

2007-02-14 Thread Wayne Fay
1. Your original email was sent to both users@ and [EMAIL PROTECTED] Send emails to one mail list or the other, but not both at the same time. Maven Developers are subscribed to both lists and will see your message (and respond, if they are so inclined) on users@ just as readily as they will on

RE: Integration-test target runs integration tests twice...

2007-02-14 Thread EJ Ciramella
Which requires a login Sigh Signing up for yet another maven related item -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 11:07 AM To: users@maven.apache.org Subject: RE: Integration-test target runs integration tests

RE: Integration-test target runs integration tests twice...

2007-02-14 Thread EJ Ciramella
See: MNG-2826 Done... -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 1:47 PM To: Maven Users List Subject: RE: Integration-test target runs integration tests twice... Which requires a login Sigh Signing up for yet

How to customize the Snapshot pattern?

2007-02-14 Thread Alexis Midon
Hi all, Here is my problem: I would like to customize the Snapshot pattern. The reason is that my maven project is a small part of a bigger project. The global continious build generates a build-id I want to use as the snapshot identifier. So that my artifacts and all others external components

RE: [m2] Integration-test target runs integration tests twice...

2007-02-14 Thread Bashar Abdul Jawad
Hi, This is not a bug, your pom is not configured correctly. Try this in your POM file: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration

RE: [m2] Integration-test target runs integration tests twice...

2007-02-14 Thread Bashar Abdul Jawad
Sorry, I had a small mistake in my pom, the correct version is : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration

Re: [m2] Running Macker with Maven 2

2007-02-14 Thread Grégory Joseph
Hi Rune, Sounds nice - I didn't know macker :) It should also be pretty easy to wrap to ant task in a mojo - thus making pom reading requiring much less sandwiches. Thanks for sharing ! g On 14/02/07, Rune Flobakk [EMAIL PROTECTED] wrote: Hi, I've recently been trying out the Macker tool

[ANN] Maven Compiler Plugin 2.0.2 for Maven 2 Released

2007-02-14 Thread Carlos Sanchez
The Maven team is pleased to announce the release of the Maven Compiler Plugin, version 2.0.2 http://maven.apache.org/plugins/maven-compiler-plugin/ You can run mvn -up to get the latest version of the plugin, or specify the version in your project's plugin configuration: plugin

Re: [m2] Maven from command-line only?

2007-02-14 Thread lightbulb432
It creates an Eclipse classpath container that is dynamically loaded from the pom.xml (or from the parent and child pom.xml files if there are embedded child modules). I'm not sure what is meant by the above line (beginner :) Could you please expand, as it sounds interesting and relevant to

Re: [m2] Maven from command-line only?

2007-02-14 Thread Alexander Sack
Eclipse defines certain dependencies in its plugin framework as classpath containers variables (see Eclipse doc). Basically what the Eclipse plugin does (and you can verify by looking at your .classpath file of your project) is create a dynamic classpath container that is connected to your

[m2] Running Macker with Maven 2

2007-02-14 Thread Rune Flobakk
Hi, I've recently been trying out the Macker tool (http://innig.net/macker) to enforce architectural rules in a project of mine. I did some searching in this mailing list as well as Google if there was a way to run Macker with Maven 2, but only found questions from others asking how this should

Changing the project name

2007-02-14 Thread chbohm
Hi everyone! I want to set maven.eclipse.project.name property to point to the basedir. The problem is that if I set maven.eclipse.project.name = ${baseDir} in the project.properties, the name tag in .project file would have the full path instead of only having the directory name. I have already

Create Maven repository

2007-02-14 Thread lightbulb432
I installed Maven, created a repository, but it created it in the default location which is not where I wanted it to be. I tried changing to the directory I want it to be and re-ran the command, but it didn't create the repository in that location. How could I make a brand-new repository in the

Re: [m2] Recommended way to add config files?

2007-02-14 Thread John J. Franey
Since yours is a recent post and sounds related to something I'm just finishing off, I'll post here what I have done. Maybe its useful to you or somebody. What I wanted to do was create an archive containing my custom pieces overlaid into publicly available distribution. Specifically, I want

Re: Create Maven repository

2007-02-14 Thread Wayne Fay
This is already well documented. Please search the Maven website and/or the Maven Users mail list archives in the future for answers to questions like these. Go to http://maven.apache.org Click Use Maven in the middle, under Learning about Maven Click Settings Reference, under Reference Read

Re: Maven 2.0.5 Released

2007-02-14 Thread Mark Derricutt
On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote: The Maven team would like to announce the release of Maven 2.0.5. Congrats on the release - I see theres no maven 2.0.5 antlib listed - still coming or a separate release? Mark

Re: Maven 2.0.5 Released

2007-02-14 Thread Jason van Zyl
On 14 Feb 07, at 5:23 PM 14 Feb 07, Mark Derricutt wrote: On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote: The Maven team would like to announce the release of Maven 2.0.5. Congrats on the release - I see theres no maven 2.0.5 antlib listed - still coming or a separate release?

Re: Assembly plugin in a multimodile project

2007-02-14 Thread Régis Décamps
On 2/14/07, Aliaksandr Radzivanovich [EMAIL PROTECTED] wrote: Suppose I have two modules in my project: module1 and module2, and the later depends on the former. When I execute command 'mvn assembly:assembly', maven compiles first module successfully. But when it proceeds to the second module,

Re: [m2] Maven vs source control

2007-02-14 Thread Régis Décamps
On 2/14/07, lightbulb432 [EMAIL PROTECTED] wrote: I have a question about how to combine the structure of source/resource files as required by Maven and as suggested by version control. Of course you're familiar with the Maven structure, and the structure of the version control is often

Re: [m2] Maven 2 can't find plugins

2007-02-14 Thread franz see
Good day, Rod, Sorry about that... I have just taken a look at the repository itself and its seems that the jar of xfire-maven-plugin is not there. Then I guess the only thing left to do is to checkout the source, and build it yourself. Cheers, Franz Rod Mclaughlin-2 wrote: *I put this

Maven 2.0.5 Released

2007-02-14 Thread Jason van Zyl
The Maven team would like to announce the release of Maven 2.0.5. You can find the roadmap for the release here: http://jira.codehaus.org/secure/IssueNavigator.jspa? reset=truepid=10500fixfor=12294sorter/field=issuekeysorter/ order=DESC The release notes can be found here:

Re: Maven 2.0.5 Released

2007-02-14 Thread Jason Dillon
Rejoice! --jason On Feb 14, 2007, at 1:53 PM, Jason van Zyl wrote: The Maven team would like to announce the release of Maven 2.0.5. You can find the roadmap for the release here: http://jira.codehaus.org/secure/IssueNavigator.jspa?

AW: [m2] Maven from command-line only?

2007-02-14 Thread Thorsten Vogel
Personally, I still use maven in the command line, and Eclipse as an editor. Me too. I wrote an Eclipse plug-in to open a command shell window in the current package explorer directory. Let me know if you are interested. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL

How to deploy sources and javadocs?

2007-02-14 Thread Dave Hoffer
It doesn't seem the deploy plug-in supports deploying sources and javadocs for external artifacts. How can this be done? -dh

Re: How to deploy sources and javadocs?

2007-02-14 Thread Stephen Duncan
mvn clean deploy -DperformRelease=true -Stephen On 2/14/07, Dave Hoffer [EMAIL PROTECTED] wrote: It doesn't seem the deploy plug-in supports deploying sources and javadocs for external artifacts. How can this be done? -dh -- Stephen Duncan Jr www.stephenduncanjr.com

Maven 2.0.5 Released

2007-02-14 Thread Morgovsky, Alexander \(US - Glen Mills\)
In a previous post it was stated that it was a known issue that Maven 2.0.4 did not guarantee order of executions of multiple plug-in's mapped to the same phase. Has this been fixed in 2.0.5? Thanks. This message (including any attachments) contains confidential information intended for a

Re: Maven 2.0.5 Released

2007-02-14 Thread Carlos Sanchez
no, check http://jira.codehaus.org/browse/MNG-2258 On 2/14/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: In a previous post it was stated that it was a known issue that Maven 2.0.4 did not guarantee order of executions of multiple plug-in's mapped to the same phase. Has

Re: Change the final name of the artifact in the repository

2007-02-14 Thread Jason van Zyl
On 14 Feb 07, at 12:19 PM 14 Feb 07, Wayne Fay wrote: As far as I know, this is not possible. It is not, and never will be. If we let you install/deploy with a different name then what Maven understands you could never get it back or refer to it again with Maven. If you just want to

Re: How to deploy sources and javadocs?

2007-02-14 Thread Stephen Duncan
Damn, I keep giving all the wrong advice based on things that are going to stop working... The release plugin isn't really a replacement; in order to easily have source access in Eclipse for debugging, I want to install/deploy the source/javadocs for SNAPSHOTs too. Plus, even for releases, I

RE: How to deploy sources and javadocs?

2007-02-14 Thread Dave Hoffer
What I meant was is there a way to use deploy:deploy-file [with all the parameters] to handle source and javadoc jars? I can't see any to do this? I have an external artifact I want to deploy to my corporate maven repo and it has binary, source javadoc jars. I would like to deploy all three

Re: How to deploy sources and javadocs?

2007-02-14 Thread Jason van Zyl
On 14 Feb 07, at 9:40 PM 14 Feb 07, Stephen Duncan wrote: Damn, I keep giving all the wrong advice based on things that are going to stop working... The release plugin isn't really a replacement; in order to easily have source access in Eclipse for debugging, I want to install/deploy the

Re: How to deploy sources and javadocs?

2007-02-14 Thread Joakim Erdfelt
Manual way ... mvn clean source:jar javadoc:jar deploy That causes the jar to be create for each, and be attached to the 'current' active build. The deploy just takes what is attached and deploys it. - Joakim Dave Hoffer wrote: It doesn't seem the deploy plug-in supports deploying sources and

Re: [m2] maven embedder

2007-02-14 Thread Jochen Wiedmann
On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote: live. That's where we're planning the official IDE integration for Maven. What about M2Eclipse? You call this official? -- How fast can a year go? As fast as your childs first year.

When will maven-release-plugin 2.0-beta-5 be released?

2007-02-14 Thread Christian Sauer
Hi, does anybody know when the version 2.0-beta-5 of maven-release-plugin will be released? thanx for a hint! cheers, chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

mvn 2.0.5 release not covered by http://www.apachenews.org/

2007-02-14 Thread Subhash Chandran
I track Apache Foundation project releases using this site: http://www.apachenews.org/ I am surprised not to find the mvn 2.0.5 release mentioned here. -- Regards, Subhash Chandran S http://wizcrypt.wiztools.org/ - To

  1   2   >