Re: Dependency licenses

2008-10-28 Thread Julien Graglia
Le lundi 27 octobre 2008 à 14:48 +1100, James William Dumay a écrit : On Mon, 2008-10-06 at 10:13 -0700, bshepherd wrote: Would like to see this plugin in central. It helped me alot. Brian Good news - I've released the maven-licenses-plugin 0.1 and it should be up on the central

Re: maven-release-plugin

2008-10-28 Thread Rémy
Hi, Thanks for your responses. I understand the idea. Here are my worries (I'll try to be clear). I've got a multi-module project. A parent POM and childs (25). The first time all the pom are in snapshot version. When I use the release:prepare plugin, it create a snapshot pom for the parent and

remote deployment and maven versions

2008-10-28 Thread Jeremy Monnet
Hello, This is my very first post on this list, so I'll give enough explanation for my questions :-) I have an environnement with maven 1.0.2 (very old, but entreprise environnement so it will not change before months ...), and I looked for information about remote deployment (mainly sftp). I

repo1.maven.org is really slow

2008-10-28 Thread Ray Krueger
Has anyone noticed that repo1 has been really slow the past couple days? It just took me 20 seconds to download commons-lang which is all of 237k. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: repo1.maven.org is really slow

2008-10-28 Thread Brian E. Fox
We have been getting hit really hard by people trying to scrape the repo for monetary purposes. We block them when it causes problems and then they get more sneaky about their methods. The machine load was going through the roof so we are in the process of installing a balancer and an additional

RE: repo1.maven.org is really slow

2008-10-28 Thread Chris Helck
What monetary purpose is there to scraping the repo? I want to know if there is a security issue related to using Maven. -C. Helck -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 8:56 AM To: Maven Users List Subject: Re: repo1.maven.org

Re: repo1.maven.org is really slow

2008-10-28 Thread Brian E. Fox
They use it to provide search websites and stick ads or sell the accumulated information about the OSS projects it contains. On 10/28/08 9:09 AM, Chris Helck [EMAIL PROTECTED] wrote: What monetary purpose is there to scraping the repo? I want to know if there is a security issue related to

Re: repo1.maven.org is really slow

2008-10-28 Thread Ray Krueger
On Tue, Oct 28, 2008 at 8:09 AM, Chris Helck [EMAIL PROTECTED] wrote: What monetary purpose is there to scraping the repo? I want to know if there is a security issue related to using Maven. -C. Helck What possible security risk could come from someone scraping the site?

What is attached and not?

2008-10-28 Thread Kent Närling
I have tried to find out what qualifies a result as being attached and not, but cannot find the answer? More specifically, I am using the rpm-maven-plugin, but simply fail to get the resulting rpm to be considered attached and hence uploaded to the repository when I release the project... Is it

Re: repo1.maven.org is really slow

2008-10-28 Thread Geoffrey Wiseman
On Tue, Oct 28, 2008 at 7:06 AM, Ray Krueger [EMAIL PROTECTED] wrote: Has anyone noticed that repo1 has been really slow the past couple days? It just took me 20 seconds to download commons-lang which is all of 237k. I always take the opportunity in this kind of scenario to recommend a local

RE: What is attached and not?

2008-10-28 Thread Edelson, Justin
You can attach arbitrary artifacts using the build-helper plugin. See http://mojo.codehaus.org/build-helper-maven-plugin/howto.html for an example. Justin -Original Message- From: Kent Närling [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 10:17 AM To: Maven Users List

RE: What is attached and not?

2008-10-28 Thread Brian E. Fox
This is covered here: http://blogs.sonatype.com/people/brian/2008/05/19/misused-maven-terms-defined/ -Original Message- From: Kent Närling [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 10:17 AM To: Maven Users List Subject: What is attached and not? I have tried to find out

Anone using the rpm-maven-plugin successfully?

2008-10-28 Thread Kent Närling
Is anyone using the rpm-maven-plugin to generate practical rpm:s? My colleague is quite sceptical and prefers us to call a simple rpm-generation script from maven, should I try to concinve him not to? and why? ie. what advantages/disadvantages do we have from using a proper plugin instead of a

Re: Anone using the rpm-maven-plugin successfully?

2008-10-28 Thread Gabriel Garcia
I use it for a couple of small artifacts. It does lack of a lot of functionality (check outstanding issues and discussions in codehaus). If you already are generating the spec files and are happy to keep doing it, I'd suggest you stick to it until the plugin grows in functionality. My 2p.

Re: maven-release-plugin

2008-10-28 Thread Kalle Korhonen
If the submodules don't change, you just disconnect them from the main build, change the parent to point to a released version and release separately. The plugin won't change the versions if they are not part of the build. All poms in the trunk or branches should use snapshot versions so they are

mvn release plugin only to release parent project

2008-10-28 Thread John Coleman
Hi, I have a pom type parent project with modules of type jar that inherit settings from the parent. Is it possible to do a mvn release at the parent level that does not build and release all the related modules? I have tried the --non-recursive option to no effect. I just want to create a

Defining file mode when unpacking dependencies with assembly-plugin

2008-10-28 Thread Amélie
Hi, I am using assembly-plugin to create a tar.gz assembly. I have a .tgz dependency which I need to unpack to create the assembly. Here is how my assembly descriptor looks like: dependencySet outputDirectory//outputDirectory includes include*tgz/include

Re: mvn release plugin only to release parent project

2008-10-28 Thread Olivier Lamy
Hi, -N should work. And add -Darguments=-N -- Olivier 2008/10/28 John Coleman [EMAIL PROTECTED]: Hi, I have a pom type parent project with modules of type jar that inherit settings from the parent. Is it possible to do a mvn release at the parent level that does not build and release all

Re: mvn release plugin only to release parent project

2008-10-28 Thread Stephen Connolly
You'll probably need to run mvn -N versions:update-child-modules afterwards to fix all the parent references in the child modules though (oh and then you'll need to commit the changed poms for the chiildren to SCM) 2008/10/28 Olivier Lamy [EMAIL PROTECTED] Hi, -N should work. And add

