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

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.

Re: Accessing licenses/license as POM properties?

2018-05-18 Thread org . apache . maven . user
> > ${pom.license.url} or anything similar. > > here's what I use as an for the maven-bundle-plugin to > generate a Bundle-License line in my MANIFEST.MF: > > > ${project.licenses[0].url};description="${project.licenses[0].name}" > > > > Work

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
y I ended up > writing my own rule. > > If you want to ensure that the description is set in each child POM, maybe > the scijava-maven-plugin's requireElements rule _can_ help you here? Or do > you, again, only want to set the description in some intermediate POM layer?

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-05 Thread org . apache . maven . user
iverges rule in the extra-enforcer-rules package in this case. > > then: MojoHaus requirePropertyDiverges [1] requires that the property value > is > different, not that it is not empty > > IIUC what you're trying to do, you'll need both Maven requireProperty [2] and &g

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
rd-coding > > paths that represent links to other modules seems like a > > horrendously bad idea. > > That is fair. I will point out, though, that if you do not specify the > relativePath, then it is ".." by default. Best practice is to write > ""

Re: Defining a property designed to be overridden?

2017-03-02 Thread org . apache . maven . user
reasons you've described. Hard-coding paths that represent links to other modules seems like a horrendously bad idea. I've written a few plugins, but I'm not intimately familiar with the Maven API: Shouldn't it be possible to recursively retrieve the parent POMs from the reac

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
module such as the OSGi manifest, dependencies, etc. Using the scijava-maven-plugin RequireElements rule would seem to require me to specify all of this information again in each module. Is there a way to avoid this? M [0] Although I do actually have to re-specify the SCM location due to an ut

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 >

Defining a property designed to be overridden?

2017-03-01 Thread org . apache . maven . user
m regarding the scope and definitions of properties. I have a parent pom: https://github.com/io7m/maven-parent-properties-20170301/blob/develop/pom.xml ... which contains a definition like this: ... ... com.github.siom79.japicmp

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 th

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/ > <https://chonton.github.io/exists-maven-plugin/0.0.2/>]. This has goals to > prevent deployment or installation of artifacts w

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

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

Slightly more advanced resource filtering (templating)?

2017-01-03 Thread org . apache . maven . user
evaluating it in an interpreter. https://github.com/io7m/smf/blob/develop/io7m-smfj-blender/src/main/resources/__init__.py Right now, I'm having to remember to manually insert the right version number each time I increment the Maven version. I'd much rather filter the Python source file as

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 loa

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

Re: Mojos that instrument classes

2016-09-15 Thread offbynull-maven
This is what I'm using right now, but I've found that my instrumentation mojo won't run if someone does "mvn test" or "mvn test-compile". The user has to explicitly ask maven to run it. For example, "mvn test-compile coroutines:test-instrument". I

Mojos that instrument classes

2016-09-15 Thread offbynull-maven
What should the defaultPhase be for a Maven plugin that instruments classes? Should it be PROCESS_CLASSES / PROCESS_TEST_CLASSES, or should it be COMPILE / TEST_COMPILE? - To unsubscribe, e-mail: users-unsubscr

Distinguishing between host and container dependencies

2016-09-03 Thread org . apache . maven . user
untime. I feel like the most natural way to specify this would be to be able to add a custom scope: x.y.z example 0.1.0 container The maven-dependency-plugin could then be instructed to copy host dependencies to one location, and container dependencies to another. This would a

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

2016-08-05 Thread org . apache . maven . user
e: > > TL;DR don't run `mvn clean verify deploy` run `mvn clean deploy` as > `deploy` is after `verify` > Thanks, both of you! After some five years of using Maven daily, I had no idea that it didn't eliminate redundant lifecycle calls in that manner... Always something

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

Proper way to have my Mojo instrument both main and test classes

2015-03-26 Thread offbynull-maven
I've written a Maven plugin. When it runs, I want it to process both main classes and test classes. I originally thought that setting my mojo's defaultPhase to PROCESS_CLASSES would handle this, but I've come to find out that PROCESS_CLASSES is only for main classes. There seems

Re: Minimum JDK for mojos

2015-03-19 Thread offbynull-maven
3/2015 12:31 AM, offbynull-maven wrote: If the minimum JDK for Maven3 is JDK1.6, should my custom mojo always be built against JDK1.6 or lower? Are there any guidelines around this? - To unsubscribe, e-mail: users-unsubscr...@m

Minimum JDK for mojos

2015-03-19 Thread offbynull-maven
If the minimum JDK for Maven3 is JDK1.6, should my custom mojo always be built against JDK1.6 or lower? Are there any guidelines around this? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

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
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 manage some private keys. 2 - The ssh-agent plugin - a

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
/home/.../.ssh/id_rsa > > > > > On 18 April 2014 16:27, Thomas Broyer wrote: > >> I think by default Maven calls the command-line Git, so it uses the >> ~/.ssh/id_rsa, and not the configuration from your settings.xml. >> I have no idea if what you'

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 r

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: effective practice for web application development using maven

2013-03-15 Thread maven apache
Thanks all you guys for the ideas. And it seems that the tomcat-maven-plugin is rather simple. And I prefer to it. However I can not found any docs about how to make it auto-scan the change of the dependency project. Do I miss anything? 2013/3/12 Stephen Connolly > You can work around that

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 Mo

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
oaded (which is VERY easy to understand). In their current form, the updatePolicy section in http://maven.apache.org/ref/3.0.4/maven-settings/settings.html and Maven help for the "-U" option can easily be interpreted to mean Maven is capable of updating release artifacts in the local

