Re: Deploying site.xml

2011-08-19 Thread Lóránt Pintér
lugin/maven-3.html#Site_descriptor_attachment> > > HTH, > -Lukas > > > > On 08/19/2011 12:21 PM, Lóránt Pintér wrote: > >> Hi, >> >> I just noticed that when I do "mvn site" on my project, that Maven tries >> to >> download th

Deploying site.xml

2011-08-19 Thread Lóránt Pintér
Hi, I just noticed that when I do "mvn site" on my project, that Maven tries to download the site.xml for its parent project: [INFO] Parent project loaded from repository: com.topdesk:tis-parent:pom:3.2-SNAPSHOT Downloading: http://nexus-proxy.tis.local/nexus/content/groups/public/com/topdesk/tis

Re: Setting site distribution URL in parent POM for entire company

2011-08-19 Thread Lóránt Pintér
Hey, Thanks for the example. This is quite similar to what I'm trying to do. But if I do it like this, Maven will deploy my site under: scp://.../${parent.groupId}/${parent.artifactId}/${parent.version}/../../../${project.groupId}/${project.artifactId}/${project.version}/${project.artifactId}/ I

Setting site distribution URL in parent POM for entire company

2011-08-18 Thread Lóránt Pintér
Hi, I would like to let my co-workers publish Maven sites easily. For this I'd like to define some kind of convention for site locations. I would like this to work "out-of-the-box", so if I create a new Maven project that uses the company POM, its site would be deployed to the right location autom

Distinguishing artifacts created on branches

2011-01-17 Thread Lóránt Pintér
Hi, I want to deploy alternate artifacts from my branches so that other developers can depend on them. Say, I have a product called com.mycompany.tool tool 5.2-SNAPSHOT Now, I'd like to create a branch of this one where I add a new feature. And this early adopter developer here wants to already

Re: Release plugin to check SCM location

2010-09-28 Thread Lóránt Pintér
d be added like ScmProvider.validateScmUrlAgainstWorkingCopy(String scmUrl, ScmRepository repository, String rootPath);, and it would require a change in all SCM providers again. Lóránt On Tue, Sep 28, 2010 at 09:04, Brett Porter wrote: > > On 28/09/2010, at 4:01 PM, Lóránt Pintér wrote: > > > My problem with bot

Re: Release plugin to check SCM location

2010-09-27 Thread Lóránt Pintér
My problem with both these options is that they'd only check the syntax of the URLs. My problem is more like "MRELEASE-494: Should fail during release:prepare if scm:url doesn't match working copy". Is there a plugin/goal/way to check this, at least bef

Release plugin to check SCM location

2010-09-27 Thread Lóránt Pintér
Hi, The release plugin checks a lot of things, like local modifications and such, but the contents of the tag is not among them. I'm not sure if it is possible to check with every SCM provider, but with SVN it would be nice if it threw an error (preferably in the beginning) if the connection poin

Re: Archetype plugin 2.0-alpha-6 release?

2010-09-24 Thread Lóránt Pintér
> regards, > > Hervé > > Le lundi 13 septembre 2010, Lóránt Pintér a écrit : > > I just tried it. With 2.0-alpha-5 the build hangs for a while, and > > then produces the internal archetypes. With 2.0-alpha-6-SNAPSHOT it > > shows several remote archetypes instan

Keep local repositories at managable size

2010-09-16 Thread Lóránt Pintér
Hi, I'm using Hudson to do nightly builds of the product we are working on. It deploys to Nexus, and it works beautifully. Every night we create like 800 MB of artifacts, and Nexus keeps the last 3 of each SNAPSHOT, so it uses a managable amount of disk space to do this. However, on the Hudson sla

Re: Archetype plugin 2.0-alpha-6 release?

2010-09-13 Thread Lóránt Pintér
I just tried it. With 2.0-alpha-5 the build hangs for a while, and then produces the internal archetypes. With 2.0-alpha-6-SNAPSHOT it shows several remote archetypes instantly. So I think it's working properly. Is there something specific to check? Lóránt On Wed, Sep 8, 2010 at 23:56, Hervé BOUT

Archetype plugin 2.0-alpha-6 release?

2010-09-08 Thread Lóránt Pintér
Hi, I'm fighting with http://jira.codehaus.org/browse/ARCHETYPE-202. It seems that all issues for 2.0-alpha-6 have been fixed (among then ARCHETYPE-202) before 20th Aug. Can 2.0-alpha-6 be released, please? Thanks, Lóránt - To u

test-jar dependency not found when tests are disabled

2010-06-15 Thread Lóránt Pintér
Hi, I have two modules (A and B) in a multi-module project, B depending on A. The tests in B want to use the test classes defined in A, so did what is described here: http://maven.apache.org/guides/mini/guide-attached-tests.html . This way the test classes from project A get deployed to our compan

