Re: error using custom achetype catalog within m2eclipse plugin

2009-03-10 Thread Merv Green
M2eclipse lists everything from the catalog, but cannot generate the corresponding projects unless the Nexus indexer also finds the archetypes. Manually updating the local index from Eclipse's 'Nexus Indexes view' lets m2e use them. This comes with the inconvenience that m2e fails to release i

Re: Trouble getting mvn gram:gram to work

2009-03-10 Thread Frans Slothouber
Thanks! that did the trick. In the end it turned out the whole plug-in was not needed, but that the documentation was out-dated. Will try to get that fixed. BTW: Coming from a C/C++ background where the build/project tooling can be a real pain, I must say Maven is a real pleasure to work with.

Re: Best practice: web service project structure

2009-03-10 Thread Rusty Wright
Sorry, I should have used the url for Better Builds with Maven; http://www.exist.com/better-build-maven I'm not saying that it has the answer, just tossing it out since it has a section on doing a web services client, in case you haven't looked at it (I can't tell if they're doing the server s

Re: Best practice: web service project structure

2009-03-10 Thread Christoph
Thanks Rusty, but this is actually not answering my question... I know how to do multi-module projects in principle, I'm just wondering if that is the right approach to structure a single web service to get separate JARs for the different "views" on it (client view, impl view). A WS should be c

Re: dependency lookup url

2009-03-10 Thread Wayne Fay
> I'm mirroring everything to my artifactory instance (maybe that is > misconfigured/bugy but since I don't know the lookup url I can't figure > out). You still need to declare a snapshot-enabled repo somewhere in your settings.xml. Wayne -

Re: maven release plugin addition

2009-03-10 Thread Stephen Connolly
99% of the code you need is in a shared component that you can reuse write a maven plugin to do this for you if you really see a need. IMHO there is no need as people should just release correctly or else just deploy the ant built artifacts without maven On 10/03/2009, Lachlan Deck wrote: > On

Re: dependency lookup url

2009-03-10 Thread mcystems
I'm mirroring everything to my artifactory instance (maybe that is misconfigured/bugy but since I don't know the lookup url I can't figure out). Is there a way to find this out or should I run maven from source? :) my settings.xml: artifactory * http://sal

project.build.directory not set properly for ant

2009-03-10 Thread Jim McCaskey
Hello, We are currently using Maven 2.0.7 and I am working on upgrading us to Maven 2.0.10. I ran into a problem which I think is in maven-antrun-plugin, but can't be sure. I do not think it is interpreting ${project.build.directory} properly. In a lot of our POM's we override the output dire

Re: [ANN] Maven Database Migration Plugin v0.9.1

2009-03-10 Thread Rusty Wright
Yeah, I just wanted to carp because there are so many reasons to use maven but no easy way to find out why. Geoffrey Wiseman wrote: On Tue, Mar 10, 2009 at 4:33 PM, Rusty Wright wrote: This is the first I've ever heard of LiquiBase; according to the archives there's only one other email from

Re: maven release plugin addition

2009-03-10 Thread Lachlan Deck
On 11/03/2009, at 9:12 AM, Stephen Connolly wrote: edit the version in thepom andjust run mvn deploy More work? Sure I can create an ant-file that will recursively follow the modules down editing all of them to do this - but that's what the release plugin does already right? A bit of re-us

Re: maven release plugin addition

2009-03-10 Thread Stephen Connolly
edit the version in thepom andjust run mvn deploy On 10/03/2009, Lachlan Deck wrote: > On 10/03/2009, at 9:06 PM, Stephen Connolly wrote: > >> ehhh what's wrong with "mvn deploy"... that will deploy the current >> version >> (which should be a -SNAPSHOT)... > > Because, quite simply, I don't want

Re: [ANN] Maven Database Migration Plugin v0.9.1

2009-03-10 Thread Geoffrey Wiseman
On Tue, Mar 10, 2009 at 4:33 PM, Rusty Wright wrote: > This is the first I've ever heard of LiquiBase; according to the archives > there's only one other email from October 2008 that mentions it. > > It seems to me that there ought to be better marketing for maven and its > plugins; see, for examp

Re: how to escape %{SOMENAME} characters in archetypes?

