Re: howto get scm revision information into a assembly

2007-01-11 Thread Emmanuel Venisse
File an issue on Maven-SCM project and we'll fix it. Emmanuel berndq a écrit : Hi, I can get it into a property but can't get it into e.g. the manifest file due to http://jira.codehaus.org/browse/MASSEMBLY-121 I was wrong, I can not get it into a property. Using plugin

JAXB2 versus Maven2

2007-01-11 Thread Franz Fehringer
Hello, It seems, that http://repo1.maven.org/maven2/ is still stuck with 2.0EA3? Who can take care of this? Greetings Franz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JAXB2 versus Maven2

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, Franz Fehringer [EMAIL PROTECTED] wrote: It seems, that http://repo1.maven.org/maven2/ is still stuck with 2.0EA3? Who can take care of this? Use the sun java repository for Maven. See https://maven-repository.dev.java.net/ -- My wife Mary and I have been married for

Re: JAXB2 versus Maven2

2007-01-11 Thread Franz Fehringer
I cannot use this, see my recent (few minutes ago) posting regarding Re: calling vote for 2.0.5 (Maven2 cannot access HTTPS (SSL) repositories from behind proxies/firewalls). Franz Jochen Wiedmann schrieb: On 1/11/07, Franz Fehringer [EMAIL PROTECTED] wrote: It seems, that

Re: JAXB2 versus Maven2

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, Franz Fehringer [EMAIL PROTECTED] wrote: I cannot use this, see my recent (few minutes ago) posting regarding Re: calling vote for 2.0.5 (Maven2 cannot access HTTPS (SSL) repositories from behind proxies/firewalls). Use a Maven proxy like Proximity to access the Sun repository.

Re: [m 1.1] UMLGraph: Not generating files into target/docs/apidocs

2007-01-11 Thread Gisbert Amm
Silly me! You were right. It's all working well with version 1.8. Thanks a lot. -Gisbert Arnaud HERITIER wrote: Your problem is certainly related to MPJAVADOC-56 which is fixed in the version 1.8 Can you try to update this plugin ? Arnaud On 1/10/07, Gisbert Amm [EMAIL PROTECTED]

changing phase of javadoc:jar and sources:jar

2007-01-11 Thread DJP JEAN-PROST Dominique
Hello, I would like my team to deploy to my repository the following jars : binaries (of course), sources and javadoc. As javadoc generation is a bit time costly, I would like to get it generated only on the deploy phase, so that, everyday work is not slowed by this generation. I did the

Re: changing phase of javadoc:jar and sources:jar

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, DJP JEAN-PROST Dominique [EMAIL PROTECTED] wrote: I would like my team to deploy to my repository the following jars : binaries (of course), sources and javadoc. As javadoc generation is a bit time costly, I would like to get it generated only on the deploy phase, so that,

Re: changing phase of javadoc:jar and sources:jar

2007-01-11 Thread Mark Hobson
On 11/01/07, DJP JEAN-PROST Dominique [EMAIL PROTECTED] wrote: I would like my team to deploy to my repository the following jars : binaries (of course), sources and javadoc. As javadoc generation is a bit time costly, I would like to get it generated only on the deploy phase, so that,

Eclipse throwed the error when runed compile

2007-01-11 Thread fy
Hi, My project develope with Eclipse:3.2.1 , maven:2.0.4 and org.maven.ide.eclipse:0.0.9. Eclipse throwed the error when runed compile: [INFO] [INFO] Building maven_itms Maven Webapp [INFO]task-segment: [compile]

Re: JAXB2 versus Maven2

2007-01-11 Thread Aleksei Valikov
Hi. It seems, that http://repo1.maven.org/maven2/ is still stuck with 2.0EA3? Who can take care of this? https://maven-repository.dev.java.net/ https://maven2-repository.dev.java.net/ Bye. /lexi - To unsubscribe, e-mail:

Re: jar signing - the good and the bad

