Re: dependency:copy and transitive dependencies of artifactItems

2009-04-21 Thread Brian Fox
It does not support transitivity yet. You can use copy-dependencies and combinations of the filters to get the artifacts you need Chris Burroughs wrote: I assumed from the frequent references to transitive dependencies at that

Re: duplicate snapshots copied by maven-dependency-plugin:copy-dependency

2009-04-20 Thread Brian Fox
This could only happen in two passes of the plugin without a clean in between. The two files are indeed the same version, but it isn't checking the target folder exhaustively to see if there's a file there with another timestamped version...the overwrite only gets triggered if the exact same fi

Re: maven 2.1.0 not passing on system properties to java virtual machine

2009-04-20 Thread Brian Fox
Please file a jira for this and use 2.1.0 as the affects version so we can get it fixed in 2.1.1 edward eric pedersson wrote: Hi We use the command line to pass on system properties to the java virtual machine when running our Hudson builds on a Linux box. It used to work quite well in 2.0.9 b

Re: Get list of provided dependencies in own Mojo

2009-04-16 Thread Brian Fox
Take a look at the dependency plugin source. There are filters to get the correct scope. Gert Vanthienen wrote: L.S., I'm writing a plugin and would like to get a list of artifacts for the provided dependencies (including transitive dependencies) for the project. How can I get this? I was us

Re: What is the best Maven book (or material) for new users?

2009-04-15 Thread Brian Fox
That alpha copy is a very, very old version and is not even close to what was printed (which is by now old). The latest and greatest is published regularly here: http://www.sonatype.com/products/maven/documentation/book-defguide javidjamae wrote: There is an "alpha" copy of The Definitive Guid

Re: Weird problem downloading snapshots with Nexus