2009-03-10 Thread Wendy Smoak
On Tue, Mar 10, 2009 at 1:36 PM, Mick Knutson wrote: > I keep getting these errors created a project from my archetype: > > *[WARNING] org.apache.velocity.runtime.exception.ReferenceException: > reference : template = archetype-resources/pom.xml [ * > *line 84,column 44] : ${user.home} is not a va

Re: [ANN] Maven Database Migration Plugin v0.9.1

2009-03-10 Thread Rusty Wright
This is the first I've ever heard of LiquiBase; according to the archives there's only one other email from October 2008 that mentions it. It seems to me that there ought to be better marketing for maven and its plugins; see, for example, the huge list of eclipse plugins that you can get to fr

Re: dependency lookup url

2009-03-10 Thread Wayne Fay
> Is there a way to get the generated dependency lookup url form maven > 2.0.10? For non snapshot dependency everything works fine, but when I > want to use a snapshot version maven fails to find it, even the file is > in the repo. You probably need to enable Snapshots in your repo definition in s

Re: Downloading resource files with Maven

2009-03-10 Thread Wayne Fay
> I want to download some resource files from a remote location during > my Maven build before execute test phase  , is there any plug-in or > any way to achieve this ...? I couldn't find way to  do this with > Maven Resources plug in, but  in Ant Get Task [1] provide this > feature. 1. Maven is n

dependency lookup url

2009-03-10 Thread mcystems
Hi! Is there a way to get the generated dependency lookup url form maven 2.0.10? For non snapshot dependency everything works fine, but when I want to use a snapshot version maven fails to find it, even the file is in the repo. Thanks in advance, Csaba Madai

project.build.directory not set properly for ant

2009-03-10 Thread Jim McCaskey
Hello, We are currently using Maven 2.0.7 and I am working on upgrading us to Maven 2.0.10. I ran into a problem which I think is in maven-antrun-plugin, but can't be sure. I do not think it is interpreting ${project.build.directory} properly. In a lot of our POM's we override the output dire

how to escape %{SOMENAME} characters in archetypes?