2007-01-11 Thread diroussel
Great, I get alot further now. You are very helpful Tom. All my jars build ok and get signed. It's just when it gets to the EJBs that is falls over now. There exists a jar TATTestEJB\target\TATTestEJB.jar But the jarsigner is looking for TATTestEJB\target\TATTestEJB.ejb I'm using

Maven 1.0.2

2007-01-11 Thread Murugan
Hi All... I want MAven 1.0.2 version. I visit the maven site but the require version page is outdated ,so where i download. Thx in advance With regards Murugan -- View this message in context: http://www.nabble.com/Maven-1.0.2-tf2958062s177.html#a8275174 Sent from the Maven - Users

Re: Maven 1.0.2

2007-01-11 Thread Lukas Theussl
http://maven.apache.org/maven-1.x/start/download.html -Lukas Murugan wrote: Hi All... I want MAven 1.0.2 version. I visit the maven site but the require version page is outdated ,so where i download. Thx in advance With regards Murugan

Re: Maven 1.0.2

2007-01-11 Thread Emmanuel Venisse
http://maven.apache.org/maven-1.x/start/download.html Murugan a écrit : Hi All... I want MAven 1.0.2 version. I visit the maven site but the require version page is outdated ,so where i download. Thx in advance With regards Murugan

Re: Correlation between tagging and versioning

2007-01-11 Thread Yann Le Du
Hi Los, maven-release-plugin is your friend : http://maven.apache.org/plugins/maven-release-plugin/ Tag version and POM version must indeed match. - Yann 2007/1/11, moraleslos [EMAIL PROTECTED]: I'm about to tag my code in my repository to the maven-recommended x.x.x-y-z format--

Re: Compiling with javamake

2007-01-11 Thread Martin M
Hi all, I solved the issue on my own. I implemented my own compiler-plugin and activated it via replacing the default compiler in components.xml of maven-core.jar. It seems to work fine now. Regards, Martin Martin M wrote: Hi all, I wanted to compile my project with javamake instead

Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tobias Jenkner
Hello, when I use the maven-ear-plugin in its latest (released) version 2.3, it seams that the plugin does not copy the resources any more. The build fails because it cannot locate the application.xml any more: [INFO]

passing custom parameters to a custom compiler-plugin

