Re: How Maven solves the problem of long builds on large projects?

2015-12-21 Thread Graham Leggett
On 21 Dec 2015, at 12:53, Sergey Saraev wrote: > I am developing a project with 67 modules. > I use Apache Maven 3.0.4. > > Reassembly of the project take 1 hour and 50 minutes although usually commit > change only one module. > > The project is very large. It contains 5948 java classes (Basic

Re: [rpm-maven-plugin] how to control the name under which rpm is stored in m2 repository?

2015-12-07 Thread Graham Leggett
On 07 Dec 2015, at 8:44 PM, Steve Cohen wrote: > Our organization has a convention for naming rpms. Typically, the rpm will > have a shorter base name than the Maven project. There is also a convention > around how releases are named. So we want a name > like|${shortname}-${project.version}-${

Re: How easy/reliable is a maven repo hosted on webdav?

2015-11-05 Thread Graham Leggett
On 05 Nov 2015, at 2:13 AM, Kevin Burton wrote: > I need to setup a new maven repo due to some changes we're making in our CI > framework. > > Basically, I want something simple.. I was looking at bintray and > artifactory and I think they are overkill for what we need and could be > rather expe

Re: Why are extensions project based and not global?

2015-05-28 Thread Graham Leggett
On 28 May 2015, at 16:58, Manfred Moser wrote: > I think having a global config for this would be good. Personally I think > having .m2/extensions.xml would be a good way to do it. Can you describe the use case? It seems this only makes sense if you only ever do work for one organization, eve

Re: Minimum RPM Version for rpm-maven-plugin?

2015-04-07 Thread Graham Leggett
On 06 Apr 2015, at 11:34 PM, Steve Cohen wrote: > I'm trying to run the rpm plugin on an old solaris box that is running rpm > v3.0.4, and the plugin complains that it can't find rpmbuild. IIRC, rpmbuild > was added to the rpm suite maybe 10 years ago and this is older than that. > Is that s

Re: [VOTE] Name our mascot: "Shotgun" vs "The Maven Owl"

2014-12-15 Thread Graham Leggett
On 15 Dec 2014, at 12:39 PM, Stephen Connolly wrote: > After the run-off round, we are left with two names standing. > > This second vote will be a straight and simple majority wins. > > The vote will be open for at least 72 hours (with the potential of an > extension until I send a message sa

Re: [VOTE] Run-off for mascot's name

2014-12-10 Thread Graham Leggett
Hi all, K. Regards, Graham -- > On 9 Dec 2014, at 10:52, Stephen Connolly > wrote: > > This is a run-off vote to select the top two options for our new mascot's > name. > > The entries with the highest number of votes will be selected for the final > round. If there is only one entry with t

Re: Problem with maven-deploy-plugin

2014-09-14 Thread Graham Leggett
On 14 Sep 2014, at 11:58, Fedor Belov wrote: > Hello. I've got repository protected by SSL located on subdomain: > https://abc.mysite.com/ > When I try to upload my artifact (`mvn deploy`) mvn rises an exception: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin

Re: Build once, deploy everywhere

2014-09-10 Thread Graham Leggett
On 10 Sep 2014, at 10:03, Jan wrote: > Does anyone using Maven as Build Once and deploy Everywhere method? Like > lets say i don't want to recompile my source code everytime for different > environment DEV,SIT,UAT & PROD. I want to do my compile and package only at > DEV then deploy the artifact

Re: Maven Release Plugin - release:branch: branch versions not set as expected

2014-09-01 Thread Graham Leggett
On 1 Sep 2014, at 03:21, Mark Gibson wrote: > Ok, thanks Robert. > > Sadly this doesn't fit my expectations or needs. I'll look to do something a > little more manual. Are you perhaps mixing up tagging and branching? What you describe sounds like what release:prepare would do. Regards, Grah

Re: maven + SNI == problems?

2014-08-21 Thread Graham Leggett
On 21 Aug 2014, at 5:07 PM, Martin Gainty wrote: > MG>The hostname that the cert is bound to != HostNameYouAreProviding > MG>determine the hostname which the cert is using and use that instead > MG>OR create a new cert from the key provided (jks)..here are the instructions > MG>http://docs.oracle

maven + SNI == problems?

2014-08-20 Thread Graham Leggett
Hi all, I just tied to do a simple “mvn install” against a long-since-working maven repository that is hosted on an SSL client-certificate protected server using SNI, and I get the exception below. I see in the stacktrace the default is httpclient, which has very patchy support for SSL/SNI. Is

Re: How to avoid unzip of large test data on each "mvn test"

2014-07-31 Thread Graham Leggett
On 31 Jul 2014, at 2:55 PM, Francois MAROT wrote: > I'm in the process of switching to Maven for a large ANT project and have a > question regarding my test data. > I'd like those data to be versionned and stored in the Maven repo. But > currently those data are huge (let's say a 1-2 gigabytes on

Re: Why not a forum

2014-07-22 Thread Graham Leggett
On 22 Jul 2014, at 7:17 PM, Ron Wheeler wrote: > Not true. > You get an e-mail (individual or digest) that you can scan to see if you want > to participate in the discussion. > No more onerous than belonging to this group. > It also sorts out promotions and job offers from "real" discussions. Y

Re: Property that indicates a snapshot or release build?

2014-01-19 Thread Graham Leggett
On 19 Jan 2014, at 6:20 PM, Anders Hammar wrote: > Don't understand. You need to, through code, get hold of the artifact > objects. I am trying to get access to this from a property. What I need is a property that I can embed in a path inside the pom. If the artefact is a release, the property

Re: Property that indicates a snapshot or release build?

2014-01-19 Thread Graham Leggett
On 19 Jan 2014, at 5:59 PM, Anders Hammar wrote: > Yes, there is methods isSnapshot() and isRelease() if you get the Artifact > object. See [1]. > > /Anders > > [1] http://maven.apache.org/ref/3.1.1/maven-artifact/apidocs/index.html Is there a practical example anywhere of how this could be re

Property that indicates a snapshot or release build?

2014-01-19 Thread Graham Leggett
Hi all, Does there exist a property in maven that will indicate in some fashion whether the build is a snapshot build or a release build? I am aware that "-SNAPSHOT" appears in the version number, but that won't do. I'm after a variable that has one of two discrete values, one predictable value

Re: short and snappy description of what Maven is

2014-01-10 Thread Graham Leggett
On 06 Jan 2014, at 7:43 PM, "Lyons, Roy" wrote: > I would like to submit my short description for review. > > "Apache Maven is a convention-over-configuration build tool which has great > dependency management features." > > I know that it does more than that - but I feel that at its core, thi

Re: Maven Central Opinion

2014-01-05 Thread Graham Leggett
On 05 Jan 2014, at 3:15 PM, Tommy Svensson wrote: > - You are forced to have a SNAPSHOT version even if you have no use for such. Maven works because there is a consistent level of standards and a consistent methodology, and these standards are enforced in central. If you pick and choose to ig

Re: release plugin, different executable name ('mvn3')

2013-05-14 Thread Graham Leggett
On 14 May 2013, at 10:02 AM, José Manuel Castroagudín Silva wrote: > This is what I'm seeing: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare > (default-cli) on project : Failed to invoke Maven build. > Error configuring command-line. Reason: Mav

Re: release plugin, different executable name ('mvn3')

2013-05-14 Thread Graham Leggett
On 14 May 2013, at 08:31, José Manuel Castroagudín Silva wrote: > I've started doing some testing about maven-release plugin, and everything > went fine until the moment of trying it in our existing CI platform. Due > to, I think, "historical reasons", the maven executable is in this machine > n

Re: maven-dependency-plugin purge proper usage

2013-05-12 Thread Graham Leggett
On 12 May 2013, at 2:47 AM, Joe Osowski wrote: > Yes, you are correct. However, the problem with release/snapshots is that > maven assumes a revision in the VCS is a release. But in reality, a release > is the binary built by maven. A release is never just the binary built by maven, those ar

Re: maven-dependency-plugin purge proper usage

2013-05-11 Thread Graham Leggett
On 11 May 2013, at 10:17 PM, Joe Osowski wrote: >>> the build to make sure the latest dependencies are downloaded, as we >>> sometimes >>> change the non snapshot released binaries on our local maven repository. >> >> You do realize that this is a really bad idea, and it will eventually >> bite

Re: Lightweight maven-releases, or an alternative to the maven-release-plugin

2013-05-01 Thread Graham Leggett
On 30 Apr 2013, at 11:21 PM, Roger Brechbühl wrote: > Maybe somebody is interested in how a release could be built in a more > lightweight and safe way than with the maven-release-plugin. Especially > recommended for nightly releases. > > It's not yet released, but basically fully working: > >

Re: Why does the release process seem to require duplicate effort?

2013-04-17 Thread Graham Leggett
On 17 Apr 2013, at 7:34 PM, Russell Gold wrote: > Why does the normal release process require both release:prepare and then > release:perform? Under what conditions would you choose not to do the perform > step after a successful prepare step? Why do both generate source and javadoc > jars and

Re: Deployment

2013-03-03 Thread Graham Leggett
On 3 Mar 2013, at 16:24, Ron Wheeler wrote: > I have a hard time seeing how Maven can be bent to do this without making > maven even more complex. In my experience, maven has all the tools needed already out the box, the problems I encountered while doing it were bugs, which I fixed and contri

Re: Deployment

2013-03-03 Thread Graham Leggett
On 3 Mar 2013, at 03:56, Eric Kolotyluk wrote:. >> Modern OSes come with installation systems out the box, and operations >> people already understand those existing systems, there needs to be a very >> compelling reason to deploy some software using the platform's own >> deployment mechanism,

Re: Deployment

2013-03-02 Thread Graham Leggett
On 02 Mar 2013, at 5:40 AM, Eric Kolotyluk wrote: > I have been toying with the idea for a while as a software developer who has > had to build installers for applications and services, and I am often > dissatisfied with the experience I get using other people's installers. At > one time I was

Re: Deployment

2013-03-02 Thread Graham Leggett
On 01 Mar 2013, at 11:26 PM, Eric Kolotyluk wrote: > A while back we had some interesting discussions on using Maven, or > maven-like technology for deploying production software. I was wondering if > anything new has been happening since then. > > Basically what I am hoping to see is a generic

Re: Packaging up pre-existing jar and source jar

2013-01-17 Thread Graham Leggett
On 17 Jan 2013, at 21:54, Joachim Durchholz wrote: > You two are really priceless. > > I have heard the message, I have requested concrete reasoning, yet all I get > is a pat on the shoulder and a commandment to shut up and believe already. > Four mails, and not a SINGLE concrete explanation wh

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
On 14 Jan 2013, at 10:02 PM, Mirko Friedenhagen wrote: > I once was successful with referencing injected properties in velocity > by using the get method. Maybe something like: > ${project.properties.get("tomcat.port.http.confluence43.live")} > will work? Alas, no. The idea is that the properti

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
On 14 Jan 2013, at 6:36 PM, Olivier Lamy wrote: > maybe > http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#Filtering Doesn't seem to fit, alas, as you have to come up with your own template and manually add the new properties to the template. In addition, my pr

Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
Hi all, I am looking for a plugin that will take the properties defined in the POM, and include these properties in the generated site. Does such a plugin exist? The problem I am trying to solve is that I have properties defined in a parent POM, and would like to expose these properties in doc

Re: [maven-3/trunk] bootstrap-build failing

2012-11-01 Thread Graham Leggett
On 01 Nov 2012, at 12:43 PM, "Stadelmann Josef" wrote: > What does that mean? > are you saying that maven developers will not fix the bootstrap-build problem > shown below or > are you saying that "This mailing list strips HTML" I have delivered > insufficient information? You have delivered

Re: Version ranges not working

2012-09-28 Thread Graham Leggett
On 28 Sep 2012, at 4:13 PM, Jesse Long wrote: > My library does clearly document the versions of slf4j it depends on - as a > version range in the pom.xml file. How else? > > Never mind slf4j for the time being, this affects all libraries. > > Please see http://semver.org/ > > The whole purpo

Re: Maven on a Terminal Server

2012-09-28 Thread Graham Leggett
On 28 Sep 2012, at 4:15 PM, Pascal Rapicault wrote: > I'm currently doing work for Ericsson where we have a similar setup (Terminal > Server on windows and AFS on *nix). > The difficulty in this setup is not network access but limited user storage > so the goal is to try to share as much as pos

Re: Exporting Individual Files with the SCM Plugin

2012-09-27 Thread Graham Leggett
On 27 Sep 2012, at 23:14, Christopher Gardner wrote: > I'd like to export a few jar files from an svn location. These jar files > are developed by other developers at my company and have no maven support, > and probably never will. Import the jars into your own maven repository, keeping your ow

Re: Arguments for Maven vs. Gradle

2012-09-11 Thread Graham Leggett
On 11 Sep 2012, at 10:14 PM, Benson Margulies wrote: > I don't think it's useful to debate build tools and their builders or > tools on this list. I believe it is very useful. Many new users to maven don't fully understand the problem maven tries to solve, and a discussion like this one will hop

Re: Arguments for Maven vs. Gradle

2012-09-11 Thread Graham Leggett
On 11 Sep 2012, at 7:22 PM, Curtis Rueden wrote: >> Just let a few juniors touch the build and you are doomed pretty quickly. > > I agree, and would generalize this statement to any build system I've ever > designed or worked with: shell scripts, Makefiles, Ant, Maven... it doesn't > matter. A bu

Re: Is the release plugin intended to be run manually?

2012-09-11 Thread Graham Leggett
On 11 Sep 2012, at 6:02 PM, KARR, DAVID wrote: > I noticed a comment in > http://www.dzone.com/links/r/continuous_delivery_using_maven_3.html about not > using the release plugin because it checks in POMs after updating versions, > which isn't suited to a continuous delivery pipeline. Is the r

Re: Arguments for Maven vs. Gradle

2012-09-09 Thread Graham Leggett
On 9 Sep 2012, at 22:20, "KARR, DAVID" wrote: > One of the disadvantages of Gradle is the same as Ant, which is that it's > very easy to have two people do similar things in a completely different way. This to me is the fatal flaw in ant and all tools like it. Ant allows the developer to do wh

Re: Release plugin: release project from within subdirectory

2012-07-20 Thread Graham Leggett
On 20 Jul 2012, at 6:10 PM, Kalle Korhonen wrote: >> Maven is about doing things the right way, no hacks. > > Says the purist :P This isn't purist, this is being disciplined. >> Hacks impede understanding of a project by others (or yourself 6 months >> later) and are an antipattern >> What happ

Re: Maven for Software Installation

2012-06-21 Thread Graham Leggett
On 21 Jun 2012, at 20:53, Eric Kolotyluk wrote: > I have brought this notion up before, but I have been thinking about it a bit > more. > > Would it make sense to use Maven technology for software deployment and > installation as opposed to just builds? It definitely makes sense, and can be (

Re: Maven versioning

2012-05-24 Thread Graham Leggett
On 24 May 2012, at 4:23 PM, DK wrote: > So how does release work with SVN. > > If all my projects are at 1.0.0-SNAPSHOT. > What will running the mvn release command do? > > Will it result in 1.0.1-SNAPSHOT? Short answer is yes. Long answer: When you ask the release plugin to make a release fo

Re: Maven versioning

2012-05-24 Thread Graham Leggett
On 24 May 2012, at 2:39 PM, DK wrote: > Any best practices on changing version numbers? The best practice is to let maven worry about all of this using the maven-release-plugin. The plugin turns a release into a single command "mvn release:prepare release:perform", which becomes completely aut

Re: Feel Maven is not intuitive

2012-05-23 Thread Graham Leggett
On 23 May 2012, at 1:59 AM, hujirong wrote: > After working with Maven for a month, I am still not quite understand how > Maven works. Maybe just like Microsoft technologies, encapsulate too much. > One key issue is to understand the plugin. The way to think of maven is: "maven knows how to do s

Re: The Maven Way

2012-04-17 Thread Graham Leggett
On 18 Apr 2012, at 1:44 AM, Eric Kolotyluk wrote: > Often the wrong foot is simply not knowing how much Maven does for your for > free - because it is not obvious - especially when compared to tools like > Ant. When the free stuff is not obvious, we naively start trying to solve > problems we d

Re: Solve my exception for mvn installtion

2011-12-16 Thread Graham Leggett
On 16 Dec 2011, at 9:48 PM, Barrie Treloar wrote: >> I found the problem and now it is solved. >> >> thank all who helped me. > > This reply makes me angry. > > Please state what you problem actually was and what you did to solve it. > > The next person who has the same problem as you will hat

Re: Continuous Delivery and Maven

2010-11-12 Thread Graham Leggett
On 13 Nov 2010, at 2:37 AM, Christopher Hunt wrote: Please correct me if I do not have this right, but in effect the requirement is to take a snapshot release, the developer do their testing and then, if satisfied, release it in effect by renaming the artifact to drop the "-SNAPSHOT"? My ap

Re: Continuous Delivery and Maven

2010-11-09 Thread Graham Leggett
On 08 Nov 2010, at 7:03 PM, jhumble wrote: Two reasons: one, the faster you get feedback on the part of the story you have done so far, the faster you know if any further work is going to be valuable, and what in fact the next most valuable thing to deliver is. How do you handle branches?

Re: Replacing classes in a jar after bug fixes - patches

2010-11-05 Thread Graham Leggett
On 05 Nov 2010, at 2:20 PM, Barrie Treloar wrote: On Fri, Nov 5, 2010 at 9:36 PM, Salgar, Mehmet (external) wrote: Hi everybody, I have a question about how to replace a class in a dependency jar after a bug fix I made a fix for a class in a framework that is not developed from us,

Re: [Repetitive]: Maven does not live up to its promises

2010-10-26 Thread Graham Leggett
On 26 Oct 2010, at 8:56 PM, Kenneth McDonald wrote: Yeah, but a build often does not fit on a page, and I'm building some pretty simple stuff! To argue for the flexibity of Maven is (AFAIK) defensible. It's power (from what little knowledge I have), likewise. But, I'm sorry to say, the v

Re: [Repetitive]: Maven does not live up to its promises

2010-10-23 Thread Graham Leggett
On 23 Oct 2010, at 11:15 PM, Kenneth McDonald wrote: Now, what are the claims made for (or implied by) maven: 1) That it is declaratively, not procedurally, based. 1-a) Whoop-te-do. So are makefiles. What "maven pom files are declarative" means in English is that the pom file contains facts

Re: maven is a swamp

2010-10-20 Thread Graham Leggett
On 20 Oct 2010, at 1:17 PM, Martin Gainty wrote: IDEs from my experience are tools to create (workspace) environments and to create xml scripts to compile, package and deploy wars and ears the useful life of an IDE passes when the webapp is promoted to production and the op implements the

Re: maven is a swamp

2010-10-15 Thread Graham Leggett
On 14 Oct 2010, at 7:00 PM, Leon Rosenberg wrote: This isn't quite true since ant allows you to build 'your own maven' in few hours. The effort to learn maven is much higher, at least I had to spend a lot more time since now. On the other side the effort to learn ant is moderate. But maybe I'm b

Re: maven is a swamp

2010-10-13 Thread Graham Leggett
On 13 Oct 2010, at 10:52 PM, Wendy Smoak wrote: Help with the website is always welcome. The source code for the website is here: http://svn.apache.org/repos/asf/maven/site/trunk/ The home page is down at http://svn.apache.org/repos/asf/maven/site/trunk/src/site/xdoc/index.xml.vm (Most other pa

Re: maven is a swamp

2010-10-13 Thread Graham Leggett
On 13 Oct 2010, at 8:52 PM, Leon Rosenberg wrote: Many traditional programming languages are declarative and not procedural or are based on declarative concepts, most of the time the declarative nature of such languages proved itself problematic. But seriously is there a comparison matrix somewh

Re: Release Plugin Explained?

2010-06-15 Thread Graham Leggett
On 15 Jun 2010, at 4:16 PM, dawi...@gmail.com wrote: Where do I find basic guide on the release plugin? Have you found this yet? http://maven.apache.org/plugins/maven-release-plugin/ Reference information on Apache's website is good but I would like to understand the philosophy behind the p

Re: Documentation help

2010-04-07 Thread Graham Leggett
On 07 Apr 2010, at 6:56 PM, Lorenzo Thurman wrote: I've looked at a couple of the docs at the website, "Getting started in 5 minutes" and "Getting started in 10 minutes", but I'd like to find something a bit more comprehensive. For example, I was trying to build and test a simple project wi

Re: maven-rpm-plugin + uniqueversion = fail

2010-04-06 Thread Graham Leggett
On 06 Apr 2010, at 9:19 AM, Stephen Connolly wrote: at the XPath /project/distributionManagement/.../uniqueVerision In your project, you set it to false and then when your project is deployed to the repo, it will not use timestamped SNAPSHOTS I've tried that, and it didn't seem to work - m

maven-rpm-plugin + uniqueversion = fail

2010-04-05 Thread Graham Leggett
Hi all, I am having trouble with the maven-rpm-plugin and maven v2.2.1. maven-rpm-plugin is correctly creating an RPM, but the RPM has the wrong name. As a result, the attempt to copy the RPM into the repository fails with the error that the file does not exist. The component of the RPM na

Re: General questions regarding dependencies

2009-05-08 Thread Graham Leggett
Doug Hughes wrote: > I have some questions about how dependencies are handled within Maven. I > understand that when you add a dependency that Maven looks at the central > repository, finds the correct files and downloads them. I'm wondering if > this can only be done for JAR/WAR files? No, any

Re: Adding system scope jars to the manifest class path

2009-04-21 Thread Graham Leggett
Graham Leggett wrote: > The core reason is that it's virtually guaranteed that someone else, on > a different machine, will want to build you code, and if the jars are on > a shared repository (public or private, maven does care), then this is > trivial and automatic. you == you

Re: Adding system scope jars to the manifest class path

2009-04-21 Thread Graham Leggett
Kogel, Jonck-van-der wrote: > Ok, allow me to rephrase :) I'm struggling with some proprietary (IBM, > Oracle, etc..) jars that I need to get added to my manifest class path. > I don't want to do that manually obviously. When I add the proprietary > jars to my pom and set their scope to default l

Re: LATEST and RELEASE release version management

2009-04-06 Thread Graham Leggett
Hayes, Peter wrote: > We use Maven in an enterprise environment and internally we are required > to execute "release" builds whenever we want to install to our testing > environment. We have found that executing many release builds can be > tedious when we have in-development snapshot dependencie

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: The part where it says how to make a complex tag. ie: making a tag from a working copy. A complex tag refers to ways of making a "snapshot" of a specific working copy, quoting specifically "which is an exact snapshot of your working copy—mixed revisions, URLs, and all".

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: Not according to svn. http://svnbook.red-bean.com/en/1.1/ch04s06.html That's the docs for tags, which part of those docs are you referring to specifically? Regards, Graham -- smime.p7s Description: S/MIME Cryptographic Signature

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: Yes you can. See svn documentation: http://svnbook.red-bean.com/en/1.0/re07.html In particular, the WC -> URL case. You've posted the docs for the svn "copy" command, a "tag" only formally exists when you use the URL -> URL case. In the case of the WC->URL case, as I

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: So if I understand remote tagging correctly, this means that a tag is taken > off the trunk, not the working copy. You can't (to my knowledge) tag a working copy, that doesn't make any sense. Can you clarify? Regards, Graham -- smime.p7s Description: S/MIME Cryptograp

Re: Despite trusted CA, "unable to find valid certification path to requested target"

2009-03-29 Thread Graham Leggett
side. In this case, the cert is signed by the CA directly, the full chain is just two certs long. Trying the same config under Linux works fine, with the same certs, project and site. Regards, Graham -- -Original Message- From: Graham Leggett [mailto:minf...@sharp.fm] Sent: Sunday

Despite trusted CA, "unable to find valid certification path to requested target"

2009-03-29 Thread Graham Leggett
Hi all, I am having trouble getting mvn site:deploy to work with mvn v2.1.0 (also v2.0.6), as follows: Embedded error: Failed to create destination WebDAV collection (directory): /docs/stencil/0.0.1-SNAPSHOT/./apidocs unable to find valid certification path to requested target The machine i

Re: Keep version when doing a release

2008-12-09 Thread Graham Leggett
[EMAIL PROTECTED] wrote: I have a multi module project that I want to make a release for. Some of the modules changes frequently and they are marked as SNAPSHOTS. Some modules are very stable and have a fixed version. I run maven 2 release plug-in 2.0-beta-7 with the --batch-mode parameter. The

Re: Third party jars

2008-11-28 Thread Graham Leggett
[EMAIL PROTECTED] wrote: Is there any way to get the maven build process to include a set of jars when compiling/packaging that are not in the repository? I have some vendor jars and I don't fancy packing them all up and placing them into the repository - I just want to point maven at a lib dir

Re: Not happy with maven

2008-11-19 Thread Graham Leggett
Martin von Gagern wrote: On the whole, I spent way too much time tweaking Maven, time I'd rather spend working on my project code. One of the most fundamental things about maven that you need to do to have a pleasant user experience, is to submit to maven. In other words, you shouldn't spen

Re: Multiple project dependencies

2008-11-07 Thread Graham Leggett
[EMAIL PROTECTED] wrote: My question surrounds dependencies, and while I understand how to declare a dependency, what I want to know is how I make maven recompile dependencies. So if A depends on B, and I run 'mvn jar' in project B, how can I make it recompile (and I guess, run 'mvn install') i

Re: General Maven questions....

2008-11-03 Thread Graham Leggett
Taub, Jonathan wrote: I am well aware that some of the things I want to do go against Maven. However, all is based on personal experience and I don't consider Maven to be > a magic pill. My experience has shown me that too many people rely on > technology and automation to solve everything rath

Re: Multiple project dependencies

2008-11-03 Thread Graham Leggett
[EMAIL PROTECTED] wrote: I'm new to maven and I have a question regarding multiple projects and how the can be linked. I've created a "common code" project, and I have another which depends upon this project. I've got two directories, two pom files, etc., and the common code project can genera

Re: General Maven questions....

2008-11-03 Thread Graham Leggett
Taub, Jonathan wrote: I understand your concern. However, the application itself is self contained and is not meant to be a third party > application/library. Each release is tagged in Subversion, proper release notes are > maintained, and the application will contain a web page specifying th

Re: General Maven questions....

2008-11-03 Thread Graham Leggett
Taub, Jonathan wrote: Recently, I decided to introduce some changes into the build process and I was unable to figure out the following: * I want to have the final artifact name (.jar, .war, etc) WITHOUT the version number. The application/libraries are not meant to be a third party and versio

Re: Dependencies not available in the future

2008-11-03 Thread Graham Leggett
David Ojeda wrote: So my question is: what can I do if I want to deliver give the source code and the dependencies jars? Here are some of my ideas: - Maintain a private repository with dependencies and use the deploy:deploy- file goal to add dependencies to it. Problem: in the love/hate relati

Re: Can someone please explain release:rollback?

2008-10-30 Thread Graham Leggett
Borut Bolčina wrote: Thanks, but I would like the *exact" steps which occur by mvn release:rollback. It undoes everything from the point you ran release:prepare, until the point it failed. If you want the exact steps, run release:perform, and read the resulting output backwards. The norm

Re: Can someone please explain release:rollback?

2008-10-30 Thread Graham Leggett
Borut Bolčina wrote: there are examples and what happens during release:prepare and release:perform, but there is nothing about release:rollback at http://maven.apache.org/plugins/maven-release-plugin/ and in the 0.17 book. Can someone explain the behaviour of this goal? In what scenarios are y

Re: Could anyone give me some idea what is the difference bwteen ant and maven?

2008-10-24 Thread Graham Leggett
dr2238 wrote: I have knowledge on ant, but doesn't have any knowledge on maven. I heard other say ant is kind of procedural language , while maven is an objected oriented language. Is that true? Could anyone explain it to me a little bit?It would be great if you can show

Re: Advice on dealing with hostility to Maven 2

2008-10-23 Thread Graham Leggett
Rusty Wright wrote: I completely agree. I'd go one step further with your building it on another machine and say that it has to build on another machine that's a different platform. I.e., if you're building on unix it must also build on Windows, or vice versa. And if you're building it in

Re: Advice on dealing with hostility to Maven 2

2008-10-22 Thread Graham Leggett
[EMAIL PROTECTED] wrote: My approach on this was to sidestep the entire development team and go above them to the management team and sold them on the reporting capabilities instead of how simple the build becomes. I took an existing ant build based project and created a copy of it that was bu

Re: Advice on dealing with hostility to Maven 2

2008-10-22 Thread Graham Leggett
Rusty Wright wrote: The other experience that I've had is that some people are simply resistant to change. If your colleague is like that my suggestion would be, if you can afford to, is to become The Maven Guy and offer to set up his builds for him; in other words, write his pom.xml files.

Re: Advice on dealing with hostility to Maven 2

2008-10-21 Thread Graham Leggett
cvr wrote: His arguments have been: - "The build system should be more complicated (harder to run, harder to configure) than the software" - "Why all this configuration for a glorified WGET?" - "Why do you need a shared repository (~/.m2/repository)? Disk space is really cheap" - "What’s wro

Re: trunk/tags/branches: root vs. project level

2008-10-15 Thread Graham Leggett
Hilco Wijbenga wrote: You shouldn't create multiple repositories without *very* good reasons. Multiple repositories just means having to duplicate authentication, backup setup, etcetera. Moreover, any kind of copying between projects is much harder that way. If you are working on multiple projec

Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Graham Leggett
Rick wrote: (Now if Eclipse supported multi-modules better I wouldn't' mind as much. I wish there was a way I could have a project in eclipse represented by the parent pom and then have all the sub modules beneath it. Back when I used IDEA, I think this was possible. Does NetBeans maybe support

Re: improve Maven performance

2008-09-18 Thread Graham Leggett
Yann wrote: In our company lot of people complains that our maven 2 builds are too long. We use multi modules and most of the time we only need to build 1 or 2 modules not all of them. The ideal longer term solution is to break the project up into smaller sections, either individual artifact

Re: newbie: understanding how teams deal with version numbers on dependencies (Best practices)?

2008-09-14 Thread Graham Leggett
Rick wrote: Here's what I'm confused at though. Project A builds a jar. It needs to be used in Project B. Ideally of course Project A should be tested in Project B locally, but in reality (unfortunately) the dev environment often becomes a more 'real' test. Typically the developers of Project A

Re: newbie: understanding how teams deal with version numbers on dependencies (Best practices)?

2008-09-14 Thread Graham Leggett
Dave Newton wrote: In other words, use the maven-release-plugin to publish formal releases of code, and make sure that project A never depends on a snapshot of project B if you can possibly avoid it. Use proper version numbers. Would it be reasonable to say that *released* versions of A shou

Re: newbie: understanding how teams deal with version numbers on dependencies (Best practices)?

2008-09-13 Thread Graham Leggett
Rick wrote: Is it common for the development environment to rely on company snapshot versions and only in test or later, to define specific version numbers? I seem weary though to have for example project B rely on the snapshot version of project A. Maybe project A is working on a release that w

Re: what to do when you require a dependency in an open-source project that isn't available on a public maven 2 repository, but could be (and you can't host it)

2008-09-03 Thread Graham Leggett
Gary Weaver wrote: Are there any of you out there that have open-source projects where you couldn't find a dependency in a public Maven 2 repo, and if you, how did you handle it? We run our own maven repository where we publish our own artifacts released using the release plugin. Jars that

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Graham Leggett
Arnaud Bailly wrote: I am investigating how to create "reproducible" builds with maven2. There is a proposal from Brett Porter in the wiki about refactoring local repository structure that goes in that direction. Not sure however when it will be available. Enforcers and requirements also helps,

Re: creating runnable jar file

2008-09-03 Thread Graham Leggett
cablepuff wrote: however i get this error about namespace www.springframework.org/schema/tx cannot be found. Is their a better way to create deployable jar files that runs on different machine. It sounds like you are trying to create an uberjar, AKA a jar-with-dependencies. An uberjar i

Re: System Scope

2008-08-29 Thread Graham Leggett
CORUM, M E [AG/1000] wrote: I assume that you would be replacing that with some equivalent functionality, right? Otherwise, you would be taking away the capability for large companies to use Maven. Let me give an example (actually two). We have jar files from vendors that our Maven projects m

Re: How do I override a plugin dependency?

2008-08-27 Thread Graham Leggett
Brian Fox wrote: Hi, I blogged about this with examples. I can't copy and paste on the iPhone but you can find it at http://blogs.Sonatype.com/brian I discovered a number of blogs explaining how to do it, but none of them worked. After some testing it turned out that if you tried to overrid

Re: Having trouble with Maven release plugin using SubVersion

2008-08-25 Thread Graham Leggett
Ken Tanaka wrote: Before issuing the 'mvn release:prepare' command, an 'svn update' on the parent directory of the directory renamed (or at the top level) will update the SubVersion metadata. The update command doesn't print anything so it appears like it doesn't do anything, but it's require

How do I override a plugin dependency?

2008-08-25 Thread Graham Leggett
Hi all, I have a need to override a specific dependency used by the maven-torque-plugin, and I am struggling to convince maven v2.0.9 to do this. The symptoms are that the original jar is being used, instead of the overridden jar, which is effectively ignored. To test this, I have deleted

  1   2   3   4   >