2009-04-15 Thread Brian Fox
Whenever you see Maven making requests for -SNAPSHOT (and you don't have it configured with useUnique = false) it always means that the maven-metadata.xml file for that snapshot is wrong or couldn't be found. It's hard to say why that could have happened, but this often happens if you do a bui

Re: settings.xml precedence

2009-04-14 Thread Brian Fox
The -D doesn't change the settings, -s does. This most likely only overrides the user settings file, but the global one in the maven install /conf folder would still be referenced if it exists. Jim McCaskey wrote: Hello all, I'm having some trouble tracking down how the precedence works for

RE: Understanding SNAPSHOTS

2009-04-08 Thread Brian Fox
>Regarding snapshots and the way your QA works it all looks like you have >adjusted your team workflow to the features the maven tool provides. Yes, this comes from years of using the tool, but is also adapted to our current environment. >And >these features are not so flexible to cover all re

RE: Understanding SNAPSHOTS

2009-04-07 Thread Brian Fox
>So your formal releases are produced by manually running the release >plugin? And if it fails, you manually do a rollback, depending on the >failure? Yes, we manually roll it back. It's not too bad with svn, but a bit annoying I'll admit. We haven't tackled the release tools yet. >Some of our

RE: Understanding SNAPSHOTS

2009-04-07 Thread Brian Fox
>1. How to distinguish snapshot build versions correctly? So that one >snapshot build would not overwrite previous one in the repository. You don't, that's not the purpose. If you truly care about a particular snapshot version, then it should have been a release. It's meant only for looking at th

RE: Understanding SNAPSHOTS

2009-04-07 Thread Brian Fox
Hello, We have our CI system setup to build after every commit for verification. It happens to build on a grid with multiple OS's and one of them deploys a snapshot to our Nexus repo. Our QA grabs the latest snapshot of the application at various times and validates the fixes against it. (they l

[ANN] Maven Enforcer Plugin 1.0-beta-1

2009-02-25 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Enforcer Plugin, version 1.0-beta-1 The Enforcer plugin is used to fail a build if certain constraints are not met. There are too many standard rules to describe here, but check out the site for more details: http://maven.apache.org/p

[ANN] Maven 2.0.10 Release

2009-02-18 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven 2.0.10 This is a stable bug fix release and you can see the full list of issues fixed at http://maven.apache.org/release-notes.html Enjoy, -The Maven team - To unsu

[ANN] Maven Clean Plugin 2.3 and Shared File Management 1.2.1 released

2009-01-10 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Clean Plugin, version 2.3 This plugin is used to delete artifacts to provide a clean build. http://maven.apache.org/plugins/maven-clean-plugin/ You should specify the version in your project's plugin configuration: org.apache.mave

[ANN] Maven Dependency Plugin 2.1 and Maven Dependency Analyzer 1.1 released

2009-01-10 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Dependency Plugin, version 2.1 This plugin is used to copy and unpack artifacts and dependencies. It also provides visualization and optimization tools for your project dependencies. http://maven.apache.org/plugins/maven-dependency-pl

Re: Third party jars

2008-12-26 Thread Brian Fox
Yes we do have a tool for this --Brian (mobile) On Dec 24, 2008, at 3:55 PM, "John Stoneham" wrote: On Wed, Dec 24, 2008 at 9:20 AM, Alex Athanasopoulos wrote: Is there a way to convert a local repository into a remote repository, or should I upload each artifact to Nexus again? (I ha

Re: Using a SNAPSHOT version for a parent

2008-12-10 Thread Brian Fox
Yes it's right but make sure you have enabled snapshots for the repo in question. By default only releases are enabled for repos --Brian (mobile) On Dec 10, 2008, at 4:19 PM, "Todd Thiessen" <[EMAIL PROTECTED]> wrote: If I deploy a SNAPSHOT version of a parent POM, POMs that reference it

Re: Maven Repository

2008-12-05 Thread Brian Fox
Trying to download all 70gb from central will likely get you banned. Instead use a repository manager and let it cache the things you actually need. --Brian (mobile) On Dec 5, 2008, at 4:24 AM, "prasanna.goupal" <[EMAIL PROTECTED] > wrote: Hi All, Is there any way to download complet

Re: Plugin that bundles Jetty + Webapp for release

2008-12-05 Thread Brian Fox
We use the assembly plugin to put the nexus bundle together. I have a Plugin mostly written that can do it also but it's focused on using plexus and jsw in the bundle. --Brian (mobile) On Dec 4, 2008, at 5:20 PM, "Siegfried Goeschl" <[EMAIL PROTECTED] > wrote: Hi Stephan, I doubt there

Re: Attaching artifacts

2008-12-04 Thread Brian Fox
Use the build-helper plugin --Brian (mobile) On Dec 4, 2008, at 8:25 AM, "Sommers, Elizabeth" <[EMAIL PROTECTED] > wrote: Is there anyway to attach an artifact without writing a mojo to do it? I would like to just do it with the pom if possible. Liz Sommers [EMAIL PROTECTED]

Re: How to place the project classpath into a ressource file?

2008-11-29 Thread Brian Fox
path goal calculates the full path to the jars (e.g. C:/project/lib/ myJar.jar). Is there a way to make this path relatively to, let's say "lib/" of the assembled folder? Thanks a lot. Regards Stephan Brian Fox schrieb: You can use the maven-dependency-plugin:build-classpath

Re: How to place the project classpath into a ressource file?

2008-11-29 Thread Brian Fox
myJar.jar). Is there a way to make this path relatively to, let's say "lib/" of the assembled folder? Thanks a lot. Regards Stephan Brian Fox schrieb: You can use the maven-dependency-plugin:build-classpath goal --Brian (mobile) On Nov 29, 2008, at 11:28 AM, "Stephan

Re: Third party jars

2008-11-29 Thread Brian Fox
You could save youself a lot of hassle with a repo manager. You shouldn't use local repos as remote repos because the metadata is different. Also with unmanaged repos, snapshot accumulation will become a problem. --Brian (mobile) On Nov 29, 2008, at 5:33 AM, "Alex Athanasopoulos" <[EMAIL

Re: How to place the project classpath into a ressource file?

2008-11-29 Thread Brian Fox
You can use the maven-dependency-plugin:build-classpath goal --Brian (mobile) On Nov 29, 2008, at 11:28 AM, "Stephan Niedermeier" <[EMAIL PROTECTED] > wrote: Hi, I'm using Maven2 to build and assemble my project under Win XP. The project contains a Java launcher. This launcher needs to kn

[2.0.10 RC] Please test

2008-11-14 Thread Brian Fox
ojectId=10500&Create=Create And I've staged RC-3 here: http://people.apache.org/~brianf/staging-repository/org/apache/maven/apa che-maven/2.0.10-RC3/ Please try it out and see if we have any remaining regressions over 2.0.9. Thanks, Brian ------ Brian Fox

Re: Maven includes old jar versions

2008-11-12 Thread Brian Fox
Do a clean install after changing the pom since the target folder would already have a copy of the previous version. --Brian (mobile) On Nov 12, 2008, at 9:52 AM, "Troy Bull" <[EMAIL PROTECTED]> wrote: Greetings I am brand new to maven and I have just noticed an issue. I have a jar file t

[2.0.10 RC] Please test

2008-11-06 Thread Brian Fox
tml&projectId=10500&Create=Create And I've staged RC-2 here: http://people.apache.org/~brianf/staging-repository/org/apache/maven/apa che-maven/2.0.10-RC2/ Please try it out and see if we have any remaining regressions over 2.0.9. Thanks, Brian -- B

[ANN] Maven Enforcer Plugin 1.0-alpha-4 Released

2008-09-17 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Enforcer Plugin, version 1.0-alpha-4 The Enforcer plugin provides goals to control certain environmental constraints such as Maven version, JDK version and OS family along with many more standard rules and user created rules. http://m

Re: dependency plugin

2008-09-13 Thread Brian Fox
It is this goal in the dependency plugin, but in general when working with multimodule builds, you should just do install. Other plugins can have the same problems. Sent from my iPhone On Sep 12, 2008, at 10:10 PM, "Build Guy" <[EMAIL PROTECTED]> wrote: well, the whole point is that... If m

Re: How do I override a plugin dependency?

2008-08-26 Thread Brian Fox
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 Sent from my iPhone On Aug 23, 2008, at 8:08 AM, "Graham Leggett" <[EMAIL PROTECTED]> wrote: Hi all, I have a need to override a specific dependency used by th

Re: what happened to the plugin snapshots....

2008-08-06 Thread Brian Fox
As I said before, this was done by infra with no notice to us. The new policy of purging is theirs, not ours. See the infra archives if you would like to read about it. On Aug 5, 2008, at 10:45 PM, "Patrick Moore" <[EMAIL PROTECTED]> wrote: Of course this means that the maven team is imp

Re: generate bat/cmd with classpath?

2008-07-07 Thread Brian Fox
There is also the exec-maven-plugin --Brian On Jul 7, 2008, at 7:13 PM, "Kathryn Huxtable" <[EMAIL PROTECTED] > wrote: On Jul 7, 2008, at 5:34 PM, Ken Liu wrote: > Is there any easy way to have maven generate a cmd or bat file with > the java > command line populated with the classpath fro

Re: Tarball project

2008-06-12 Thread Brian Fox
Hi Chris, You want the maven-assembly and maven-dependency to do this. I wrote about it with examples[1]: You can probably unpack directly to your target folder rather than filtering as is shown in the example. --Brian [1] http://blogs.sonatype.com/brian/2008/04/17/120848550.html On Thu, Jun

Re: Upgrading Maven 2.0.5 -> 2.0.9

2008-05-28 Thread Brian Fox
Yes, the other part is clean Sent from my iPhone On May 28, 2008, at 11:22 AM, "Michael Delaney" <[EMAIL PROTECTED]> wrote: I was basing my findings on the output where Maven stated "Potential problems discovered". Is Maven just referring to the "Used undeclared dependencies" and "Unused de

Re: Upgrading Maven 2.0.5 -> 2.0.9

2008-05-28 Thread Brian Fox
There appear to be no mismatches in the depmgt section, which is the part of the tool focused on the 2.0.5 upgrade. There are some other dependency issues you can deal with separately..there is an explaination in chapter 8: http://www.sonatype.com/book Sent from my iPhone On May 28, 2008,

Re: Getting to the failed tests quickly

2008-05-14 Thread Brian Fox
You can also use -Dsurefile.useFile=false to output the error to stdout. I do this in Hudson also so that the emails contain the error. --Brian On May 14, 2008, at 12:39 PM, "Adam Hardy" <[EMAIL PROTECTED] > wrote: Wayne Fay on 14/05/08 16:03, wrote: >> I am using surefire to run our unit

Re: Bug in maven 2 -

2008-05-14 Thread Brian Fox
How are you using these properties? A copy of your PIM would help. Maven shouldn't hang, especially on an undefined property... It just goes through un-interpolated --Brian On May 14, 2008, at 1:44 PM, "EJ Ciramella" <[EMAIL PROTECTED]> wrote: A colleague and I have found some strange

Re: which repository contains the 2 artifacts?

2008-05-10 Thread Brian Fox
For nexus we recommend making a group and using a mirror of * Both of those artifacts should be in central --Brian On May 10, 2008, at 1:52 AM, "oliver.maven" <[EMAIL PROTECTED]> wrote: hi, i am using nexus indexer,i found i cant download the 1) org.codehaus.plexus:plexus-container-defau