always not working for with Maven 3.0.4

2013-01-17 Thread Maven User
work is the “update policy” option which is available for "releases." See http://maven.apache.org/ref/3.0.4/maven-settings/settings.html. By our reading, this setting should enable the updating of numbered artifacts in the local Maven cache with a newer version from the central reposito

Re: Maven profiles and resource filtering

2012-12-28 Thread Maven User
Hi Scott - I'll start with "it depends". I'll also point out that Stephen has pointed out an interesting plugin below, but I didn't dig deeply into it. You could also build your "shipping" system around the maven release plugin that exists for jenkins (grantin

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
#x27;t need to rebuild > to deploy to a different environment. > > -Stephen > > > On 26 December 2012 18:54, Niranjan Rao wrote: > > > I read the blog entry and still confused about why we should not be using > > profiles. Perhaps I am just being dumb. > > > > As

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
no...@gmail.com> wrote: > > http://developer-blog.cloudbees.com/2012/11/maven-profiles-and-maven-way.html > > Please don't do maven the way you are doing it > > On Friday, 21 December 2012, Niranjan Rao wrote: > > > Greetings, > > > > We have bunch of profi

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 d

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,

retrieve package list

2012-11-23 Thread cumu maven
Hello, I search a way to fetch all packages (with dependencies) and write it into a ressource file (txt) before creating the final jar. For exemple my project is : org.myproject.view with a dependency to org.apache.log4j and the maven plugin would fetch and export this

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
. Has anyone see this or know of a bug? Here's the doc for maven overlays: http://maven.apache.org/plugins/maven-war-plugin/overlays.html To use a *zip* dependency as an overlay you have to configure it explicitly in the plugin's configuration. For instance to inject the content of

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
Awesome - thank you! On Fri, Jun 22, 2012 at 11:52 AM, Aliaksei Lahachou < aliaksei.lahac...@googlemail.com> wrote: > Check this tutorial > > https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide > . > Releases from OSSRH are synced to the c

Re: mvn package && mvn site

2012-06-22 Thread Maven User
cript for this purpose, I > hoped to insert in the plugin something like an alias, but if is not > possible... > > Thank you very much for the answer > > -- > View this message in context: > http://maven.40175.n5.nabble.com/mvn-package-mvn-site-tp5711231p5711243.html > Sent

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: maven-rpm-plugin executes scripts to include during build

2012-04-25 Thread Maven
Hi Anders, thanks a lot - indeed that was the problem... I missed that point in the documentation. Regards Michael Am 25.04.2012 10:45, schrieb Anders Hammar: I'm somewhat guessing here, but I think you want to use one of the install scriptlets: http://mojo.codehaus.org/rpm-maven-plugi

maven-rpm-plugin executes scripts to include during build

2012-04-25 Thread Maven
Hi all, I have some problems using the maven-rpm-plugin. I want to include some scripts to be executed but these get executed during the build (preventing a successfull build because of permissions). The question now is how can I include scripts which will NOT execute during build but gets

Re: Simple filtering question

2012-04-13 Thread Maven User
Doesn't seem that different, but this does work. Can't use includes? org.apache.maven.plugins maven-resources-plugin 2.5 blah-resources

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&#x

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
sifier. > > > > I _know_, we're swimming up stream here a bit. > > > > I'm pulling down the code for the buildhelper - I'd like to be able to > control > > final name or artifactId at least :-/ > > I would suggest that controlling the name of the

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
but I was wondering if there was a way to do the same thing via the maven-war-plugin (doesn't seem so).

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
r build). I'm doing this: . org.apache.maven.plugins maven-war-plugin war package

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
sallowed by the process running the > plugins? > > Feel free to modify the Maven source code (and Archetype plugin code) > to make this happen and contribute it back. Apparently no one prior to > you has been inspired to do this work so it has been left undone. (I > for one almost never

Re: offline not truly offline?

2012-02-28 Thread Maven User
That makes me want to punch kittens. Shouldn't access be allowed/disallowed by the process running the plugins? On Tue, Feb 28, 2012 at 1:10 PM, Anders Hammar wrote: > The problem with executing Maven offline is that not all plugins > respect that for plugin specific downloads. It&

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

Re: offline not truly offline?

2012-02-28 Thread Maven User
gt; When passing "mvn archetype:generate" the -o flag, I can see it's > reaching > > out to repo1 still. > > How can you "see" this? Are you using a network sniffer or just going > by what the Maven logs show? > > > It seems offline mode isn'

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 l

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
Cool - Here's the exact error: hg commit --message "[maven-release-plugin] prepare release some-new-tag-cool-jar-aggregate-1.0" C:\views\buildsource\jar-A\pom.xml" abort: C:\views\buildsource\jar-A\pom.xml not under root I think the difference between the drools plugin and w

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
I tried adding "*commitByProject<http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#commitByProject>" and that got me a bit further. I can see it commit properly, but the push step is failing because it's trying to push a repo that hasn't had a

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
is there tends to be more fingers in the pie than one can count. So the understanding varies a bit from person to person. > So as there is a redirect maybe the proxy block access to redirection > to http://mirrors.ibiblio.org/pub/mirrors/maven2. > Yep, I have that as the url for the ma

Re: repositories acting up?

2011-12-01 Thread Maven User
on here > curl -I > http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties > HTTP/1.1 302 Moved Temporarily > Server: nginx/1.0.1 > Date: Thu, 01 Dec 2011 08:40:13 GMT > Content-Type: text/html > Content-Length: 160 > Connection: keep-alive > Locati

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

-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

  1   2   3   >