2009-03-10 Thread Mick Knutson
I keep getting these errors created a project from my archetype: *[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [ * *line 84,column 44] : ${user.home} is not a valid reference. * *[WARNING] org.apache.velocity.runtime.excepti

Re: Best practice: web service project structure

2009-03-10 Thread Rusty Wright
http://www.sonatype.com/books/maven-book/reference/ Have a look at the multi-module projects. Christoph wrote: Hi, we're want to setup a couple of web service projects that have to provide several artifacts: * ws-client.jar: contains everything required to call the WS * ws-impl.jar: provides

RE: Maven Release --> Unable to enable editing on the POM - clearcase ucm

2009-03-10 Thread fernando.ney
I having the same problem, any solution? -- View this message in context: http://www.nabble.com/exec-maven-plugin-tp13051745p22442784.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-m

Downloading resource files with Maven

2009-03-10 Thread Sagara Gunathunga
Hi all , I want to download some resource files from a remote location during my Maven build before execute test phase , is there any plug-in or any way to achieve this ...? I couldn't find way to do this with Maven Resources plug in, but in Ant Get Task [1] provide this feature. [1] - http://a

Re: maven release plugin addition

2009-03-10 Thread Lachlan Deck
On 10/03/2009, at 9:06 PM, Stephen Connolly wrote: ehhh what's wrong with "mvn deploy"... that will deploy the current version (which should be a -SNAPSHOT)... Because, quite simply, I don't want to link my projects against a snapshot. The svn version is repeatable. in all other cases y

Archetype, deploying questions

2009-03-10 Thread Ricky
Hi, I am working on an open source project which has 6 sub-project modules, I am hoping to deploy the project (not now, probably when I am ready) to maven production repsoitory.My question to maven community would be: What are the aspects for maven people to consider a project viable for getting

Re: Special URL characters

2009-03-10 Thread Lance Java
pom.xml is xml, you need to escape your "&" symbols with "&" 2009/3/10 solo1970 > > Hello All, > > I would like to put the following URL: > > > http://local.mysite/pub/get?Type=19010-TEST9040044/1&Lang=X&Rev=1&Format=GZIP > in the tags of my POM, > but I get the following error: > > [INFO] Scan

Re: Special URL characters

2009-03-10 Thread solo1970
Thanks! It worked!!! Sonia matinh wrote: > > It's not, just in Nabble. Your Browser is interpreting the '&' > entities. > Look at the source code in your browser. > > hth, > - martin > On Tuesday 10 March 2009 solo1970 wrote: >> Hello Chris, >> >> I kind of understand your explanation, but t

Re: Special URL characters

2009-03-10 Thread Martin Höller
It's not, just in Nabble. Your Browser is interpreting the '&' entities. Look at the source code in your browser. hth, - martin On Tuesday 10 March 2009 solo1970 wrote: > Hello Chris, > > I kind of understand your explanation, but the URL you're suggesting to > me is the same as mine!??? > ? > >

Re: [ANN] Maven Database Migration Plugin v0.9.1

2009-03-10 Thread Geoffrey Wiseman
On Mon, Mar 9, 2009 at 10:38 PM, Christian Nelson wrote: > The db-migration-maven-plugin > provides support for > managing project database structure changes over time > (a la rails migrations). Each change is captured as a discrete migration > (impleme

Re: Special URL characters

2009-03-10 Thread solo1970
Hello Chris, I kind of understand your explanation, but the URL you're suggesting to me is the same as mine!??? ? Can you re-type the URL I should put in the tag? Sonia Chris Lieb-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > solo1970 wrote: >> Hello All, >> >> I would l

Re: Special URL characters

2009-03-10 Thread solo1970
I tried with this URL: http://local.mysite/pub/get?Type%3D19010-TEST9040044%2F1%26Lang%3DX%26Rev%3D1%26Format%3DGZIP No error when mvn validate or deploy, but the characters are not converted, hence the URL is invalid! Sonia Felix Knecht-2 wrote: > > Hi Sonia > > Not tested, maybe url encod

Re: Special URL characters

2009-03-10 Thread Chris Lieb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 solo1970 wrote: > Hello All, > > I would like to put the following URL: > > http://local.mysite/pub/get?Type=19010-TEST9040044/1&Lang=X&Rev=1&Format=GZIP > in the tags of my POM, > but I get the following error: > > [INFO] Scanning for projects.

error using custom achetype catalog within m2eclipse plugin

2009-03-10 Thread Mick Knutson
I created an archetype and a local catalog as per: http://maven.apache.org/plugins/maven-archetype-plugin/specification/archetype-catalog.html But when I am in the M2Eclipse plugin, after running through the New Maven Project, using this archetype I get this error: *Unable to create project from

Re: Antwort: Re: how can I guarantee delivery artifacts (*.war, *.ear) to use the same shared API?

2009-03-10 Thread Tobias Gierke
Hi, > ...that would only move the problem to the common parent. > Than I have to guarantee, that all my artifacts use the same common > parent. > We've solved this by doing all of our releases using a simple Perl wrapper script that 1.) changes into the project's directory 2.) svn up 3.) mvn o

Re: Special URL characters

2009-03-10 Thread Felix Knecht
Hi Sonia Not tested, maybe url encoding helps for the parameter part: http://local.mysite/pub/get?Type%3D19010-TEST9040044%2F1%26Lang%3DX%26Rev%3D1%26Format%3DGZIP Felix solo1970 schrieb: Hello All, I would like to put the following URL: http://local.mysite/pub/get?Type=19010-TEST9040044/

Special URL characters

2009-03-10 Thread solo1970
Hello All, I would like to put the following URL: http://local.mysite/pub/get?Type=19010-TEST9040044/1&Lang=X&Rev=1&Format=GZIP in the tags of my POM, but I get the following error: [INFO] Scanning for projects... [INFO] --

AW: Antwort: Re: how can I guarantee delivery artifacts (*.war, *.ear) to use the same shared API?