[ANN] Apache Maven 2.0.9 Released

2008-04-10 Thread Brian Fox
The Apache Maven team would like to announce the availability of Maven 2.0.9. This release went through a new process that saw 8 release candidates tested by the user community before the final release and we expect it to be more robust than previous versions. There are several important fixes and

RE: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Brian Fox
> What do you mean by not relying on a CMS? Does that mean an application server? Nexus doesn't use a database is what Jason was suggesting. >I was looking through the documentation and it does not look like Nexus is made to be hosted within an application >server like Tomcat and Websphere. Is

[ANN] Maven Reporting Impl 2.0.4.1 Released

2008-03-25 Thread Brian Fox
The reporting implementation is used to render site reports. This release fixes an incompatibility with newer doxia implementations. This has just one change from 2.0.4: http://jira.codehaus.org/browse/MNG-3476 --The Maven Team

[ANN] Maven Plugin Tools 2.4.1 Released

2008-03-25 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Plugin Tools, version 2.4.1 This release fixes 3 critical issues discovered in the 2.4 release. We recommend everyone upgrade from 2.4 to 2.4.1. The Maven Plugin Tools contains the necessary tools to be able to produce Maven Plugins

[ANN] Maven Javadoc Plugin version 2.4

2008-03-13 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Javadoc Plugin, version 2.4. NOTE: This release has many fixes, but most notably is MJAVADOC-137, which reverses the aggregation introduced in 2.3. This can and has caused many issues during releases because the javadoc is included aut