2007-01-11 Thread Martin M
Hi all, I implemented a custom compiler-plugin. Now I'd like to pass some parameters to it, but I don't get it working. My plugin always tells me that the parameters have null-value. I assume it's possible to pass parameters to a compiler-plugin, isn't it. The plugin-code looks like this: /**

Re: problems running project on jetty

2007-01-11 Thread bendg
I have been struggling with this problem for a couple of days now, any ideas? [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.codehaus.mojo:jetty-maven-plugin' does not exist or no valid version could be found I tried

Re: problems running project on jetty

2007-01-11 Thread Mark Hobson
On 11/01/07, bendg [EMAIL PROTECTED] wrote: I have been struggling with this problem for a couple of days now, any ideas? [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.codehaus.mojo:jetty-maven-plugin' does not exist

Re: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tom Huybrechts
I had the same problem today Let me quote somebody: you can still make it work if you explicitely set the resources directory configurationresourcesDir${project.build.outputDirectory}/resourcesDir /configuration tom On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote: Hello, when I

Maven Compiler plugin

2007-01-11 Thread raju
Hi, I am trying to compile files in a folder and move them to a directory. It gives the following error: Diagnosis: Compilation failure FATAL ERROR: Error executing Maven for a project org.apache.maven.BuildFailureException: Compilation failure at

Re: problems running project on jetty

2007-01-11 Thread bendg
Thanks - this works a treat... Mark Hobson wrote: On 11/01/07, bendg [EMAIL PROTECTED] wrote: I have been struggling with this problem for a couple of days now, any ideas? [ERROR] BUILD ERROR [INFO] [INFO] The

Re: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tobias Jenkner
I do not understand the reason for this change? why do I have to configure the resources directory on my own? the maven approach is convention over configuration, isn't it? or is it deprecated to use resources in this place? where should I place them instead? thanks for your help, Tobias.

Re: multi project interdependencies

2007-01-11 Thread meberts
Hi, you're saying: If a dependency of your maven project does not exist when you execute a maven command, then that project will not bulid ( assuming ofcourse the maven command requires a pom to execute ). This would be an even bigger problem during install/deploy calls: What would then

Re: Maven Compiler plugin

2007-01-11 Thread Wendy Smoak
On 1/11/07, raju [EMAIL PROTECTED] wrote: Hi, I am trying to compile files in a folder and move them to a directory. It gives the following error: Diagnosis: Compilation failure FATAL ERROR: Error executing Maven for a project org.apache.maven.BuildFailureException: Compilation failure

Re: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tom Huybrechts
I don't know why the defaults changed... If you want the previous behaviour, fix your plugin version to 2.2 On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote: I do not understand the reason for this change? why do I have to configure the resources directory on my own? the maven approach is

calling Maven goal from ant

2007-01-11 Thread Morgovsky, Alexander \(US - Glen Mills\)
In the Ant file, create an exec task and spawn a shell and execute something like mvn goal. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should

Re: multi project interdependencies

2007-01-11 Thread franz see
Good day to you, M, Actually, it's subproject A - compile subproject A - test subproject A - jar subproject A - install subproject A - deploy subproject B - compile - in need of a subproject A jar (searching in repostitory) subproject B - test - proceeds only if an OLDER

Re: calling Maven goal from ant

2007-01-11 Thread Siegfried Goeschl
Hi folks, under Windows you loose the result code from the Maven invocation - therefore I use the following snippet to invoken maven target name=-mvn:invoke property name=maven.home value=${env.CM_HOME}/tools/maven2 / property name=maven.failonerror value=true / java

Re: howto get scm revision information into a assembly

2007-01-11 Thread berndq
http://jira.codehaus.org/browse/SCM-270 File an issue on Maven-SCM project and we'll fix it. Emmanuel berndq a écrit : Hi, I can get it into a property but can't get it into e.g. the manifest file due to http://jira.codehaus.org/browse/MASSEMBLY-121 I was wrong, I can not get it into a

Re: calling Maven goal from ant

2007-01-11 Thread Irrisor
Thanks for your answer. But... Morgovsky, Alexander (US - Glen Mills) wrote: In the Ant file, create an exec task and spawn a shell and execute something like mvn goal. this won't work as on the target machine maven is probably not installed and even if it is installed might need invocation

Re: Correlation between tagging and versioning

2007-01-11 Thread moraleslos
Hi Yann, Thanks for the reply. I guess what I was looking for is if I needed to do everything, e.g. tagging, through maven2 or can I do that in SVN and then sync the releases with maven2? -los Yann Le Du-4 wrote: Hi Los, maven-release-plugin is your friend :

Re: Compiling with javamake

2007-01-11 Thread Wayne Fay
If this is something that others might benefit from, it would be nice if you would package it up and contribute it to the Maven Compiler plugin team for inclusion in a future release. I'm not familiar with javamake so I don't know how many people use it, why you'd choose it over javac, etc but

Re: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Wayne Fay
I ran into this myself and at first didn't know why suddenly my WAR was showing up in the wrong contextPath. Then realized it was probably due to the new EAR release. So instead of changing the configuration to use my application.xml, I just added some configuration to the EAR plugin node in

cobertura-maven-plugin-2.1 is brokens?

2007-01-11 Thread Dan Tran
The latest version displays wrong statistiscs ( all show %100 coverage ). Do you see what I see? ;-) http://mojo.codehaus.org/dbunit-maven-plugin/cobertura/index.html -D

Re: cobertura-maven-plugin-2.1 is brokens?

2007-01-11 Thread Martin Gilday
Yes I think it has been broken for a while. I have seen quite a lot of recommendations to stick with 2.0. - Original message - From: Dan Tran [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Date: Thu, 11 Jan 2007 07:31:09 -0800 Subject: cobertura-maven-plugin-2.1 is

Re: cobertura-maven-plugin-2.1 is brokens?

2007-01-11 Thread Dan Tran
Thanks, Hate the change mojo's root pom to pin down the version ;-) -D On 1/11/07, Martin Gilday [EMAIL PROTECTED] wrote: Yes I think it has been broken for a while. I have seen quite a lot of recommendations to stick with 2.0. - Original message - From: Dan Tran [EMAIL

RE: cobertura-maven-plugin-2.1 is brokens?

2007-01-11 Thread LECAN Damien
Hate the change mojo's root pom to pin down the version ;-) Time to correct the bug ? Several major bugs have been raised on this version (2.1) for a while, and no one works on them.

RE: cobertura-maven-plugin-2.1 is brokens?

2007-01-11 Thread Martin Gilday
I might be rememembering this incorrectly but I think quite a few of the bugs stem from the plugin version 2.1 dependeing on cobertura lib 1.8 whereas 2.0 dependds on 1.7. A killer for some people is the you cant change the location of the cobertura.ser, with it always being in the project root.

multiple compiling for code coverage

2007-01-11 Thread David_Bokor
I'm trying to compile my source more than once with debug turned off and then turned on. I'm doing this because I want debugging off in jars but I need debugging on for Cobertura code coverage to be able to instrument the code. I've been trying something like this:

enabling logging

2007-01-11 Thread Dmitry Beransky
Hi, How can I enable debug level logging for maven's plugins. I'd like to see what goes on before this exception is thrown: Caused by: org.apache.maven.plugin.MojoExecutionException: Error uploading site at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:184)

Re: passing custom parameters to a custom compiler-plugin

2007-01-11 Thread franz see
Good day to you, Martin M, May I ask you to repost this again. It seems as though your message have been made into one long line which makes it hard to read. Thanks, Franz Martin M wrote: Hi all, I implemented a custom compiler-plugin. Now I'd like to pass some parameters to it, but I

Re: changing phase of javadoc:jar and sources:jar

2007-01-11 Thread franz see
Good day, Actually, the Super POM already has that ( see release-profile of [1] ). Cheers, Franz [1] http://maven.apache.org/guides/introduction/introduction-to-the-pom.html Jochen Wiedmann wrote: On 1/11/07, DJP JEAN-PROST Dominique [EMAIL PROTECTED] wrote: I would like my team to

Re: Compiling with javamake

2007-01-11 Thread Martin Moser
Hi Wayne, thanks for showing this up. I intend to do so, but before I've to complete it. :-) Regards, Martin --On Donnerstag, Januar 11, 2007 09:25:30 -0600 Wayne Fay [EMAIL PROTECTED] wrote: If this is something that others might benefit from, it would be nice if you would package it up

maven-war-plugin overwriting options

2007-01-11 Thread Ismael
When we combine more than one war file as dependencies. Is there a way to specify overwrite priority ? We have three wars a.war, b.war and c.war and we are building a fourth war (target.war) that will combine the three wars. In case we get a collision between this wars, we want a.war

RE: enabling logging

2007-01-11 Thread Ian Springer
Have you tried running mvn with -X ? | -Original Message- | From: Dmitry Beransky [mailto:[EMAIL PROTECTED] | Sent: Thursday, January 11, 2007 11:22 AM | To: Maven Users List | Subject: enabling logging | | Hi, | | How can I enable debug level logging for maven's plugins. | I'd like

Re: passing custom parameters to a custom compiler-plugin

2007-01-11 Thread Martin Moser
I'm sorry,I hope now it's better :-) Hi all, I implemented a custom compiler-plugin. Now I'd like to pass some parameters to it, but I don't get it working. My plugin always tells me that the parameters have null-value. I assume it's possible to pass parameters to a compiler-plugin, isn't it.

maven-war-plugin overwriting options

2007-01-11 Thread ismael
When we combine more than one war file as dependencies. Is there a way to specify overwrite priority ? We have three wars a.war, b.war and c.war and we are building a fourth war (target.war) that will combine the three wars. In case we get a collision between this wars, we want a.war

Re: enabling logging

2007-01-11 Thread Dmitry Beransky
I can't. This problem happens only when I run maven under TeamCity (a continuous build app). Unfortunately, TeamCity doesn't give me an option of passing command line parameters to Maven. On 1/11/07, Ian Springer [EMAIL PROTECTED] wrote: Have you tried running mvn with -X ? | -Original

Re: enabling logging

2007-01-11 Thread Dmitry Beransky
On 1/11/07, Ian Springer [EMAIL PROTECTED] wrote: Have you tried running mvn with -X ? besides, when I do this from CLI, i don't get debug level messages, just extra exception traces, which is not what I'm after. - To

RE: passing custom parameters to a custom compiler-plugin

2007-01-11 Thread Jörg Schaible
Hi Martin, there's no automation. You need to provide the expression for the parameter to initialize: [snip] /** * @parameter expression=${testParam} **/ private String testParam [snip] Within the expression you can also address other parts of the POM ... another

