Multiple Executions with Hibernate3 Plugin

2008-04-04 Thread Alan Gutierrez
I have the maven plugin working with the following code. org.codehaus.mojo hibernate3-maven-plugin 2.0-alpha-2 mysql mysql-connector-java 5.1.3 process-resources

RE: Unusual error: cannot override read-only parameters

2008-04-04 Thread Brian E. Fox
The dependency plugin seems to have local defined as an expression somewhere and it's conflicting with a property you have defined. -Original Message- From: Julien Stern [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 5:18 AM To: users@maven.apache.org Subject: Unusual error: canno

Re: Passing maven variables as system properties

2008-04-04 Thread alex941021
I have been looking for a solution too, but I didn't find one. Even in ANT, if you define a variable, you can reference that variable from within the ant script and from JAVA (JUnit tests) gu using the System.getProperty("whatever_name..."); In Maven my workaround was to create a profile in set

Re: No build Eclipse output

2008-04-04 Thread Brad O'Hearne
Martin, Thanks for the reply. Both my distro settings.xml and my /.m2/settings.xml have a correct path to the local repository defined. The output is the same. Something else is at work here. Brad On Apr 4, 2008, at 4:15 PM, Martin Gainty wrote: in your maven distro folder look at sett

Re: No build Eclipse output

2008-04-04 Thread Martin Gainty
in your maven distro folder look at settings.xml you define all of your localRepository elements such as the example illustrated here C:/FuBarPlugin HTH Martin - Original Message - From: "Brad O'Hearne" <[EMAIL PROTECTED]> To: "Maven-user Maven" Sent: Friday, April 04, 2008 5:55 PM Sub

No build Eclipse output

2008-04-04 Thread Brad O'Hearne
Hello, I have the Maven 2 plugin installed in Eclipse, and though when I build a project in Eclipse, it will download dependencies into my local repository, I am not seeing much of anything in my maven console output except for dependency downloads and the following: 4/4/08 2:40:00 PM MST

Re: Filter config directory...

2008-04-04 Thread Zemian Deng
Hello Borut, placing those config files in your src/main/resources will make them visible in classpath. filter them out in your jar plugin and you won't see them during packaging. And you said you know how to do this. :) On Fri, Apr 4, 2008 at 3:50 AM, Borut Bolčina <[EMAIL PROTECTED]> wrote: >

Re: webstart question

2008-04-04 Thread walterw
Hi Jerome, That looks like it has good information for configuring my project. I hope to get a chance this weekend to try it out and get back to you. Thanks much for the information, I just need an example of how it works and should be able to figure out the rest. Thanks, Walter Jerome Lacos

RE: how to configure a mirror?

2008-04-04 Thread Brian E. Fox
You might try to avoid the mirror all together. Instead of mirroring central, change the url in a profile to be what you want it to be. There's no good way to change the mirror url if the property didn't work. -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Frid

RE: jar does not attach to reactor?