Maven Archetype Plugin 2.0-alpha-2

2008-02-24 Thread Brian Fox
The Maven team would like to announce the release of Maven Archetype 2.0-alpha-2. This release corrected backwards compatibility with the 1.0 version and a few windows issues. The site has also been updated and deployed: http://maven.apache.org/plugins/maven-archetype-plugin Release Notes - Maven

[ANN] Maven Dependency Plugin 2.0 Released

2008-01-28 Thread Brian Fox
The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version

[announce] Release Ounce-Maven-Plugin 1.0

2007-12-24 Thread Brian Fox
The mojo team is pleased to announce the release of the Ounce-Maven-Plugin 1.0. Ounce is a code security scanning tool produced by OunceLabs. The ounce plugin enables integration with Maven and automatic creation of Ounce application and project files as well as on demand scanning and site report i

Maven 2.0.8 Release

2007-11-27 Thread Brian Fox
The Apache Maven team would like to announce the availability of Maven 2.0.8. We closed out 32 issues and no major issues upgrading are expected. There is one slight change to be aware of, the test-classes folder is now before the classes in the classpath to allow test resources to override runtim

[ANN] Maven Release Plugin 2.0-beta-7 Released

2007-10-28 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven WAR Plugin, version 2.0 beta-7. http://maven.apache.org/plugins/maven-release-plugin Release Notes - Maven 2.x Release Plugin - Version 2.0-beta-7 ** Bug * [MRELEASE-124] - Impossible to depend on a deployed snapshot * [MRE

[ANN] Maven Eclipse Plugin 2.4 Released

2007-07-11 Thread Brian Fox
The Maven Team is pleased to announce the release of maven-eclipse-plugin 2.4: Release Notes - Maven 2.x Eclipse Plugin - Version 2.4: http://jira.codehaus.org/secure/ReleaseNote.jspa?version=13001&styleName =Html&projectId=11133&Create=Create ** Bug * [MECLIPSE-108] - .wtpmodules with versio

[ANN] Maven Enforcer Plugin 1.0-alpha-3

2007-07-11 Thread Brian Fox
We are pleased to announce the third release of the maven-enforcer-plugin. The Enforcer plugin provides goals to detect and enforce certain environmental constraints such as Maven Version, JDK version, and OS family/version/architecture. Additionally, the Enforcer can execute custom rules defined

[ANN] Maven Enforcer Plugin 1.0-alpha-2

2007-04-14 Thread Brian Fox
This is a minor release with just one fix: Release Notes - Maven 2.x Enforcer Plugin - Version 1.0-alpha-2 ** Bug * [MENFORCER-1] - plugin fails on jdk < 1.5 --The Maven Team. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[ANN] Maven Enforcer Plugin 1.0-alpha-1

2007-04-08 Thread Brian Fox
We are pleased to announce the first release of the maven-enforcer-plugin. The Enforcer plugin provides goals to detect and enforce certain environmental constraints such as Maven Version, JDK version, and OS family/version/architecture. Additionally, the Enforcer can execute custom rules defined

[ANN] Maven Dependency Plugin 2.0-alpha-4 Released

2007-03-28 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Dependency Plugin, version 2.0-alpha-4 http://maven.apache.org/plugins/maven-dependency-plugin/ The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositor

[ANN] Maven Dependency Plugin 2.0-alpha-3 Released

2007-03-20 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Dependency Plugin, version 2.0-alpha-3 http://maven.apache.org/plugins/maven-dependency-plugin/ The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositor

<    1   2   3   4   5