Re: Oracle drivers dependencies

2008-04-16 Thread nicolas de loof
To use ojdbc14 version 10.2.0.2.0 ... you have to set your dependency to version "10.2.0.2.0" ! also, the "_g" (jar compiled with debugs) version will not be used by maven until you tell him. rename the jar "m2\repository\com\oracle\ojdbc14\10.2.0.2.0\ojdbc14-g.jar" ("-", not "_") and add g to you

Re: Oracle drivers dependencies

2008-04-16 Thread Wendy Smoak
On Wed, Apr 16, 2008 at 9:23 PM, Ricky <[EMAIL PROTECTED]> wrote: > I copied the jars manually to the m2 repository cache in path * > .m2\repository\com\oracle\ojdbc14\10.2.0.2.0\ojdbc14_g* > > But when i run *mvn clean install*, it still says artifact is missing. Am i > missing your point ? (

Re: Oracle drivers dependencies

2008-04-16 Thread Ricky
Hey Wayne, I copied the jars manually to the m2 repository cache in path * .m2\repository\com\oracle\ojdbc14\10.2.0.2.0\ojdbc14_g* But when i run *mvn clean install*, it still says artifact is missing. Am i missing your point ? (My apologies if this sounds dumb) Rick On Thu, Apr 17, 2008 at 12:

Re: Oracle drivers dependencies

2008-04-16 Thread Wayne Fay
No, Central does not host this jar, only the pom and the md5/sha1 files. This jar must be downloaded and manually installed into your local repo cache due to Oracle's licensing requirements. Wayne On 4/16/08, Manos Batsis <[EMAIL PROTECTED]> wrote: > > The repo has it [1], here the pom fragment:

Re: [ANN] Build Helper Maven Plugin 1.1 Released

2008-04-16 Thread Dan Tran
no, this is the job of repository manager. :-) -D On Wed, Apr 16, 2008 at 8:30 PM, Jason Chaffee <[EMAIL PROTECTED]> wrote: > Any plans to have it also remove artifacts from a remote repository? I > know that sometimes we have have intermittent failures when doing a > deploy for a project with m

RE: [ANN] Build Helper Maven Plugin 1.1 Released

2008-04-16 Thread Jason Chaffee
Any plans to have it also remove artifacts from a remote repository? I know that sometimes we have have intermittent failures when doing a deploy for a project with modules and sometimes we need to delete the previous artifacts and start over again. This would be a nice a feature to be able to de

Re: sql-maven-plugin and UTF-8

2008-04-16 Thread Dan Tran
let me know if it works out for you and I will release it ( ie 1.1 ) -D 2008/4/16 Dan Tran <[EMAIL PROTECTED]>: > the site is at http://mojo.codehaus.org <-- here you can find out more > > snapshot repo is at > http://snapshots.repository.codehaus.org/org/codehaus/mojo/ > > -D > > > On Wed, Apr

[ANN] Build Helper Maven Plugin 1.1 Released

2008-04-16 Thread Dan Tran
The Mojo team is pleased to announce the release of the Build Helper Maven Plugin, version 1.1 http://mojo.codehaus.org/build-helper-maven-plugin/ This version adds ablility to remove previously install project's artifacts from local repository. Enjoy. -D --

[m2] dbunit help with FOREIGN KEY please....