Re: war plugin for content managment

2007-01-11 Thread Todd Nine
Thanks, I'll take a look at it. Sorry for the late reply, your email got caught by my spam filter. Do you know if cargo support deployment via scp? I'd prefer to push to the web server in the DMZ rather than have an extra process running outside the firewall. Thanks, Todd On 1/9/07, Wayne Fay

Re: war plugin for content managment

2007-01-11 Thread Wayne Fay
You'll need to ask on the Cargo Users list, unfortunately. I don't use it much myself at this point, though I'm getting ready to very soon. Wayne On 1/11/07, Todd Nine [EMAIL PROTECTED] wrote: Thanks, I'll take a look at it. Sorry for the late reply, your email got caught by my spam filter.

RE: enabling logging

2007-01-11 Thread Ian Springer
-e turns on exception stack traces, and -X turns on debug logging. Btw, I've had the same problem with not being able to turn on debug when running under TeamCity. I asked JetBrains about it, and they said there's currently no way to do it. I keep meaning to file a JIRA with JetBrains for it, so

Re: calling Maven goal from ant

2007-01-11 Thread Dan Tran
this works for me project name=sample default=maven !-- we want to exec mvn on Unix systems, and mvn.bat on windows -- condition property=maven.extension value=.bat else= os family=windows/ /condition property name=mvn.exe value=mvn${maven.extension}/ target name=maven exec

