Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
On 21/04/2024 19:03, Jeff Jensen wrote: > Sorry for the vagueness. I meant something even simpler - running the > Checkstyle goal separately, probably in two Maven executions similar to: > mvn checkstyle:checkstyle > mvn install -Dcheckstyle.skip=true I have ended up having to do something ki

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
On 21/04/2024 15:59, Jeff Jensen wrote: > Have you considered only running the checkstyle goal, from the parent so it > processes all modules, before the full build goal(s)? > There are two ways that I can interpret this: 1. Set the execution in the parent so that all of the child modules essent

Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
Hello! I've been using the maven-checkstyle-plugin for many years now. Almost all of my projects are heavily multi-module, and I have a fairly traditional setup where a checkstyle plugin execution is defined in my organization-wide POM, and inherited by all modules in all projects. I run checkstyl

Re: Accessing licenses/license as POM properties?

2018-05-18 Thread org . apache . maven . user
On 2018-05-18T17:01:52 +0200 Andreas Sewe wrote: > Hi, > > > Is there a way to access the contents of the element as POM > > properties? I'd like to reference the URL of the first license element > > in a plugin execution, but there doesn't appear to be a > > ${pom.license.url} or anything simi

Disabling javadoc doclint for generated sources?

2017-03-27 Thread org . apache . maven . user
Hello. My hand-written code passes Java 8's JavaDoc doclint checks. However, I also have some code (that has to be in the same package) generated by an external tool. The JavaDoc that this tool produces doesn't always pass the doclint checks. Is there a way to exclude the generated-sources direct

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-06 Thread org . apache . maven . user
On 2017-03-06T10:58:30 -0600 Curtis Rueden wrote: > Hi, > > For what it's worth, I agree that the requirePropertyDiverges rule is > difficult to use (and maybe buggy?). After playing with it some months ago, > I concluded that it was not going to work for me. That's why I ended up > writing my o

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-05 Thread org . apache . maven . user
Hello. On 2017-03-05T01:18:34 +0100 Hervé BOUTEMY wrote: > first, you'll have to talk about rules, not only the plugin: there are many > rules, some implemented by the plugin and some implemented by MojoHaus extra- > enforcer-rules Right, yes. It's the requirePropertyDiverges rule in the extra

Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-04 Thread org . apache . maven . user
Hello. I'm trying to use the Enforcer plugin to ensure that projects set a ${project.description} that is different to their parent. I'm using an organization-wide POM, and the rule is specified here: https://github.com/io7m/primogenitor/blob/develop/pom.xml#L540 I have an example multi-module

Re: Defining a property designed to be overridden?

2017-03-02 Thread org . apache . maven . user
On 2017-03-02T11:12:58 -0600 Curtis Rueden wrote: > Hi, > > > I'd need to think a bit more about it, but I personally dislike > > relativePath and have never used it (across hundreds of projects), > > pretty much for the sorts of reasons you've described. Hard-coding > > paths that represent lin

Re: Defining a property designed to be overridden?

2017-03-02 Thread org . apache . maven . user
On 2017-03-02T10:29:30 -0600 Curtis Rueden wrote: > > it seems that I can only require that the XML elements be overridden > > in *all* descendant POMs, and this introduces too much redundancy. > > I see. > > Would it be sufficient if the requireElements rule had a multiModule flag > which, i

Re: Defining a property designed to be overridden?

2017-03-02 Thread org . apache . maven . user
'Ello. On 2017-03-02T08:16:43 -0600 Curtis Rueden wrote: > Hi, > > > I do actually want to enforce this, the issue is that I only want to > > enforce it as far as the first ancestor. > > Sorry if you stated otherwise in your writeup, but my understanding is that > you want to define some emp

Re: Defining a property designed to be overridden?

2017-03-02 Thread org . apache . maven . user
Hello! On 2017-03-01T15:49:10 -0600 Curtis Rueden wrote: > > If what you want is to ensure the property is simply non-empty, or matching > a particular regex, then take a look at the requireProperty enforcer rule > [1]. > > Or if your goal is to make sure that a property value _differs_ from the

Re: Defining a property designed to be overridden?