2008-04-16 Thread Mick Knutson
I have looked all over the net, but can NOT seem to find a solution for seeding my DBUnit as I keep getting this error: *Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing database operation: CLEAN_INSERT at org.codehaus.mojo.dbunit.OperationMojo.execute(OperationM

RE: What is the syntax to retrieve a system property value form a pom?

2008-04-16 Thread Tawfik, Sameh E
Thanks Wendy, this approach worked, but I'd to use the buildNumber property and not the timestamp as I thought I would? I must be using the wrong format, but I tried few choices and nothing worked. The time stamp always appears as follow: [INFO] Storing buildNumber: Apr 16, 2008 at timestamp: 12

Re: Oracle drivers dependencies

2008-04-16 Thread Manos Batsis
The repo has it [1], here the pom fragment: com.oracle ojdbc14 9.0.2.0.0 [1] http://repo1.maven.org/maven2/com/oracle/ojdbc14/9.0.2.0.0/ No idea whats wrong :-/ Manos Ricky wrote: Hi, I am trying to add: * com.oracle ojdbc14 9.0.2.0.0

Re: maven-buildnumber-plugin / revision number & last changed rev number

2008-04-16 Thread Dirk Olmes
DCVer wrote: Thanks, nice to know that, but I still cannot find any useful information, don't kow how to configure scm to receive "Last Changed Rev" number... It actually turns out to be quite easy: Although the buildnumber plugin uses Maven's SCM API (http://maven.apache.org/scm/), the parsin

Oracle drivers dependencies

2008-04-16 Thread Ricky
Hi, I am trying to add: * com.oracle ojdbc14 9.0.2.0.0 * in my POM xml and i am getting : *Path to dependency: 1) PhoneBookJSFSpringHibernateTPOC:PhoneBookJSFSpringHibernateTPOC:war:0.0.1-SNAPSHOT 2) com.oracle:ojdbc14:jar:9.0.2.0.0

RE: Expanding ... into null

2008-04-16 Thread Brian E. Fox
Can you write a jira for this? Just out of curiosity, why the file:/// in the first place? -Original Message- From: Selber, Heiko (NSN - DE/Berlin) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 12:39 PM To: users@maven.apache.org Subject: AW: Expanding ... into null Hello,

Re: Using cppunit Unit Test Framework with Maven

2008-04-16 Thread Dan Tran
Hello all, jfrog is a spin of my native-maven-plugin, and if it has active support, I would recommend to go with it. Other wise, we can bring some of their new functionality back to the mojo's one, however it also require more interests from community to make this happen. Would you like to become

Re: What is the syntax to retrieve a system property value form a pom?

2008-04-16 Thread Wayne Fay
No such property exists, unless you've added the buildnumber plugin to your build: http://mojo.codehaus.org/buildnumber-maven-plugin/ Wayne On 4/16/08, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote: > > Hi, > > What is the syntax to use from inside a pom.xml file to retrieve the > value of the system

RE: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Lacoste, Dana (TSG Software San Diego)
But when you define an execution, you define what stage of the lifecycle it would be edited. For example, I might use antrun to get something in generate-resources, and then compile, and then use another antrun to package. there's no issue doing this in one declaration of the plugin. Contraril

Re: What is the syntax to retrieve a system property value form a pom?

2008-04-16 Thread Wendy Smoak
On Wed, Apr 16, 2008 at 2:49 PM, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote: > I need to update the following parameter with the Build-date value. I > tried ${env.date} but it did not work? You can use the Build Number plugin to put the current date into a property that you can use in the build:

What is the syntax to retrieve a system property value form a pom?

2008-04-16 Thread Tawfik, Sameh E
Hi, What is the syntax to use from inside a pom.xml file to retrieve the value of the system date on Windows XP? I need to update the following parameter with the Build-date value. I tried ${env.date} but it did not work? org.apache.maven.plugins mav

[ANN] Maven Changes Plugin 2.0 Released

2008-04-16 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Changes Plugin, version 2.0 This plugin is used to inform your users of the changes that have occurred between different releases of your project. The plugin can extract these changes, either from a changes.xml file or from the JIR

RE: Using cppunit Unit Test Framework with Maven

2008-04-16 Thread Jason Chaffee
I know we have used the NAR plugin, but it doesn't have native support for cppunit with maven and it appears to be a dormant project. We were looking into modifying the native plugin to change the test-compile and test lifescylce bindings to bind to the native plugin itself so as to allow it to co

Surefire-report without install?

2008-04-16 Thread Joshua ChaitinPollak
Hello, I'm trying to run surefire-report from the top level of a multi-module project. The plugin runs successfully on the first module, but when the plugin gets to the second module (which depends on the first one), the plugin fails because it cannot locate the first module (which is not

Using cppunit Unit Test Framework with Maven