Re: JAXB2 versus Maven2

2007-01-11 Thread Carlos Sanchez
we sync from the java.net repo to central when users request something missing, as long as it's properly done there On 1/11/07, Aleksei Valikov [EMAIL PROTECTED] wrote: Hi. It seems, that http://repo1.maven.org/maven2/ is still stuck with 2.0EA3? Who can take care of this?

How to get plugin mojo to run without using executions in pom?

2007-01-11 Thread Thierry Lach
Warning - m2 programming noobie here. I'm trying to write a mojo that will execute when maven runs anytime the plugin is referenced, without adding the executions. In other words, I want the pom to be: plugin groupIdorg.example.maven/groupId

Re: email build notification not an href

2007-01-11 Thread Satish
I am also looking for this feature and also the way to send failure notifications only to the checkin users in that build activemqer wrote: Hi, How do I make the build results link a hyperlink? It seems to come in as a text string in the build notification emails. Thanks. -- View

RE: maven-war-plugin overwriting options

2007-01-11 Thread Brian E. Fox
There is no control. See this issue: http://jira.codehaus.org/browse/MWAR-66 Even worse, the plugin compares the timestamps of the files individually without regard to which overlay they come from. That means today a file from A might win, but it someone edits a file from B, then B will start

Can not see PluginDescriptor when running a mojo

2007-01-11 Thread Thierry Lach
Warning - m2 programming noobie here. I'm trying to write a very simple mojo to display a message which will include the version number of the plugin. I use the following annotations to access the plugin: /** * Plugin descriptor. * @parameter default-value=${plugin} * @required

Proposal: maven-asf-plugin