2009-03-10 Thread Lewis, Eric
We do it like Tobias described, and frankly, how would you force your projects to use the same version otherwise? We have a hierarchy of parent POMs - Master parent POM defines everything for Maven, like plugins, properties, repositories and stuff - Per project (not Maven project, the real, big

Antwort: Re: how can I guarantee delivery artifacts (*.war, *.ear) to use the same shared API?

2009-03-10 Thread torsten . reinhard
...that would only move the problem to the common parent. Than I have to guarantee, that all my artifacts use the same common parent. I´m thinking about a (JUnit)Testcase, that checks the version of common-services, or that reads an entry of all the Manifest.MF oder "common-services.properties

Re: How can I force maven download dependency?

2009-03-10 Thread Sahoo
If it silently ignores, then it is too bad. Let's hope someone can confirm the behavior. Stephen Connolly wrote: AFAIK, it silently ignores the second deploy in newer versions of the maven-deploy-plugin but I could be wrong 2009/3/10 Sahoo Although this is a core assumption in maven, man

RE: How can I force maven download dependency?

2009-03-10 Thread Todd Thiessen
I don't think so. It will overwrite an already existing release if your repo manager allows it. --- Todd Thiessen > -Original Message- > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Sent: Tuesday, March 10, 2009 7:58 AM > To: Maven Users List > Subject: Re: How can

Re: site generation in a multi-module project

2009-03-10 Thread Dale . Chapman
Hi Matthias. To partially address your comment in the P.S. section of your original note, you might want to try using the maven dashboard plugin. http://mojo.codehaus.org/dashboard-maven-plugin/ It produces an HTML page that provides graphical feedback on the quality metrics from specific tools

Re: how can I guarantee delivery artifacts (*.war, *.ear) to use the same shared API?

2009-03-10 Thread Tobias Gierke
Hi Torsten, > Hi, > > in our build environment, we build and release our modules at different > times. > Lets say UI.war is released first, than backend.ear (using the released > UI) is released three days later, > than last the WebServices.war were released. > > All are using a shared API (co

Re: how can I guarantee delivery artifacts (*.war, *.ear) to use the same shared API?

2009-03-10 Thread Jörg Schaible
Hi Torsten, torsten.reinh...@gi-de.com wrote at Dienstag, 10. März 2009 11:44: > Hi, > > in our build environment, we build and release our modules at different > times. > Lets say UI.war is released first, than backend.ear (using the released > UI) is released three days later, > than last the

AW: How to get permission to Jira?

2009-03-10 Thread Lewis, Eric
Well, yes... now it works :-) It looks like either I need new glasses ;-) or I couldn't create the issue because I had just signed up in Jira. Thanks & best regards, Eric > -Ursprüngliche Nachricht- > Von: Martin Höller [mailto:mar...@xss.co.at] > Gesendet: Dienstag, 10. März 2009 09

Re: How can I force maven download dependency?

2009-03-10 Thread Stephen Connolly
AFAIK, it silently ignores the second deploy in newer versions of the maven-deploy-plugin but I could be wrong 2009/3/10 Sahoo > Although this is a core assumption in maven, many people don't know this. > The question that I have is why does maven not try to protect itself from > human error? Sh

Re: How to get permission to Jira?

2009-03-10 Thread Martin Höller
On Monday 09 March 2009 Lewis, Eric wrote: > This may be a stupid question, but I didn't find any help online. > I'd like to enter a Maven issue (for the site plugin). I set up an > account in Jira and got access. According to the Jira help, I should see > a 'Create new issue' link if I have the pe

how can I guarantee delivery artifacts (*.war, *.ear) to use the same shared API?

2009-03-10 Thread torsten . reinhard
Hi, in our build environment, we build and release our modules at different times. Lets say UI.war is released first, than backend.ear (using the released UI) is released three days later, than last the WebServices.war were released. All are using a shared API (common-services.jar) In our d

Best practice: web service project structure

2009-03-10 Thread Christoph
Hi, we're want to setup a couple of web service projects that have to provide several artifacts: * ws-client.jar: contains everything required to call the WS * ws-impl.jar: provides the implementation of a WS * ws-core.jar: contains base classes used by both of the others This way a WS client is

Re: How can I force maven download dependency?

2009-03-10 Thread Sahoo
Although this is a core assumption in maven, many people don't know this. The question that I have is why does maven not try to protect itself from human error? Should mvn-deploy not refuse to overwrite an artifact by default? Sahoo Stephen Connolly wrote: The core assumption of a maven repo

Re: maven release plugin addition

2009-03-10 Thread Stephen Connolly
ehhh what's wrong with "mvn deploy"... that will deploy the current version (which should be a -SNAPSHOT)... in all other cases you should be using a qualifier that identifies you as the builder... for example if I want to deploy my own version of something that is currently 5.0.0-SNAPSHOT I would

maven release plugin addition

2009-03-10 Thread Lachlan Deck
Hi there, I'd like to see either an additional goal (e.g., release:deploy) added to the release plugin or perhaps it can be achieved via properties. Essentially, as far as I understand it, the release plugin requires access to an scm repository to commit changes to in addition to deployin