2008-04-04 Thread Brian E. Fox
Using the copy/unpack-dependencies goals should find what you need from the reactor. The copy/unpack goals currently do not. -Original Message- From: Robert Reiner [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 8:25 AM To: users@maven.apache.org Subject: jar does not attach to rea

Re: Customizing site - eliminate columns in team list

2008-04-04 Thread Michael
Brier, Frederick (IHG Temp) wrote: I have been learning a lot about customizing my Maven generated site. There is lots more to do, but right now, I want to not show columns that have no data in them, such as: Id, URL, Organization (we are all currently in the same organization), Organization URL,

Customizing site - eliminate columns in team list

2008-04-04 Thread Brier, Frederick (IHG Temp)
I have been learning a lot about customizing my Maven generated site. There is lots more to do, but right now, I want to not show columns that have no data in them, such as: Id, URL, Organization (we are all currently in the same organization), Organization URL, Time Zone, Actual Time (GMT) and Pro

Re: Third party dependency

2008-04-04 Thread Cosmin Marginean
Hi. I created an ant file for this job and I will instruct the user how to call it. But, as you said, these are just hack. Anyways, thanks for everything. My bests, Cosmin On Fri, Apr 4, 2008 at 7:33 PM, Giesselmann, Torben < [EMAIL PROTECTED]> wrote: > I don't really know if there's a builtin w

AW: Third party dependency

2008-04-04 Thread Giesselmann, Torben
I don't really know if there's a builtin way to do this. But you could always use Maven's Groovy plugin and execute a Groovy script at the "install" goal: - have it download the file - unpack it and do whatever file operations you like - start a new process executing a 'mvn install:install-

RE: maven-dependency-plugin does not exist or no valid version could be found

2008-04-04 Thread Brian E. Fox
Hard to tell from that output. Can your machine access http://repo1.maven.org/central ? If no, there's your problem. If yes, then try clearing out your local repository. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 8:28 AM To: Maven User

mvn site: Parent POM's version not inherited to child POMs

2008-04-04 Thread logachandru . x . rajamanickam
When I do a mvn site or mvn clean install site, I find that the version given in the parent POM is not getting inherited to the child poms and it results in error as below. If I hardcode the parent POM's version in all the child POMs, the site generation goes fine. I'm using maven-2.0.8. Would

Re: Can sub pom have different version than super pom

2008-04-04 Thread Farrukh Najmi
Here is what learned about my problem: * It is certainly possible to have a child pom (extension) have a different version that its parent pom (base) - (good!) * My problem was due to use of variable ${pom.parent.version} within dependencyManagement section. Apparently the variab

Re: Multi-module site, why must I do "mvn clean install site"?

2008-04-04 Thread Paul G
Robert, That looks exactly like the bug to me. CHeers Robert Reiner wrote: > > Hi Paul G, > > I faced a similar problem today. We have a multi-project-build and the > site plugin does not fetch the artifacts from the reactor, but tries to > download them from the local repo. Therefore the ar

process-sources

2008-04-04 Thread Arnd Kleinbeck
Hi, I'd like to use Maven for applying modifications to the source code before compiling it. I've seen that Maven provides the life cycle phase 'process- sources'. Is it meant for things like that? If so, how can I use it? Does anybody have an example for replacing Strings in the source fil

Re: is there way to reset admin password?

2008-04-04 Thread Zemian Deng
k, thanks for the info Wendy. I got it working now. At first thought I forgot my password is not right, but it's been the same all along. What happens is someone shuts down the server expectantly. When it rebooted, the archiva instance no longer can authenticate admin user, even though the site is

Re: Fail to deploy 3rd party jar to repository in unix

2008-04-04 Thread Wayne Fay
So your problem is 100% identical to this one? If so, perhaps you could try contacting "Simon Taylor" from the thread and see if he ever got past the problem, and what he did to resolve it. Wayne On 4/4/08, Rex Huang <[EMAIL PROTECTED]> wrote: > error stack trace is at this page: > http://mail-a

Re: Can sub pom have different version than super pom

2008-04-04 Thread Farrukh Najmi
If this is not possible then whats is the best way to avoid duplication of conetnt between base.pom and extension.pom? Also please see a typo fix inline below... Farrukh Najmi wrote: Dear Colleagues, I have two separate projects "base" and "extension". Each project is really a multi-project

Can sub pom have different version than super pom

2008-04-04 Thread Farrukh Najmi
Dear Colleagues, I have two separate projects "base" and "extension". Each project is really a multi-project inheritance hierarchy. Finally extension pom is a sub pom of base pom. The pom inheritance is as follows: base base-sub1 base-sub2 extension extension-sub1 extens

Re: Multi-module site, why must I do "mvn clean install site"?

2008-04-04 Thread VUB Stefan Seidel
Hi, contrary to MSITE-171, I would say that this is not a bug. mvn site is for building the site, not the code. If you want fresh code coverage reports/surefire tests, of course you will have to run mvn install before - it's not a bug. Any standard site build will work just as fine without. I

Re: webstart question

2008-04-04 Thread Jerome Lacoste
On Thu, Apr 3, 2008 at 12:42 PM, walterw <[EMAIL PROTECTED]> wrote: > > Hi, > > Here is my pom.xml that corresponds to the webstart: Walter I also highly recommend you to look at the various integration tests http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/webstart/webstart-maven-plugin/sr

Problem with assembly attached deploy

2008-04-04 Thread Michael Mühlebach
Hello I try to create an assembly with the deployed artifact in it (with the correct version number)! I used to achive this the following command: mvn assembly:single deploy What I expected is an archive which looks like this: test-project-0.1.0-20080404.140018-1.tar.gz -- test-project-0.1.0-200

maven-dependency-plugin does not exist or no valid version could be found

2008-04-04 Thread David Delbecq
Can someone explain to me this error please? For curious reasons, maven is enable to find it's dependency plugin $ mvn -e dependency:tree + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO]

Re: Third party dependency

2008-04-04 Thread Cosmin Marginean
Hello, Thanks for the reply. I apologize for being uncler. I only realized that now that I am reading my initial mail again. The part: > This means that I would like to be able to download a zip > from http://somehost.com/somepath/something.zip, unpack it > and copy some jar from there in the loc

jar does not attach to reactor?

2008-04-04 Thread Robert Reiner
Hi! is it true that the jar plugin does not add the generated artifact to the reactor to share it with other projects in a multi-project-build? They get installed and deployed, but I failed to notice that the dependency-plugin will still grab the specified artifacts from the local repo (instead o

AW: Third party dependency

2008-04-04 Thread Giesselmann, Torben
Heya -- you can install the library in your local repository, see here: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html Or you could just as well setup an internal repository: http://maven.apache.org/guides/introduction/introduction-to-repositories.html Rega

Re: Multi-module site, why must I do "mvn clean install site"?

2008-04-04 Thread Michael
Robert Reiner wrote: Hi Paul G, I faced a similar problem today. We have a multi-project-build and the site plugin does not fetch the artifacts from the reactor, but tries to download them from the local repo. Therefore the artifacts need to be installed. I think this might be your problem, too.

Re: Multi-module site, why must I do "mvn clean install site"?

2008-04-04 Thread Robert Reiner
Hi Paul G, I faced a similar problem today. We have a multi-project-build and the site plugin does not fetch the artifacts from the reactor, but tries to download them from the local repo. Therefore the artifacts need to be installed. I think this might be your problem, too. There is a bug filed

Re: Fail to deploy 3rd party jar to repository in unix

2008-04-04 Thread Rex Huang
error stack trace is at this page: http://mail-archives.apache.org/mod_mbox/maven-users/200711.mbox/[EMAIL PROTECTED] Rex On Wed, Apr 2, 2008 at 4:38 PM, Wayne Fay <[EMAIL PROTECTED]> wrote: > You must provide more information, perhaps the error stack trace > produced by Maven when it "fails",

how to configure a mirror?

2008-04-04 Thread Stephane Nicoll
Hi, I am trying to configure a mirror. We have development teams around the world so I would like to be able to configure the central mirror with a property that would be define in a profile for instance (developers may travel around so they need to use the closest mirror). We can't set a mirror

Unusual error: cannot override read-only parameters

2008-04-04 Thread Julien Stern
Hi list, Would some have a clue on the reasons this error may occur ? I'm using maven 2.0.8 (with dependency plugin 2.0). Thanks in advance. -- Julien [INFO] [ERROR] BUILD ERROR [INFO] -

mvn site plugin - using inheritance

2008-04-04 Thread Peter Horlock
Hi, I've got a project consisting of several subprojects. I defined a parent pom for all those subprojects. I would like to be able to define a constant look & feel for all sites of the subprojects - To achieve this, I added a source folder and a site folder in it, containing a "site.xml", a css f

Re: How to deploy an artifact to some predefined location?

2008-04-04 Thread Lukasz Guminski
Luke Daley pisze: On 04/04/2008, at 10:08 AM, Luke Daley wrote: On 04/04/2008, at 1:35 AM, Lukasz Guminski wrote: But I'm still not happy with the solution. This is because of the impossibility to avoid generating unnecessary folder structure (/.../latestStableVersion/download/latestStable

Multi-module site, why must I do "mvn clean install site"?

2008-04-04 Thread Paul G
Why do I have to run install to get a multi-module project to work correctly? Is this a bug? -- View this message in context: http://www.nabble.com/Multi-module-site%2C-why-must-I-do-%22mvn-clean-install-site%22--tp16488944s177p16488944.html Sent from the Maven - Users mailing list archive at N

integration tests, packaging type pom and the maven-eclipse-plugin

2008-04-04 Thread Martin Höller
Hi! According to a wiki article [0], the two maven books, and some mails on this list it is best practice to put integration tests in one (or multiple) separate module(s). In all examples I could find, this IT-module is of packaging type pom, which IMO makes sense as I wouldn't need a JAR with

Re: Surefire not excluding jUnit TestSuite$1

2008-04-04 Thread Chad La Joie
Done: http://jira.codehaus.org/browse/SUREFIRE-480 Martin Höller wrote: On Thursday 03 April 2008 Chad La Joie wrote: The error message in the summary report wasn't at all helpful and I missed the line in "<<< FAILURE!" line in the scrolling text as the tests were ran. A better error message

Filter config directory...

2008-04-04 Thread Borut Bolčina
Hello, I would like to - filter config directory (some property/configuration files), - don't package the content of the config it in the jar - and make config directory a classpath entry for the exec:java plugin I know how to filter src/main/resources. Any tips? Cheers,Borut

Re: Surefire not excluding jUnit TestSuite$1

2008-04-04 Thread Martin Höller
On Thursday 03 April 2008 Chad La Joie wrote: > The error message in the summary report wasn't at all helpful and I > missed the line in "<<< FAILURE!" line in the scrolling text as the > tests were ran. A better error message would really help here. I think > just reporting, in the summary, the