Keep local repository clean

2010-04-06 Thread Lóránt Pintér
Hi, I have two builds in Hudson: one is a continuous build that does "mvn clean install", the other is a nightly build that does "mvn clean deploy". They are both built from the same source. The continuous build works just fine, but the nightly is filling up all available disk space because it st

Re: Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
Another question: what should be service releases be called? 1.0.sr1? 1.0-sr1? 1.0.1? Lóránt 2010/3/23 Lóránt Pintér : > At this point I cannot see why I would mix SNAPSHOT and final versions > of my artifacts as dependencies. (This is a standalone product, the > only things depending

Re: Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
going to decide which is the never? Is it important? Lóránt On Tue, Mar 23, 2010 at 11:43, Jörg Schaible wrote: > Hi Lóránt, > > Lóránt Pintér wrote at Dienstag, 23. März 2010 10:21: > >> Hi, >> >> I am in doubt regarding what version numbers I should use for my >

Re: Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
by looking at even the >> SNAPSHOT version numbers what milestone we are getting towards. > >  Best regards, > Aleksey. > > > > > 23.03.2010 13:21, Lóránt Pintér пишет: >> >> Hi, >> >> I am in doubt regarding what version numbers I should use for

Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
Hi, I am in doubt regarding what version numbers I should use for my product. There are two schemes I can think of right now: 1) 1.0-m1-SNAPSHOT -> 1.0-m1 -> 1.0-m2-SNAPSHOT -> 1.0-m2 -> 1.0-rc1-SNAPSHOT -> 1.0-rc1 ... 2) 1.0-SNAPSHOT -> 1.0-m1 -> 1.0-SNAPSHOT -> 1.0-m2 -> 1.0-SNAPSHOT -> 1.0-rc

Defining "utility" plugin executions in a multi-module project

2010-03-19 Thread Lóránt Pintér
Hi, I have a big project, with 30-ish modules. Some of the modules need native DLLs to be present in target/lib, so I want to use m-dependency-p to unpack/copy them in place during the initialize phase. Let's just say there are two sets of these DLLs. Some of the modules need one set, while some

Site generation questions

2010-02-24 Thread Lóránt Pintér
Hi, I have a multi-module project I want to generate a site for in Hudson. 1) Do I have to do "mvn clean install site-deploy", or is it enough to do "mvn clean site-deploy"? 2) How is the Maven 3 site generation coming along? Is there a way to use Maven 3 to generate a site at the moment, or do

Transitive exclusions in multi-module project with Maven 2.2.1

2010-02-03 Thread Lóránt Pintér
Hi, I have a project called Client that depends on a side-artifact of project Server (actually, its RMI client classes; the artifact has the classifier "rmi"), but excludes each of Server's dependencies. I also have an assembly project called Client-assembly that depends on project Client (and thu

Re: Plugin executions vs. POM inheritance

2010-01-29 Thread Lóránt Pintér
How could this be achieved with profiles? Lóránt On Fri, Jan 29, 2010 at 21:13, Wayne Fay wrote: >> If this is the way it should work, is there a way to achieve what I >> want? I.e. define some utility executions in parent that can be called >> in child modules, but independent of other executio

Re: Plugin executions vs. POM inheritance

2010-01-28 Thread Lóránt Pintér
, Stephen Connolly wrote: > false > > 2010/1/28 Lóránt Pintér > >> Hi, >> >> I'm using the dependency plugin a lot to copy stuff around (mostly to >> get around the assembly plugin not allowing me to add arbitrary >> artifacts to assemblies). Some uses

Plugin executions vs. POM inheritance

2010-01-28 Thread Lóránt Pintér
Hi, I'm using the dependency plugin a lot to copy stuff around (mostly to get around the assembly plugin not allowing me to add arbitrary artifacts to assemblies). Some uses are general, and are needed in more than one module. AFAIK I should define these "general" executions in a parent POM, under

Arbitrary artifacts in an assembly

2010-01-25 Thread Lóránt Pintér
Hi, I'd like to include some binaries (a Java service wrapper called Tanuki) in my assemblies that I make for several platforms (like win32, win64, linux32, linux64 etc.). Each platform has its own assembly, and requires a different set of binaries (win32, win64 etc. respectively). All the assembl

Re: best practice to include resources in the jar file and unpack them on target server

2010-01-21 Thread Lóránt Pintér
I've had a similar problem. What you can do is to use the assembly plugin to create a separate zip or jar of your extra resources, attach the created archive to the build with a different classifier, and extract this artifact with the dependency plugin's unpack goal. Lóránt On Thu, Jan 21, 2010 a