2007-01-11 Thread Jochen Wiedmann
Hi, after finding myself to do this again and again for projects, I came to the following idea: How about a special maven-asf-plugin that simplifies Apache projects (in particular, may be Maven itself)? Things this plugin could do: - Provide resources, in particular the latest LICENSE.txt and

Re: xdoc test results for Dennis

2007-01-11 Thread Dennis Lundberg
drekka wrote: Hi Dennis, As expected, the results are the same - no p tags: Hi Derek Actually that's not what I expected. If we are using the same version of Maven and the site-plugin we should get the same results. What OS are you running this on? You might also try to nuke the

Re: Can not see PluginDescriptor when running a mojo

2007-01-11 Thread Thierry Lach
OK, I'm answering my own question. Found the maven code that evaluates the expressions, and it seems that the string plugin does not get evaluated, but strings starting with plugin. such as plugin.version DO get evaluated. The eBook Better Builds With Maven indicates (in A.2.1) that ${plugin}

Issues with SCM strings

2007-01-11 Thread Mykel Alvis
I'm copying and forwarding from another message to see if I can get a response on this. I have a parent pom that defines the SCM of itself and all it's children by using scm:svn:http://${scm.host}/svnrepos/${object.namespace}/${artifactId}/trunk and when I do help:effective-pom, I end up with

Re: enabling logging

2007-01-11 Thread Dmitry Beransky
On 1/11/07, Ian Springer [EMAIL PROTECTED] wrote: I keep meaning to file a JIRA with JetBrains for it, so they'll add something in 1.2. there is an inssue (kind of) for it already: http://www.jetbrains.net/jira/browse/TW-1409

Re: Proposal: maven-asf-plugin

2007-01-11 Thread Brett Porter
On 12/01/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: - Provide resources, in particular the latest LICENSE.txt and NOTICE.txt files. (Note that this would enable to remove them from the subversion repositories.) - Make sure that these LICENSE.txt and NOTICE.txt are being added to jar, war,

Re: Proposal: maven-asf-plugin

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, Brett Porter [EMAIL PROTECTED] wrote: These can be done with the asf parent POM (though we haven't moved the configuration up there yet, it's already possible). A POM cannot provide code. For example, it cannot provide a jar file with the current LICENSE.txt or NOTICE.txt. A

Re: Proposal: maven-asf-plugin

2007-01-11 Thread Tom Huybrechts
On 1/11/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: On 1/11/07, Brett Porter [EMAIL PROTECTED] wrote: These can be done with the asf parent POM (though we haven't moved the configuration up there yet, it's already possible). A POM cannot provide code. For example, it cannot provide a jar

Re: Proposal: maven-asf-plugin

2007-01-11 Thread Brett Porter
On 12/01/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: On 1/11/07, Brett Porter [EMAIL PROTECTED] wrote: These can be done with the asf parent POM (though we haven't moved the configuration up there yet, it's already possible). A POM cannot provide code. For example, it cannot provide a jar

Re: Correlation between tagging and versioning

2007-01-11 Thread moraleslos
I'm reading the maven release:prepare and noticed that it will not build because of SNAPSHOT dependencies. In my multiproject, I'm using a dependency that is currently in SNAPSHOT release and won't be upgraded for a while.Is there a way to bypass this since this 3rd party dependency's

Re: Dependency management

2007-01-11 Thread Joerg Hohwiller
Hi Alexander, Hi, I have a few questions about modules and dependencies. Does the order of modules listed in the parent pom.xml matter? As said by others it does NOT matter for the dependency management. It only matters for the ordering when the modules are rendered to the menu of the

Just checking my understanding of SNAPSHOT vs real versions

2007-01-11 Thread Christian Goetze
A real version is only downloaded into your local repo if it isn't already there. A SNAPSHOT version is always checked against central (or other outside repos) to see if there is a newer version available. Is that correct? -- cg

Re: [m 1.1] UMLGraph: Not generating files into target/docs/apidocs

2007-01-11 Thread Arnaud HERITIER
No problem. Don't forget that if you want to share it with several developers, you can add it in your project as a dependency. You'll be sure that every developer use this version of the javadoc plugin, even if it is not installed locally Arnaud On 1/11/07, Gisbert Amm [EMAIL PROTECTED] wrote:

Re: Just checking my understanding of SNAPSHOT vs real versions

2007-01-11 Thread Patrick Schneider
Snapshots are checked once a day by default. You can override this by passing the -U flag, forcing maven to update its snapshots. Here's a good review of snaps, by Brett: http://blogs.maven.org/brett/2005/04/15/1113510156000.html On 1/11/07, Christian Goetze [EMAIL PROTECTED] wrote: A real

Re: xdoc test results for Dennis

2007-01-11 Thread drekka
Hi Dennis, I'm running this under WinXP. Will that make a difference ? I've deleted the whole org/apache/maven directory just to be sure. Then deleted the /target directory and ran mvn clean site. Downloaded versions are: doxia(core site): 1.0-alpha-7 site: 2.0-beta-5 Same result again in

Re: Just checking my understanding of SNAPSHOT vs real versions

2007-01-11 Thread Christian Goetze
Patrick Schneider wrote: Snapshots are checked once a day by default. You can override this by passing the -U flag, forcing maven to update its snapshots. Here's a good review of snaps, by Brett: http://blogs.maven.org/brett/2005/04/15/1113510156000.html Thanks - so it would seem that

Source Archives: Source Plugin vs. Assembly Plugin

2007-01-11 Thread Gregory Kick
After looking through the documentation for each of these plugins, I am left with a few questions: - Isn't the functionality of the source plugin just a subset of the assembly plugin (i.e. couldn't I just use the assembly plugin to do the same thing and only have to worry about one plugin)? -

Re: Maven Compiler plugin

2007-01-11 Thread dawn.angelito
Hi Raju, There's actually a compilation error. Did you run Maven using the -X switch? This must have caused the stacktrace produced. Try to compile again without using this switch and see the source file(s) that failed to compile. Hope this helps. Dawn raju wrote: Hi, I am trying to

Not a circular dependency...

2007-01-11 Thread Andrew Franklin
I've got a situation where Maven is telling me I have a circular dependency that should be resolved. Let's say I've got applicationArtifact which provides an interface which I want to consume at compile time in an artifact called pluginArtifact. When applicationArtifact is ready to be

Re: How to get plugin mojo to run without using executions in pom?

2007-01-11 Thread drekka
Hi, I got into this as well a few weeks ago. The answer is that you have to have a parent pom where you declare the plugin and it's executions. Inside that you have two choices: 1. Declare the plugin (and executions) as per normal. Then when executing any derived poms, the pluglin will be

applying filters to a site

2007-01-11 Thread Gregory Kick
after looking through the thread at http://www.nabble.com/-M2--Insert-variables-in-xdoc-apt-files-tf1956665.html i've gotten filters applied to a site using: resources resource directorysrc/site/directory targetPath../filtered-site/targetPath

Re: Not a circular dependency...

2007-01-11 Thread Patrick Schneider
Maybe you could try using the assembly plugin to assemble your final package... and use the assembly descriptor to specify which items should be included in it? This should allow you to remove the pluginArtifact dependency in your applicationArtifact pom. Just a thought... Patrick On

Re: How to get plugin mojo to run without using executions in pom?

2007-01-11 Thread kovalen pechaycaren
Maybe this could be helpful: http://www.nabble.com/maven-plugin-execution-phase%3A-post-site--tf2513362.html#a7014966 Kovalen

Re: Issues with SCM strings

2007-01-11 Thread Mykel Alvis
After a bit more googling and reading some other peoples' comments, I realized that this is apparently as designed. Which leads me to the question of ...why would you ever want that? I can understand that, in a multi-module build, the submodules are probably one level under the parent. In our

Re: Not a circular dependency...

2007-01-11 Thread Andrew Franklin
Sorry, I should mention the circular dependency comes about because I have a parent pom to these 2 projects which defines them each as modules... ie. artifactIdparentProject/artifactId modules moduleapplicationArtifact/module modulepluginArtifact/module /modules Andrew. Andrew Franklin