2017-03-01 Thread org . apache . maven . user
On 2017-03-01T12:46:45 -0600 Curtis Rueden wrote: > > In this way, I ensure that all projects which extend our parent add all the > useful metadata and properties needed for successful builditude. > Hm, slight issue with this. If you take a look at how my projects are usually designed: http

Re: Defining a property designed to be overridden?

2017-03-01 Thread org . apache . maven . user
On 2017-03-01T12:46:45 -0600 Curtis Rueden wrote: > > In this way, I ensure that all projects which extend our parent add all the > useful metadata and properties needed for successful builditude. > > We released scijava-maven-plugin 1.0.0 on Maven Central; feel free to use > it if it helps you.

Defining a property designed to be overridden?

2017-03-01 Thread org . apache . maven . user
Hello. I'm looking to move to an organization-wide parent POM but am not sure how to handle the following configuration case. The japicmp [0] plugin takes a configuration parameter that specifies the previous version of a module against which the current version of the module will be checked for

Re: Single-page sites?

2017-02-28 Thread org . apache . maven . user
'Ello. On 2017-02-28T02:38:02 +0100 Hervé BOUTEMY wrote: > Hi, > > No, this is not a current option of maven-site-plugin. Right, that's what I suspected. > > Pdf plugin does such equivalent one doc from every report. Do you mean one large pdf that contains the contents of each report? > >

Single-page sites?

2017-02-27 Thread org . apache . maven . user
Hello. I realize this may be a long shot: Is there any way to get the site plugin to produce one large HTML file instead of one file per report? If not, does anyone happen to know how much work would be involved in perhaps writing an alternative site plugin that can do this? M pgp5T3pfM7JvT.pg

Re: Deploying independently versioned modules