Re: Multimodule archetype does not propagate the artifactId in module names

2008-10-28 Thread Raphaël Piéroni
Thanks for all these inforations Raphaël 2008/10/27 stug23 [EMAIL PROTECTED]: After further testing, it appears that the problems I have with multimodule projects do not occur on the Windows platform, just on Mac OS X. I will do some more testing to nail this down. stug23 wrote:

More sofisticated resource filtering? extracting substrings from properties etc?

2008-10-28 Thread Kent Närling
Is there anyway of doing string operations when using resource filtering? eg. something like ${project.version?substring(0,2)} or ${project.version?replace(-,.)} ? (freemarker style here) I ask since I want to generate an RPM spec file and then rpmbuild doesn't like dashes (-) in the version (eg

Re: Is there exit maven-jira-plugin?

2008-10-28 Thread Dennis Lundberg
sean.chen(???) wrote: We use JIRA 3.12.x as our bug/issue tracking system, I want to integrate Maven with JIRA after our CI runs, Its also generate the release issues? anyone know how to integrate the two software?I can see many project such as maven-war-plugin have this:

RE: Anone using the rpm-maven-plugin successfully?

2008-10-28 Thread Okken,Brett
I have logged several issues with this plugin[1,2,3] and provided patches. With the patch, I was able to generate an rpm as an artifact with little difficulty. [1] - http://jira.codehaus.org/browse/MOJO-1249 [2] - http://jira.codehaus.org/browse/MOJO-1250 [3] -

RE: What is attached and not?

2008-10-28 Thread Okken,Brett
It seems that the rpm plugin was only designed to produce rpms on the local machine and not distribute them to the repository. In my use case, I want rpm to be the primary artifact of the project and have logged an issue[1] with an attached patch for that. [1] -

How to convert Eclipse project to maven project

2008-10-28 Thread Petr V.
I have simple web services demo which I created in Eclipse and added external jar files to project. I am able to run it successfully unit tests in eclipse IDE. Now I have moved the code to maven project and added dependencies tho those jar files in my pom file. And now the maven project fails

Re: How to convert Eclipse project to maven project

2008-10-28 Thread David C. Hicks
Unless you specified the proper versions and classifiers for your dependencies, then Maven is likely to find the ones that are available in the primary repository. Assuming that you used Maven to install your jar files into your local repository, make sure that your pom.xml specifies the same

Re: Is there exit maven-jira-plugin?

2008-10-28 Thread sean.chen(陈思淼)
Thank you for advise. 2008/10/29 Dennis Lundberg [EMAIL PROTECTED] sean.chen(???) wrote: We use JIRA 3.12.x as our bug/issue tracking system, I want to integrate Maven with JIRA after our CI runs, Its also generate the release issues? anyone know how to integrate the two software?I can

Re: How to convert Eclipse project to maven project

2008-10-28 Thread Petr V.
Thanks Dave for such a quick response. I started from jar files w/o pom files. So I went to maven repository web site http://www.mvnrepository.com/ and search for those jars. Some of those jars were available under different groups ids but same artifact id like saax-api-1.3.jar is found under

Re: How to convert Eclipse project to maven project

2008-10-28 Thread David C. Hicks
Ah. I see where you went wrong. It's not even that complicated. Use the following command to add your jar files to your local repository: mvn install:install-file -Dfile=path-to-file -DgroupId=group-id -DartifactId=artifact-id -Dversion=version -Dpackaging=packaging Example: mvn

Re: How to convert Eclipse project to maven project

2008-10-28 Thread Petr V.
Once agian thanks Dave for qyuick response. That's what I did to install manually the jar files in repo. Are you saying that I could use any random group ids and artifacts ids to install my jar files in local repo as long as it those match with my pom file ? So I had lets suppose

Re: Multimodule archetype does not propagate the artifactId in module names

2008-10-28 Thread stug23
Raphaël, It turned out that the generated archetype that was attached to http://jira.codehaus.org/browse/ARCHETYPE-153 was the problem. When I started with the project and ran archetype:create-from-project on it, the resultant generated archetype worked correctly. Thanks, Pat Raphaël