2008-04-16 Thread Harper, Brad
It looks like there's been some progress made in this area since I last looked into it, specifically the jade-native plugin [from jfrog.org] and the NAR plugin [from freehep.org]. I'm returning to a dormant project originally set to use the maven native plugin, and am trying to decide on a directi

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Thierry Lach
One reason might be to run something else between the two? On Wed, Apr 16, 2008 at 4:43 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > Why would you declare the plugin twice in the same pom? Just put > multiple executions in the same definition. > > -Original Message- > From: Bernhard Davi

RE: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-16 Thread Brian E. Fox
Where is the "maven.org" repo defined? The url is wrong...it points to subfolder of central: maven.org (http://repo1.maven.org/maven2/org/apache/maven/), -Original Message- From: Tonté Pouncil [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 10:35 AM To: Maven Users List Subje

RE: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Brian E. Fox
Why would you declare the plugin twice in the same pom? Just put multiple executions in the same definition. -Original Message- From: Bernhard David [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 10:22 AM To: Maven Users List Subject: RE: Order of executing plugins changed in 2

Re: sql-maven-plugin and UTF-8

2008-04-16 Thread Dan Tran
the site is at http://mojo.codehaus.org <-- here you can find out more snapshot repo is at http://snapshots.repository.codehaus.org/org/codehaus/mojo/ -D On Wed, Apr 16, 2008 at 1:17 PM, Borut Bolčina <[EMAIL PROTECTED]> wrote: > What is the repository location, plugin version and plugin source

Resources not filtering with eclipse/WTP 1.5 launching tomcat from WTP

2008-04-16 Thread Jared Blitzstein
I have resource filtering setup and working correctly (when I build a war or mvn jetty:run), but when I deploy to tomcat from Eclipse 3.3/ WTP 1.5, the ${} values are not parsed at that point. Does anyone have any suggestion to get that working? I saw this with WTP 2.0 (http://docs.codehaus.or

Re: sql-maven-plugin and UTF-8

2008-04-16 Thread Borut Bolčina
What is the repository location, plugin version and plugin source code svn connection? Thanks, Borut 2008/4/16, Dan Tran <[EMAIL PROTECTED]>: > > UTF-8 > > this is in latest snapshot, please give it a try > > > -D > > > > On Wed, Apr 16, 2008 at 5:07 AM, Manos Batsis > <[EMAIL PROTECTED]> wrote:

Re: Multiple artifact handlers being use at a reactor level

2008-04-16 Thread Jason van Zyl
If you're creating a new packaging/lifecycle for a specific type of component you really get into a mess when you try to do it in-situ. Just build it separately and then use it. What you're trying is not specifically supported, if it works it's not intentional. Any lifecycles or packaging y

Multiple artifact handlers being use at a reactor level

2008-04-16 Thread Apaar Trivedi
I have basically pasted this from the irc channel: In a reactor, is it possible that the first artifacthandler that gets used will be used for all subsequent modules that get run? Even if those modules provide their own artifacthandler? Because that is what's going on in my build. I have

Re: A problem with "nested import" on Maven 2.0.9

2008-04-16 Thread Jason van Zyl
On 16-Apr-08, at 11:35 AM, Ryan H. wrote: Has anyone tried the "nested import" on Maven 2.0.9? When I tried to use "import" scope to import one POM which in turns to "import" another POM, maven 2.0.9 seems to only can locate the 1st imported POM but could not locate the "child import" because it

Pattern Question - Controlling dependencies for a project made up of many components

2008-04-16 Thread Peter Kahn
What's the common way to deal with the controlling dependencies for a maven2 project that is made up of 20+ sub projects? I have the following situation using home grown solution and ant: - the main project is comprised of about 20 components - each component has its own CVS module - some compone

Re: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-16 Thread Wayne Fay
You should seriously think about installing a repo manager, then using mirrorOf * to point all repos there, and let it manage these things for you. Then you aren't dealing with proxies in settings.xml files on every dev's machine but rather only on the shared MRM box. It seems like you might alrea

Re: maven 2.0.9 create-from-project

2008-04-16 Thread kace
http://rafb.net/p/tWTPGe14.html pasted as requested Thanks Raphael Regards, ..kace -- View this message in context: http://www.nabble.com/maven-2.0.9-create-from-project-tp16724738s177p16729894.html Sent from the Maven - Users mailing list archive at Nabble.com. --

A problem with "nested import" on Maven 2.0.9

2008-04-16 Thread Ryan H.
Has anyone tried the "nested import" on Maven 2.0.9? When I tried to use "import" scope to import one POM which in turns to "import" another POM, maven 2.0.9 seems to only can locate the 1st imported POM but could not locate the "child import" because it only looks it up in the maven central reposi

Re: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-16 Thread Dennis Lundberg
The url for the pluginRepository below should be http://repo1.maven.org/maven2/ Tonté Pouncil wrote: Ok I have fixed the malformed URL; but still no luck. In my pom I had a configuration for plugin repositories: daily warn daily

[ANN] Taglist Maven Plugin 2.2 Released

2008-04-16 Thread Dennis Lundberg
The Mojo team is pleased to announce the release of the Taglist Maven Plugin, version 2.2 http://mojo.codehaus.org/taglist-maven-plugin/ You can run mvn -up to get the latest version of the plugin, or specify the version in your project's plugin configuration: org.codehaus.mojo taglist-mave

Re: "mvn install site" performs test phase 2 times?

2008-04-16 Thread Stephen Connolly
in Hudson you can use a freestyle project and specify the goals as either install -DskipTests | site or install | site -DskipTests to do what your after Sent from my iPod On 16 Apr 2008, at 10:41, DCVer <[EMAIL PROTECTED]> wrote: Hi, I use CruiseControl for continous integration. There

Re: maven 2.0.9 create-from-project

2008-04-16 Thread Raphaël Piéroni
Can you please send the trace (pasting to http://rafb.net/paste/) Regards, Raphaël 2008/4/16, kace <[EMAIL PROTECTED]>: > > Hi, > > I run mvn archetype:create-from-project from the root directory of > myproject. I then move to the generated directory and run mvn install. > After recieving t

maven 2.0.9 create-from-project

2008-04-16 Thread kace
Hi, I run mvn archetype:create-from-project from the root directory of myproject. I then move to the generated directory and run mvn install. After recieving the success message I move to a new directory and run mvn archetype:generate -DarchetypeCatalog=local, select the archetype but then

Re: [m2] How to set location of activemq-data?

2008-04-16 Thread Doug Douglass
Mick, I presume you sent this to the maven list because you're running amq within a unit or integration test? Hmm, might be a better question for the amq users list, but I'll try... How are you configuring the startup of amq? If you're using XBean XML configuration, there is a "dataDirectory" att

AW: Expanding ... into null

2008-04-16 Thread Selber, Heiko (NSN - DE/Berlin)
Hello, I had sent an email to this list a week ago (see below). I finally found out where the problem is (by running maven in debug mode: mvn -X). I think I'm going to file an issue against dependency:unpack-dependencies, because it treats a file URL badly. Expanding a dependency fails when I

Re: sql-maven-plugin and UTF-8

2008-04-16 Thread Dan Tran
UTF-8 this is in latest snapshot, please give it a try -D On Wed, Apr 16, 2008 at 5:07 AM, Manos Batsis <[EMAIL PROTECTED]> wrote: > > Maybe you just need to append a couple of JDBC url params > > > jdbc:mysql://${db-host}:3306/portal?useUnicode=yes&characterEncoding=UTF-8 > > > > hth, > > Ma

maven 2.0.9 create-from-project error

2008-04-16 Thread kace
Hi, when running mvn archetype:create-from-project from the project directory I get an error message saying could not start c:\tools\maven-2.0.9\bin\mvn archetype:create-from-project has the process for creating archetypes from existing projects changed? ..kace -- View this message in conte

[m2] How to set location of activemq-data?

2008-04-16 Thread Mick Knutson
I am running ActiveMQ and I keep getting ${basedir}/activemq-data when what I want is ${basedire}/target/activemq-data Where would I set this? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.linkedin.com/in/mickknutson http://www.djmick.com http://www.my

Re: Maven2 Eclipse Plugin - ordering of .classpath entries

2008-04-16 Thread nicolas de loof
I get a similar issue, but using "StandardVMType/J2SE-1.5" as JRE container on a JDK 6.0 This creates (unmodifiable) allowed/forbidden acces rules on eclipse classpath. As the JRE is first in library ordering, I cannot include jax-ws API that is allways resolved as "forbidden". Having any hook to

RE: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Bernhard David
Hello, the problem occurs when merging the two definitions of the same plugin into one. John Casey from the maven team just commented on the JIRA issue I submitted on this that two definitions of the same plugin in one pom should be a validation error. As far as two different plugins go, I ha

RE: Maven-assembly-plugin

2008-04-16 Thread Krishnamurthi, Venkat
Thanks John. That worked. Is there a way to override the location which is currently {basedir}/target/finalName-.dir/lib to any other directory outside this project's directory. Thanks and Regards, Venkat -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Wednesday, Apr

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread VUB Stefan Seidel
Wendy Smoak wrote: On Wed, Apr 16, 2008 at 7:22 AM, Bernhard David <[EMAIL PROTECTED]> wrote: Hello, after some long hours with the debugger, I discovered the following. If I define a plugin twice like this: What happens if you put both s in the same ? I see you've already solved it by co

maven asembly plugin: merge META-INF

2008-04-16 Thread Jan Torben Heuer
Hi, the asembly plugin creates a (executeable) jar file of my project. I have several concept-plugins that contain a META-INF/foo/bar file. It is a simple java Properties file. Can the assembly-plugin merge all foo/bar files into one big Properties file? (filename is always the same, but keys are

Maven2 Eclipse Plugin - ordering of .classpath entries

2008-04-16 Thread Patrick Zeising
Hi everybody, I am using Maven2 with the Maven2 Eclipse plugin and in my project I would like to use a newer version of JaxWS (https://jax-ws.dev.java.net/) than the one supplied with JDK6. When using the eclipse goal ($> mvn eclipse:eclipse) the generated .classpath file in my project directory

Re: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-16 Thread Tonté Pouncil
Yup that was it! When migrating to Maven 2.0.9 I forgot to port over all of my setting.xml configurations. Thanks Guys for your help! Tonté Tonté Pouncil

Re: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-16 Thread Tonté Pouncil
>The reason you see this with 2.0.9 is probably because it bumped you up to surefire 2.4.2, but otherwise nothing in 2.0.9 changed that should >affect this. It's a little hard to know why you can't get that jar. Are you able to load it from a browser without a proxy? Brian, yes I am able to load i

RE: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Bernhard David
Hello, due to the way merging is done (a plugin can have many executions, but there cannot be two plugin definitions with the same name and phase) if you add two s no merging is done and all is fine. This issue arose because in EL4J we used to have two definitions in our pom file which worked fin

Re: Maven-assembly-plugin

2008-04-16 Thread John Casey
To change the format for the dependency artifacts, add something like the following to the dependencySet: ${artifact.artifactId}.${artifact.extension} For other options to fine-tune your assembly configuration, see: http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html -john O

Re: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-16 Thread Tonté Pouncil
Ok I have fixed the malformed URL; but still no luck. In my pom I had a configuration for plugin repositories: daily warn daily warn maven.org http://repo1.maven.org/maven2/org/apache/maven/ See maven out put

RE: Maven-assembly-plugin

2008-04-16 Thread Krishnamurthi, Venkat
Hi, I used the following assembly descriptor to create an assembly directory with my project's jar and all the jars that are it's dependencies: distribution dir false target

Re: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-16 Thread Tonté Pouncil
I see the url you are talking about, but I don't know how to fix it as the URL is being build by maven. The only URL I have defined are in show in the at the bottom of the maven out put below. What is weird is this same configuration works fine in Maven 2.0.8. Any suggestions? Thanks! > org.

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Wendy Smoak
On Wed, Apr 16, 2008 at 7:22 AM, Bernhard David <[EMAIL PROTECTED]> wrote: > Hello, > > after some long hours with the debugger, I discovered the following. > > If I define a plugin twice like this: What happens if you put both s in the same ? I see you've already solved it by consolidating eve

RE: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Bernhard David
Thanks - it should be reconstructable from my last mail too, but I'll make a test case anyway to simplify things. David > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: 16 April 2008 16:23 > To: Maven Users List > Subject: Re: Order of executing plugins changed i

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Wayne Fay
> In practice and to my knowledge and experiences, it has never been like > that. If you can make a simple test case that demonstrates this bug and upload to JIRA, I'm sure someone will take a look at it. Wayne - To unsubscribe,

RE: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Bernhard David
Hello, after some long hours with the debugger, I discovered the following. If I define a plugin twice like this: org.codehaus.cargo cargo-maven2-plugin start-container pre-integration-test

Maven-assembly-plugin

2008-04-16 Thread Krishnamurthi, Venkat
Hi, I used the following assembly descriptor to create an assembly directory with my project's jar and all the jars that are it's dependencies: distribution dir false target

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Jason van Zyl
They are consistent for a given lifecycle, and a lifecycle is setup for a given packaging. The phases are consistent, what is bound to each phase differs. On 16-Apr-08, at 12:08 AM, VUB Stefan Seidel wrote: Hi, AFAIK, the execution of plugins in the same phase is not consistent. We have u

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread VUB Stefan Seidel
Max Bowsher wrote: Bernhard David wrote: in maven 2.0.8 I can put the following in a pom to execute first cargo:start then cargo:deploy in the pre-integration-test phase. In 2.0.9, maven executes deploy first, which breaks the build. VUB Stefan Seidel wrote: > AFAIK, the execution of plugins

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Max Bowsher
Bernhard David wrote: in maven 2.0.8 I can put the following in a pom to execute first cargo:start then cargo:deploy in the pre-integration-test phase. In 2.0.9, maven executes deploy first, which breaks the build. VUB Stefan Seidel wrote: > AFAIK, the execution of plugins in the same phase is

AW: Parents version isn't check for new updates on the remote repository

2008-04-16 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hi, I'm just the little man in the middle. So, don't ask me why we are using RAD. But as you said, the deployment on WAS might be one reason. I haven't any clear statement about nested projects in Eclipse. However, my installation doens't seem to support it. Thanks Kuno -Ursprüngliche N

Re: doubt about getting new artifacts

2008-04-16 Thread Wendy Smoak
On Tue, Apr 15, 2008 at 6:18 AM, Renato Souza <[EMAIL PROTECTED]> wrote: > Hi, I don't know if I understood well how it works. If I wanna > purchase a new artifact as a normal user and I don't have access to > the links for remote repositories. So how can I get ant for example if > I don't know

RE: Parents version isn't check for new updates on the remote repository

2008-04-16 Thread Beelen, M. - SPLXL
Kuno, If you are running RAD&: Try to do it like I wrote. I'm not sure if support for overlapping projects was added to eclipse 3.2 or eclipse 3.3. I think it was the first and if it was, then RAD7 should support this as well. I won't start asking questions about why you are using RAD for your

AW: Parents version isn't check for new updates on the remote repository

2008-04-16 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hi Marco, thanks for your help. Unfortunately, I'm stucked on Eclipse 3.2 since we are using RAD7 (IBM Develoment environement based on Eclipse). However, it's nice to hear that it would be possible in the future and I'm looking forward to it. Many Thanks Kuno -Ursprüngliche Nachricht

RE: Parents version isn't check for new updates on the remote repository

2008-04-16 Thread Beelen, M. - SPLXL
Kuno, Why maven wouldn't check from newer versions of snapshot-parent, that is any issue I can't anwser. I do have a solution for your problem though. I would like to suggest: Upgrade your eclipse. Since Eclipse 3.3 it is possible to have overlapping projects. I check out the entire multi-module

Re: sql-maven-plugin and UTF-8

2008-04-16 Thread Manos Batsis
Maybe you just need to append a couple of JDBC url params jdbc:mysql://${db-host}:3306/portal?useUnicode=yes&characterEncoding=UTF-8 hth, Manos Borut Bolčina wrote: Hello, is anyone having problems with http://mojo.codehaus.org/sql-maven-plugin/when trying to insert data in utf8 encodi

sql-maven-plugin and UTF-8

2008-04-16 Thread Borut Bolčina
Hello, is anyone having problems with http://mojo.codehaus.org/sql-maven-plugin/when trying to insert data in utf8 encoding? It works when inserting with mysql -u backend -pmasterkey -h localhost portal < insert.sql but it inserts garbage when using create-initial-data

Re: continuous integration server

2008-04-16 Thread Dirk Olmes
Matthew Tordoff wrote: Has anyone looked at Bamboo? We have used Bamboo for Mule for quite some time now. The setup seems to be easy (haven't done it) and the day to day operations are supported by the UI, too. The only (big) boo that came up in the whole time we used it was that Bamboo 1.

Re: maven-buildnumber-plugin / revision number & last changed rev number

2008-04-16 Thread DCVer
Thanks, nice to know that, but I still cannot find any useful information, don't kow how to configure scm to receive "Last Changed Rev" number... Dirk Olmes-4 wrote: > > DCVer wrote: >> You presented link to buildnumber-maven-plugin. I used >> maven-buildnumber-plugin - this is quite different p

Maven 1 - snapshot dependencies update problem

2008-04-16 Thread Jan Vondracek
Hi everyone, we use maven 1 on out project and we have problem with snapshot dependecies. Our project uses framework that is build every night and deployed to our repository jar:deploy. Versions of all subproject are set to SNAPSHOT. Every morning developers download this snapshots versions. This

Re: deploying third party artifacts: "Unsupported Protocol: 'dav'"

2008-04-16 Thread Brett Porter
What version of Maven are you using? You may also try without "dav:" - just http:// is often fine. - Brett On 16/04/2008, Lustig, Marc (Allianz Deutschland AG) <[EMAIL PROTECTED]> wrote: > We are having trouble to deploy 3rd party-artefacts using mvn > deploy-plugin. > > I followed the instruc

RE: Executing a hook before reading a POM

2008-04-16 Thread Beelen, M. - SPLXL
Hi, The proper way around this is: Use the release-plugin. When you execute mvn release:prepare and mvn release:perform all the version-number in the parent-element of all modules get updated automatically. Within the pom of the child-modules you remove the version-tag of the project, since al

RE: continuous integration server

2008-04-16 Thread Sommers, Elizabeth
I run an instance for TDD. I run another instance for build and release (proprietary maven plugins). I run another instance for delivery (more maven plugins). I then run metrics (yet more plugins) on two instances. All together I run 8 instances on 4 different machines. Works well for us and got

deploying third party artifacts: "Unsupported Protocol: 'dav'"

2008-04-16 Thread Lustig, Marc (Allianz Deutschland AG)
We are having trouble to deploy 3rd party-artefacts using mvn deploy-plugin. I followed the instructions located here http://maven.apache.org/archiva/guides/getting-started/maven-configurati on.html but the result is [ERROR] BUILD ERROR [INFO] ---

Re: application url context change is it possible

2008-04-16 Thread Paul G
Cheers Brett That worked a treat Brett Porter wrote: > > It should be apps/archiva/conf/application.xml, change > > On 16/04/2008, Paul G <[EMAIL PROTECTED]> wrote: >> >> Running in stand alone mode is it possible to change the context root of >> the >> Archiva application. Currently it is s

Assembly plugin 2.2-beta-2 shows odd behavior regarding dependencies inclusion

2008-04-16 Thread TM
Hello, today I tried to upgrade the Maven assembly plugin from 2.2-beta-1 to 2.2-beta-2. However, I noticed that for my project which consists of multiple modules the resulting binary assembly now contains dependency JAR files multiple times. The assembly descriptor contains the following excerpt

Re: Maven and Ant

2008-04-16 Thread amidrunk
Worked perfectly! Thank you! Graham Leggett wrote: > > amidrunk wrote: > >> I need to use maven's ant tasks from an ant file called by maven. I use >> the >> maven-antrun-plugin to call the ant file, and then I use the ant file to >> copy maven dependencies into a folder. The ant file works on

"mvn install site" performs test phase 2 times?

2008-04-16 Thread DCVer
Hi, I use CruiseControl for continous integration. There are many projects, which builds are configured as "mvn clean install site". The problem is, that both 'install' and 'site' commands perform tests and some of my tests take about 20-30mins! This is waste of time (of course, both test phases

application url context change is it possible

2008-04-16 Thread Paul G
Running in stand alone mode is it possible to change the context root of the Archiva application. Currently it is set to archiva I would like to set it to repomanager. Any hint's on which config file controls this? -- View this message in context: http://www.nabble.com/application-url-context-ch

Archiva Deployment Problem...

2008-04-16 Thread James Clinton
Why can I deploy to the pre-configured internal repository OK, but not my identical custom repository? INTERNAL mvn deploy:deploy-file -Dfile=commons-logging-1.1.1.jar -DgroupId=commons-logging -DartifactId=commons-logging -Dversion=1.1.1 -DrepositoryId=internal -Durl

Re: disabling default deploy behavior

2008-04-16 Thread Rémy Sanlaville
> The next version of the deploy plugin will have the option to skip > deployment. > > http://jira.codehaus.org/browse/MDEPLOY-63 Nice, but rather than each plugin implements the skip feature, it would better to manage this feature at the maven or plexus level instead of the plugins level. See h

scm:bootstrap executes checkout twice

2008-04-16 Thread Tom Joad
Hello all, I'm sorry threre's already a thread about this subject but , i don't find emmanuel venisse' response after the author posted his pom.xml snippet. I use scm plugin as it is on plugin site. plugin removes the workingdirectory, executes checkout. removes again the workingdirectory and execu

Re: Deploying Libs to Archiva

2008-04-16 Thread Brett Porter
I think this was reported as an issue with the timestamp checking (because the ones you sync probably have timestamps older than the last scan). Unfortunately the only way to correct this at the moment is to completely delete the Archiva database and have it recreated (this will not lose any data,

assembly-plugin behaviour for duplicate dependency (but with different version)

2008-04-16 Thread aldana
hi, i am using dependency analyzer to pack my app. currently i want to remove some not-needed dependencies. what happened was that respective dependency was not included any longer but instead the same dependency but with different version got packed. so i guess that assembly plugin includes onl

Re: javadoc problem

2008-04-16 Thread Antonio Petrelli
2008/4/16, I am Who i am <[EMAIL PROTECTED]>: > Hi All, > > I was trying to do mvn javadoc:javadoc, and getting the following error > org.apache.maven.lifecycle.LifecycleExecutionException: An error has > occurred in JavaDocs report generation:Exit code: 1 - javadoc: > java.lang.OutOfMemoryErro

RE: Executing a hook before reading a POM

2008-04-16 Thread Jörg Schaible
Hi Joshua, Joshua ChaitinPollak wrote: > In this setup, you still need to refer to the version of the parent > pom, right? Yes. > We are just starting to use multi-module pom, and are > realizing that > all of our modules are going to need to be updated with the parent- > pom's version every t

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread VUB Stefan Seidel
Hi, AFAIK, the execution of plugins in the same phase is not consistent. We have used 6 different phases to ensure the ordering is correct. See http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html for a good list. Stefan Bernhard David wrote: Hello, in maven 2.0.8 I can

Parents version isn't check for new updates on the remote repository

2008-04-16 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello! I've defined a hierarchical layout using a parent pom.xml : |-module1 | | | |-- pom.xml |-module2 | | | |-- pom.xml | |-- pom.xml Since we are using eclipse, only a flat hierarchy is supported. Therefore, we checkout only the second level in eclipse for development. It w