2017-02-09 Thread org . apache . maven . user
On 2017-02-08T19:25:01 -0800 Charles Honton wrote: > Take a look at maven exists plugin > [https://chonton.github.io/exists-maven-plugin/0.0.2/ > ]. This has goals to > prevent deployment or installation of artifacts which already exist. >

Deploying independently versioned modules

2017-02-05 Thread org . apache . maven . user
Hello. For years, I've been developing libraries as sets of modules sharing a (semantic) version number. For each project, the project's root Maven module defines the version number for all modules in the project. As a result, intra-project dependencies can be efficiently declared like this:

Re: Slightly more advanced resource filtering (templating)?

2017-01-03 Thread org . apache . maven . user
On 2017-01-03T19:32:59 +0100 Guillaume Boué wrote: > It sounds like you're looking for the parse-version goal of the > build-helper-maven-plugin: On 2017-01-03T19:36:16 +0100 Karl Heinz Marbaise wrote: > Hi, > > have you taken a look at the build-helper-maven-plugin On 2017-01-03T12:45:19 -

Slightly more advanced resource filtering (templating)?

2017-01-03 Thread org . apache . maven . user
Hello. I have a small project that contains a plugin for Blender[0]. Plugins in Blender are Python files that must contain a hash value at the top of the file containing version information. The version information has to be numeric constants as Blender actually parses this data rather than evalua

Re: Using the Maven API outside of a plugin?

2016-12-29 Thread org . apache . maven . user
On 2016-12-28T12:20:20 + org.apache.maven.u...@io7m.com wrote: > Hello. > > I'm writing a small program to analyze the dependencies of Maven > projects. There are numerous examples of how to do this from within a > Maven plugin, but I can't work out how to simply load a POM file and > derive

Using the Maven API outside of a plugin?

2016-12-28 Thread org . apache . maven . user
Hello. I'm writing a small program to analyze the dependencies of Maven projects. There are numerous examples of how to do this from within a Maven plugin, but I can't work out how to simply load a POM file and derive a ProjectDependencyGraph from it outside of the context of a plugin. How do I in

Distinguishing between host and container dependencies

2016-09-03 Thread org . apache . maven . user
Hello. I'm working on an application that uses an embedded OSGi container to provide a plugin system. The problem I'm running into is that I don't seem to have any way to distinguish between dependencies that are dependencies of the host, and dependencies that will only be present in the containe

Re: "mvn clean verify deploy" causes jar plugin to execute twice

2016-08-05 Thread org . apache . maven . user
On 2016-08-05T18:48:25 +0200 Anders Hammar wrote: > > Executing > mvn verify deploy > will execute the build lifecycle twice. No need to do that. Just execute > mvn deploy > as the deploy phase comes after the verify phase. On 2016-08-05T18:09:46 +0100 Stephen Connolly wrote: > > TL;DR don't ru

Re: "mvn clean verify deploy" causes jar plugin to execute twice

2016-08-05 Thread org . apache . maven . user
On 2016-08-05T15:19:05 + org.apache.maven.u...@io7m.com wrote: > > Note that there are no sources in src/main as this is a module containing > the unit tests for all other modules. However, this has not been a problem > to date and have used this arrangement without issue in some 40 or so > p

"mvn clean verify deploy" causes jar plugin to execute twice

2016-08-05 Thread org . apache . maven . user
Hello. I've run into a bizarre problem when trying to deploy a project. If I run "mvn clean verify", the project builds without issue. If I run "mvn clean verify deploy", the project fails to build (on the very last module, naturally). The error is: [ERROR] Failed to execute goal org.apache.ma

How to properly use a custom maven archetype

2015-05-14 Thread Maven User
Hi all - Now that I've created and released my archetype to my nexus server, I can see it listed in the catalog file. How can I reference that archetype via maven? I've tried filtering the archetype listings by my groupId of the archetype but it's never found. --

Re: hidden and ignore files in an archetype?

2014-10-10 Thread Maven User
And I guess even that isn't accurate - if you've run install/deploy locally, it creates the catalog file locally :-( Anyone using this feature of maven at all? On Fri, Oct 10, 2014 at 11:17 AM, Maven User wrote: > Also - maybe it's just a nuance lost on me, but if you do

Re: hidden and ignore files in an archetype?

2014-10-10 Thread Maven User
Also - maybe it's just a nuance lost on me, but if you don't release your archetype, the generate call won't find it :-/ Still can't get it to find the ".gitignore". On Thu, Oct 9, 2014 at 11:42 PM, Maven User wrote: > Does maven have standard set of

Re: hidden and ignore files in an archetype?

2014-10-09 Thread Maven User
Does maven have standard set of exclude patterns? For giggles, working off the standard ANT exclusion set (because I can't find the Maven one anywhere), I created a "CVS" directory and it TOO is ignored. Anyone? On Thu, Oct 9, 2014 at 11:13 PM, Maven User wrote: > Strangel

Re: hidden and ignore files in an archetype?

2014-10-09 Thread Maven User
Strangely, in my archetype-metadata.xml file - if I leave ".gitignore" but on the ACTUAL file - if I strip off the "." - maven seems to find it. On Thu, Oct 9, 2014 at 10:47 PM, Maven User wrote: > Hi all - > > I don't seem to be able to include .gitignore i

hidden and ignore files in an archetype?

2014-10-09 Thread Maven User
Hi all - I don't seem to be able to include .gitignore in my archetype. For testing, I created a FOO file right next to the .gitignore and in the unfiltered fileset, I configured it to pick up both ".gitignore" and "FOO" and only FOO shows up in the project generated from the archetype. Is there

Re: Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
at 2:25 PM, Maven User wrote: > So for anyone else that stumbles across this thread, here's what you need: > > PLEASE note - I tend to have singular, non-multi-module maven builds. > One repo per module kinda belief. > > 1 - The credentials plugin - allows you to let jenkins

Re: Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
re doing this on jenkins I wrote > the ssh-agent plugin for this exact use case! > > > On 18 April 2014 18:01, Maven User wrote: > >> That was it! >> >> Ok, so for the record, if you're going to use the credentials plugin, >> you should also

Re: Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
That was it! Ok, so for the record, if you're going to use the credentials plugin, you should also use the ssh-agent plugin to make sure those keys are available to any processes being run by jenkins! On Fri, Apr 18, 2014 at 12:53 PM, Maven User wrote: > Annnd this is because I tried

Re: Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
Annnd this is because I tried to reuse ${artifactId} and that does NOT match the repo name (for acceptable reasons). Changing and retrying... On Fri, Apr 18, 2014 at 12:47 PM, Maven User wrote: > Using the ssh-agent jenkins plugin, I'm able to get a bit further - > now it's

Re: Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
ot found. 00:01:14.796 fatal: The remote end hung up unexpectedly I'm guessing this is an error in my tags On Fri, Apr 18, 2014 at 11:55 AM, Maven User wrote: > Interesting > > Running: > eval `ssh-agent -s` > > Then the ssh -T test results in success. > > But

Re: Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
Interesting Running: eval `ssh-agent -s` Then the ssh -T test results in success. But that's only good for the single bash session. Are people running jenkins as normal users versus unprivileged users? On Fri, Apr 18, 2014 at 11:38 AM, Maven User wrote: > Stephen - cool - I _

Re: Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
;re trying to do is possible with Maven. Maybe >> the maven-scm-provider-jgit would use the settings.xml configuration, but I >> have no idea how to configure Maven to use it. >> >> >> On Fri, Apr 18, 2014 at 3:45 PM, Maven User >> wrote: >> >> >

Struggling to release:perform with git and deployer key

2014-04-18 Thread Maven User
Hi all - I'm really struggling with this. My git push portion of the maven release process just is quitting with this: 00:01:29.803 Provider message: 00:01:29.803 The git-push command failed. 00:01:29.803 Command output: 00:01:29.803 Permission denied (publickey). 00:01:29.803 fatal: The remote

Fail the maven build on arbitrary string output in the log

2013-09-04 Thread Maven User
Hi all - Is there a way to fail the build if an arbitrary string shows up in the log? We have quite the cocktail of plugins and instead of editing each one to catch different problems, it'd be cooler to have an enforcer plugin run at the VERY end and fail if the build has previously logged a part

Re: jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Maven User
FWIW - I'm also on ubuntu 64 with a 64 bit jdk... java -version java version "1.7.0_04" Java(TM) SE Runtime Environment (build 1.7.0_04-b20) Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode) On Mon, Jan 28, 2013 at 11:18 PM, Maven User wrote: > Actually, i

Re: jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Maven User
Actually, it's not limited to this plugin. I can see that the bundle plugin for felix is also giving an issue. I feel like maven 3.0.4's GC is borked once you get to a certain size. I've allocated 2gb max and 1.5 gb permgen (and my projects are NOT that big). Still OOM - On Mon, Jan 28, 2013

jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Maven User
Hi all - I'm not sure where to start with this as I wasn't the one to add the plugin nor do I know the options that abound for xml->java generation. No matter what I do, when this plugin is run in a multi-module (aggregator pom) type build, it hits these permgen errors. Once I single it out thou

Re:always not working for with Maven 3.0.4

2013-01-18 Thread Maven User
cache. -Original Message- > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Sent: Friday, January 18, 2013 3:35 AM > To: Maven Users List > Subject: Re: always not working for > with Maven 3.0.4 > > On Friday, 18 January 2013, Maven User <3150...@gmail

always not working for with Maven 3.0.4

2013-01-17 Thread Maven User
We produce a large application from the artifacts of 15+ components, many which contain multiple modules. The version numbers are all the same, and a build cycle takes about four hours. Late in a development cycle we run numbered (i.e. non “-SNAPSHOT”) builds in continuous integration mode. Doin

Re: Maven profiles and resource filtering

2012-12-28 Thread Maven User
it hands of you once you place an artifact in the repo and everyone using > Cargo to perform artifact pushes to their dev/test/prod environments is > breaking the spirit of Maven. Therefore, I would have to rely on tools > other than Maven to do this. > > Well, now I think I talked

Re: Maven profiles and resource filtering

2012-12-27 Thread Maven User
- including any of the containers available today On Thu, Dec 27, 2012 at 2:02 PM, Laird Nelson wrote: > On Thu, Dec 27, 2012 at 7:46 AM, Maven User > wrote: > > > A - yes, all your "configuration" should be OUTSIDE your war/ear/jar > > files! > >

Re: Maven profiles and resource filtering

2012-12-27 Thread Maven User
A - yes, all your "configuration" should be OUTSIDE your war/ear/jar files! Don't repackage per env Also, don't force someone to unfurl your artifact, alter config, then re-roll it On Wed, Dec 26, 2012 at 3:05 PM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > When

Re: Maven profiles and resource filtering

2012-12-27 Thread Maven User
er when it all blows > up in your face ;-) > > On Wednesday, 26 December 2012, Maven User wrote: > > > Stephen - can you clarify which points you're against? > > > > If there are profiles (and filter files) for every environment they > deploy > > to - then

Re: Maven profiles and resource filtering

2012-12-26 Thread Maven User
Stephen - can you clarify which points you're against? If there are profiles (and filter files) for every environment they deploy to - then yeah, don't do that. BUT - for example, if there are exactly two (one for dev, defaults in poms, overrides in each person's settings.xml) and one for prod (w

Re: Migration to Maven - Best Practices

2012-12-26 Thread Maven User
There are three things that go untouched in this thread. I'm a bit curious as to how "normal" the ant build is at this time, what are the target deployment environments and the frequency at which you would like to move. As a warning - maven works REALLY well if you're doing normal types of things

dependency-convergence report

2012-12-22 Thread Maven User
Hi all - There used to be a way to generate a dependency convergence report (and a similar way to fail the build if things got out of whack). I don't see a way to generate this anymore. I've tried running the convergence plugin by hand but alas, no report is generated. I see the enforcer rule,

Re: zip overlay for war project - items inside not visible....

2012-08-31 Thread Maven User
Not a bug... jetty:run runs out of the source structure - and does NOT take into account the overlays. jetty:run-war runs out of the exploded war directory structure and DOES take into account the overlays.

Re: zip overlay for war project - items inside not visible....

2012-08-31 Thread Maven User
Uh - by "visible" I mean, I can see it when I run "jetty:run" and go to that url. In my example above, I can hit foo.js, but not bar.js - even when they are right next to each other. Doesn't matter if it's a zip or a war I'm using for the overlay, neither work. Has anyone see this or know of a b

zip overlay for war project - items inside not visible....

2012-08-31 Thread Maven User
Hi all - I'm having an issue where a zip file containing shared js and css components are overlaid to my war project - but they're NOT visible! So in my source tree, I have: src/main/webapp/js/foo.js I'm overlaying several other js files and the resulting war also has: webapp/js/foo.js webapp/

Re: How to get a plugin into repo1

2012-06-22 Thread Maven User
entral. > > > Regards, > htfv (Aliaksei Lahachou) > > > On Fri, Jun 22, 2012 at 5:48 PM, Maven User > wrote: > > > If I have a plugin I'd like to share beyond source, how do I get it into > a > > public repo? > > >

Re: mvn package && mvn site

2012-06-22 Thread Maven User
Is your goal to type less? Maybe bind the site plugin to a phase after package via a profile? This sounds terrible tho... On Wed, Jun 13, 2012 at 6:36 AM, cortes wrote: > > Yes I did mvn package site and effectly it works correctly. > However the only alternative is create a new script for t

How to get a plugin into repo1

2012-06-22 Thread Maven User
If I have a plugin I'd like to share beyond source, how do I get it into a public repo?

Re: 5 minutes guide - error

2012-06-22 Thread Maven User
I'd suggest also using -X -e...

Re: Simple filtering question

2012-04-13 Thread Maven User
/resources true On Fri, Apr 13, 2012 at 12:57 PM, Maven User wrote: > Hi all - > > I'm struggling a bit with what seems like a really simple

Simple filtering question

2012-04-13 Thread Maven User
Hi all - I'm struggling a bit with what seems like a really simple/silly thing. I have to use an explicit configuration of the maven-resources-plugin to copy and filter some resources. What I'm seeing, regardless of packaging type, is if you explicitly configure this plugin, it won't expand ANY

Re: Attach a random file to the deploy process

2012-03-16 Thread Maven User
Hammar wrote: > I think it should work. WHat is Maven complaining about? > > /Anders > > On Fri, Mar 16, 2012 at 21:51, Maven User wrote: > > Ok, now getting a bit pissed. > > > > Maven deploy:deploy-file is NOT liking my url to my snapshot repository. > > &g

Re: Attach a random file to the deploy process

2012-03-16 Thread Maven User
Ok, now getting a bit pissed. Maven deploy:deploy-file is NOT liking my url to my snapshot repository. Is there some magic or can I just use -Durl=http:snapshots On Fri, Mar 16, 2012 at 4:10 PM, Maven User wrote: > Preaching to the choir my friend. > > I tried hacking up the bui

Re: Attach a random file to the deploy process

2012-03-16 Thread Maven User
Preaching to the choir my friend. I tried hacking up the build helper plugin as suggested above, but the ArtifactId (understandably) can't be changed. Thanks all! On Fri, Mar 16, 2012 at 3:57 PM, wrote: > > > > Well, kinda - that only allows you to adjust extension and classifier. > > > > I _k

Re: Attach a random file to the deploy process

2012-03-16 Thread Maven User
Schaible wrote: > Maven User wrote: > > > Hi all - > > > > I _thought_ I had a good grasp on this, but something passed me by. > > > > Is it possible to attach some file to the deploy process? We have a > > couple non-standard artifacts I want/need d

overlay all artifacts of a particular classifier/type combo

2012-03-14 Thread Maven User
Hi all - Is there a way to wildcard the overlaying of various dependencies? I'd like to take all the artifacts of a given and stick them at the root of the war. Currently, we're doing a dependency:unpack of them, then including them as the base web dir. In the end, I guess it works, but I was

Re: Skip default execution?

2012-03-14 Thread Maven User
Thanks everyone - and yes, overriding the default execution id works! On Wed, Mar 14, 2012 at 2:14 PM, Laird Nelson wrote: > On Wed, Mar 14, 2012 at 2:08 PM, Maven User > wrote: > > > I'm doing this: > > . > > > >

Re: Skip default execution?

2012-03-14 Thread Maven User
package ${war.goal} Now it only runs once :-) On Wed, Mar 14, 2012 at 2:08 PM, Maven User wrote: > Hi all - > > I _swore_ you could do this, but maybe I've overlooked something... > > I have a project that has a p

Skip default execution?

2012-03-14 Thread Maven User
Hi all - I _swore_ you could do this, but maybe I've overlooked something... I have a project that has a packaging type of "war". BUT - we have two ways we'd like to build - a compressed war (if releaseable) or an exploded directory (if it's a developer build). I'm doing this: .

Re: RE: offline not truly offline?

2012-02-29 Thread Maven User
I hate to see jira's and go "Hmmm - well, it's documented, so I'll do nothing"... At the very least, I'll hack this up locally for us On Wed, Feb 29, 2012 at 4:34 AM, Thorsten Heit wrote: > Hi, > > > From my experience with the archetype plugin, it appears to ignore your > > company proxies

Re: offline not truly offline?

2012-02-28 Thread Maven User
Bravo - for the perfectly hysterical dead-pan reply about kitten punching, I shall go forth and seek the source I desire and fork it... On Tue, Feb 28, 2012 at 2:11 PM, Wayne Fay wrote: > > That makes me want to punch kittens. > > > > Shouldn't access be allowed/disallowed by the process running

Re: offline not truly offline?

2012-02-28 Thread Maven User
eeing is a archetype plugin specific file so I'm > guessing it doesn't check if in offline mode before downloading that. > > /Anders > > On Tue, Feb 28, 2012 at 19:02, Maven User wrote: > > Yeah, just did it again just to make sure: > > > > "mvn archet

Re: offline not truly offline?

2012-02-28 Thread Maven User
We see this behavior with 3.0.3 and 3.0.4. On Tue, Feb 28, 2012 at 1:10 PM, Wayne Fay wrote: > > [INFO] Generating project in Interactive mode > > [DEBUG] Searching for remote catalog: > > http://repo1.maven.org/maven2/archetype-catalog.xml > > What version of Maven are you using? > > Wayne > >

Re: offline not truly offline?

2012-02-28 Thread Maven User
Yeah, just did it again just to make sure: "mvn archetype:generate -X -e -o" [INFO] Generating project in Interactive mode [DEBUG] Searching for remote catalog: http://repo1.maven.org/maven2/archetype-catalog.xml Lies? On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay wrote: > > When passing "m

Re: offline not truly offline?

2012-02-28 Thread Maven User
I'd be VERY happy to be wrong. When I run "mvn archetype:generate -o" I can see it reaching out to repo1. We have a corporate proxy here and w/o that configured, maven simply tries to build up the archetype catalog from its local repository instead. How do I know mvn is lying like you suggest?

offline not truly offline?

2012-02-28 Thread Maven User
Hi all - When passing "mvn archetype:generate" the -o flag, I can see it's reaching out to repo1 still. It seems offline mode isn't truly offline. Am I missing something?

Re: Maven release plugin suggestions

2012-01-30 Thread Maven User
makes sense typing it, but reading it, not so much)? On Fri, Jan 27, 2012 at 7:33 PM, Ansgar Konermann < ansgar.konerm...@googlemail.com> wrote: > Am 27.01.2012 18:02, schrieb Maven User: > > But the push is trying to push the "aggregate" repository, NOT the "jar&qu

Re: Maven release plugin suggestions

2012-01-27 Thread Maven User
your reply! I appreciate it! On Fri, Jan 27, 2012 at 5:50 PM, Ansgar Konermann < ansgar.konerm...@googlemail.com> wrote: > Am 27.01.2012 17:43, schrieb Maven User: > > If your aggregate pom is NOT a parent pom, can you execute the release > from > > there? > Yes. This

Re: Maven release plugin suggestions

2012-01-27 Thread Maven User
ny changes in it yet. For instance, during the release prepare step, the build is started in the "aggregate" directory and a pom in ../jar is altered. But the push is trying to push the "aggregate" repository, NOT the "jar" repository. Any suggestions? * On Fri, Jan 27

Re: properties not getting shared

2012-01-23 Thread Maven User
pom. On Mon, Jan 23, 2012 at 6:12 PM, Maven User wrote: > Hi all - > > I've got a bit of a head scratcher here and while I know this isn't the > BEST way to solve things, it seems to be how it is getting done. > > We have a parent pom that has a list of a few child m

properties not getting shared

2012-01-23 Thread Maven User
Hi all - I've got a bit of a head scratcher here and while I know this isn't the BEST way to solve things, it seems to be how it is getting done. We have a parent pom that has a list of a few child modules. In the parent pom, we have a property that defines what version of a dependency we should

Re: repositories acting up?

2011-12-01 Thread Maven User
Before I give up here - is there an secured version of repo1? On Thu, Dec 1, 2011 at 11:20 AM, Maven User wrote: > Comments below: > > On Thu, Dec 1, 2011 at 9:12 AM, Olivier Lamy wrote: > >> As it looks you are probably/maybe in an enterprise secured env. >> > >

Re: repositories acting up?

2011-12-01 Thread Maven User
n't anything funky going on with repo1 that I should take into account. Thank you very much for all the replies/help - I appreciate it! > > 2011/12/1 Maven User : > > Heh! > > > > What do you mean by "karma"? > > > > I tried pointing directly at

Re: repositories acting up?

2011-12-01 Thread Maven User
on: > http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.properties > > So if you pass tru any corporate proxy to download that, you must add > karma for that. > > 2011/11/30 Maven User : > > Hi all - > > > > Are people having

repositories acting up?

2011-11-30 Thread Maven User
Hi all - Are people having any issues connecting to repo1 via their repo managers today? I'm unable to connect: jvm 1| org.sonatype.nexus.proxy.RemoteStorageException: Transport error while executing GET method [repositoryId="central", requestPath="/.index/ nexus-maven-repository-index.pr op

-Dmaven.artifact.threads in conjunction with -B

2011-11-17 Thread Maven User
Hi all - If say, in Jenkins, I've asked for batch mode (-B) AND have specified -Dmaven.artifact.threads=20, does the -B disable the parallelized artifact resolution? Following the log, it seems to be downloading each artifact sequentially, NOT in parallel with both of these flags. Am I misunders

Re: Constantly seeing metadata files downloaded

2011-09-28 Thread Maven User
Thank you all! I was starting to lose it a bit - I'm glad I persisted. Nexus community confirmed it's a bug in mvn that shall be addressed in version 3.0.4. 2011/9/28 Tamás Cservenák > Mark, you were right: > > The "Maven User" (initial poster) uses jerse

Re: Constantly seeing metadata files downloaded

2011-09-28 Thread Maven User
9 PM, Mark Derricutt wrote: > Are you by any chance using version ranges in any of your poms - that tends > to cause maven to repeatedly download the metadata when checking for newer > versions to satisfy your ranges. > > > > On 28/09/2011, at 7:37 AM, Maven User wrote: > &g

Re: Constantly seeing metadata files downloaded

2011-09-27 Thread Maven User
ramework:spring-web:jar:2.5.6.SEC03:compile Are you having issues with that as well? On Tue, Sep 27, 2011 at 2:37 PM, Maven User wrote: > Is there an easy way to see from the command line which repository an > artifact is being resolved to/from? > > > On Thu, Sep 22, 2011

Re: Constantly seeing metadata files downloaded

2011-09-27 Thread Maven User
Is there an easy way to see from the command line which repository an artifact is being resolved to/from? On Thu, Sep 22, 2011 at 11:03 PM, Wayne Fay wrote: > > Downloaded: http:// > /nexus/content/groups/public/org/springframework/spring-web/maven-metadata.xml > > > > Is there a known issue wit

Constantly seeing metadata files downloaded

2011-09-22 Thread Maven User
Hi all - I'm running maven 3.0.3 and nexus 1.9.2 and I'm seeing some weird behavior. With every build, I see this: [DEBUG] === [DEBUG] Could not find metadata org.springframework:spring-web/maven-metadata.xml in local (D:\m2repo

Re: Plugins not properly loading properties

2011-09-20 Thread Maven User
ort (i.e. in Maven core). > > /Anders > > On Tue, Sep 20, 2011 at 14:57, Maven User wrote: > > Heh - yeah a quick look at the docs and it says: > > > > > > - Requires a Maven 2.0 project to be executed. > > - Since version: 1.0-alpha-2. > > - In

Re: Plugins not properly loading properties

2011-09-20 Thread Maven User
possibly fork a new process performing a maven > build with the lifecycle (the docs should tell). I haven't used that > plugin as I'm a Cargo addict...:-) > > /Anders > > On Mon, Sep 19, 2011 at 22:35, Maven User wrote: > > BTW - this is totally not the beh

Re: Plugins not properly loading properties

2011-09-19 Thread Maven User
I'll admit knowing this was a loaded question. I've previously solved this via a separate configuration artifact. I was just shocked to see how m3 doesn't allow the import of property files anymore the way 2.2.1 did. Thanks again all - I appreciate it! On Mon, Sep 19, 2011 at 5:19 PM, Wayne Fay

Re: Plugins not properly loading properties

2011-09-19 Thread Maven User
properties file is IMHO not a good idea, for reasons > you now see. And there are even worse examples where you could > effectively be distributing a non-working pom making people using your > artifact lives' miserable. > > Keep everything in the POM, > /Anders > On Mon, Sep

Re: Plugins not properly loading properties

2011-09-19 Thread Maven User
BTW - this is totally not the behavior we're seeing with a "tomcat:deploy". That seems to go through all the standard build lifecycle goals, then NOT pull in any dynamically loaded configuration...

Re: Plugins not properly loading properties

2011-09-19 Thread Maven User
And there's no way to inject the property files we've loaded at that level? On Mon, Sep 19, 2011 at 3:59 PM, Anders Hammar wrote: > It will get properties defined in the effective POM. > > /Anders > On Mon, Sep 19, 2011 at 21:48, Maven User wrote: > > Yet it g

Re: Plugins not properly loading properties

2011-09-19 Thread Maven User
s is not executed. > > /Anders > > On Mon, Sep 19, 2011 at 17:35, Maven User wrote: > > Hi all - > > > > Quick question, I think there's some confusion on my end. > > > > We have a plugin that loads properties into the reactor so they're > avail

  1   2   >