Compiling maven project from eclipse project

2007-01-11 Thread Pande, Vaishali \(Cognizant\)
Hi, Can anybody please help me out to resolve the issue. I am building using maven in Eclipse,after configuration and setting I am getting a null pointer exception. I am using Maven 2.0.4 and further the same fatal error is there while executing from Command Prompt. Any

Re: Not a circular dependency...

2007-01-11 Thread Andrew Franklin
Patrick, I appreciate your suggestion, but unfortunately I want to use a 3rd party plugin to generate a web-start application at the package goal. The requirement of running this last goal prevents me from both using assembly, and using ant-run extensions. One solution I can potentially

Compiling maven project from eclipse project

2007-01-11 Thread Pande, Vaishali \(Cognizant\)
Hi, Can anybody assist with where I am going wrong while running Maven with Command Prompt. The options -g and -X are giving me following error:'Unable to parse command line option-Unrecognised option -g'. And while running goals as install,clean,compile I am getting a fatal error. I

Re: Maven Compiler plugin

2007-01-11 Thread raju
Hi Wendy, I just wanted to compile some java files in a source folder and move compiled files to some destination directory.I have put this under build section of pom file only.I gave sourcedirectoryjust after build element.It says compiling n number of files then throws this compilation error.

RE: enabling logging

2007-01-11 Thread franz see
Good day, Actually, -e sets the logging level to error, while -X sets the logging level to debug. I've seen stack traces being logged as debug in maven. Anyway, if the logs still don't give you much insights to whats happening in your plugin, then I'd guess you'd have to take a look at the

Re: Maven Compiler plugin

2007-01-11 Thread franz see
Good day to you, Raju, I agree with Dawn. It is most likely a simple compilation error on your java files ( and you probably used -X or --debug which would explain why that stacktrace was shown. note: your code did not throw the exception, maven did ). Check the output logs on your console

archetype:create fatal error

2007-01-11 Thread vish
Hi, I have been trying to run archetype:create commmand but it's failing. C:\mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO]

Re: Just checking my understanding of SNAPSHOT vs real versions

2007-01-11 Thread franz see
Good day to you, cg, The snapshot policy works. You can specify that under snapshotsupdatePolicy//snapshots of your POM ( ee [1] ), Profile, or Settings.xml ( see [2] ). The accepted value for that tag are daily (the default), always, never, and interval:X (where X is the number of minutes ) (

RE: passing custom parameters to a custom compiler-plugin

2007-01-11 Thread franz see
Good day, Actually, using @parameter only should be sufficient for it to be configured via the pom. The @expression is used for setting the parameter via commandline. Anyway, Martin M., try specifying in your plugin tag the groupId and version as well. It might still be trying to configure

Re: Maven Compiler plugin

2007-01-11 Thread raju
Hi , Thanks everybody for your suggestions. I was able to compile the same using ant-run-plugin and invoking javac task from within maven.Maybe i was not setting sourceDirectory element properly in maven.Now i am able to compile using maven-compiler-plugin also. But is there a way i can chain

assembly plugin, multiple descriptors and manifest modifications

2007-01-11 Thread berndq
Hi all, I use the assembly plugin to create multiple assemblies from a multi module project: descriptors descriptorsrc/main/assembly/server.xml/descriptor descriptorsrc/main/assembly/client.xml/descriptor /descriptors This works nicely. But how

Re: Not a circular dependency...

2007-01-11 Thread franz see
Good day to you, Andrew, AFAIK, scopes are not considered when it comes to checking for circular dependencies. If you think it should be, feel free to open an issue in [1] under the Dependencies component. Also, you may want to support a pre-package phase which could probably solve your problem

Re: maven-war-plugin overwriting options

2007-01-11 Thread ismael
Is there a way to make a touch of the files from the main war to make them overwrite any other file on the other wars ? This would allow to assign overwrite priority between war files. Regards, Ismael - Mensaje original De: Brian E. Fox [EMAIL PROTECTED] Para: Maven Users List

  1   2   >