[jira] Subscription: Design & Best Practices
Issue Subscription Filter: Design & Best Practices (24 issues) Subscriber: mavendevlist Key Summary MNG-2184Possible problem with @aggregator and forked lifecycles https://jira.codehaus.org/browse/MNG-2184 MNG-612 implement conflict resolution techniques https://jira.codehaus.org/browse/MNG-612 MNG-1950Ability to introduce new lifecycles phases https://jira.codehaus.org/browse/MNG-1950 MNG-2381improved control over the repositories in the POM https://jira.codehaus.org/browse/MNG-2381 MNG-1563how to write integration tests https://jira.codehaus.org/browse/MNG-1563 MNG-2125[doc] when and how to define plugins in a pom https://jira.codehaus.org/browse/MNG-2125 MNG-139 server definitions should be reusable - review use of repository IDs https://jira.codehaus.org/browse/MNG-139 MNG-474 performance improvement for forked lifecycles https://jira.codehaus.org/browse/MNG-474 MNG-1381best practices: testing strategies https://jira.codehaus.org/browse/MNG-1381 MNG-4656Declarative plugins similar to "jsp tags" or "jsf composites" https://jira.codehaus.org/browse/MNG-4656 MNG-4713${basedir} variable makes portable builds overly difficult https://jira.codehaus.org/browse/MNG-4713 MNG-1569Make build process info read-only to mojos, and provide mechanism for explicit out-params for mojos to declare https://jira.codehaus.org/browse/MNG-1569 MNG-416 best practices: multiple profile deployments https://jira.codehaus.org/browse/MNG-416 MNG-367 best practices: multi-user installation https://jira.codehaus.org/browse/MNG-367 MNG-125 guarded mojo execution https://jira.codehaus.org/browse/MNG-125 MNG-41 best practices: site management https://jira.codehaus.org/browse/MNG-41 MNG-1441Starting thinking about a proper distributed repository mechanism a la CPAN https://jira.codehaus.org/browse/MNG-1441 MNG-868 Use uniform format for and other tags https://jira.codehaus.org/browse/MNG-868 MNG-1425best practices: the location of configuration files vs resources https://jira.codehaus.org/browse/MNG-1425 MNG-1463best practices: plugin inheritance for a multi project build https://jira.codehaus.org/browse/MNG-1463 MNG-657 possible chicken and egg problem with extensions https://jira.codehaus.org/browse/MNG-657 MNG-1867deprecate system scope, analyse other use cases https://jira.codehaus.org/browse/MNG-1867 MNG-1423best practices: setting up multi-module build https://jira.codehaus.org/browse/MNG-1423 MNG-1468best practices: version management in multi project builds https://jira.codehaus.org/browse/MNG-1468 You may edit this subscription at: https://jira.codehaus.org/secure/FilterSubscription!default.jspa?subId=10341&filterId=11471 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: iterating over resources in mojo
FileUtils.getFiles takes the includes as a comma separated list. Resource.getIncludes returns the includes as a List. There seems to be an impedance mismatch here. Do I need to convert the List into a comma separated String? Do I just assume there are no commas in the pattern, or is there a way to escape them? Is there a convenience method to do that? Also, since there's both getFileNames and getFileAndDirectoryNames, I assume the former will *never* return the name of a directory? (The documentation is a bit on the terse side.) Thanks. Robert Scholte wrote on 08/11/2011 10:00 AM: See http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/FileUtils.html getFiles(), getFileNames(), getFileAndDirectoryNames() -Robert Date: Thu, 11 Aug 2011 08:02:01 +0200 Subject: Re: iterating over resources in mojo From: and...@hammar.net To: dev@maven.apache.org I don't have the answer, but I would look in the maven-resources-plugin source to see how it is done there. /Anders On Thu, Aug 11, 2011 at 00:54, Bill Shannon wrote: I'm writing a maven plugin. (2.2.1, if it matters.) I can get all the Resource objects for a project. The Resources might have includes or excludes specified. How do I iterate over all the resource files, taking into account the includes and excludes? I was hoping the Resource or FileSet class would provide an iterator to accomplish this. I'm sure there must be a method to do this, I just don't know where to look for it. Thanks. --**--**- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.**org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
[ANN] Maven Checkstyle Plugin 2.7 Released
Hi, The Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 2.7. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-checkstyle-plugin 2.7 Release Notes - Maven 2.x Checkstyle Plugin - Version 2.7 ** Bug * [MCHECKSTYLE-149] - supressionsFileExpression does not work. * [MCHECKSTYLE-153] - Checkstyle doesn't run on projects containing only test classes * [MCHECKSTYLE-156] - Plugin fails to build on Mac OS * [MCHECKSTYLE-163] - Test classpath resolution fails in mvn check:check when includeTestSourceDirectory = true ** Improvement * [MCHECKSTYLE-132] - Upgrade to Checkstyle 5.3 * [MCHECKSTYLE-162] - Upgrade to checkstyle 5.4 Have Fun, -- The Maven team - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: US and UK maven central not in sync?
Yes I meant instead of. However to close the loop on this thread, the Eclipse and M1 folders are synced over to the uk mirrors now (actually as of a few days ago) so you should be fine using repo1.maven.org again. On Mon, Aug 8, 2011 at 3:12 PM, Stuart McCulloch wrote: > On 8 Aug 2011, at 20:02, Marshall Schor wrote: > >> On 8/8/2011 10:08 AM, Brian Fox wrote: >>> Only the maven2 folder is replicated worldwide. For now you could use >>> us.maven.org instead or repo1.maven.org > > ^ that should read "instead of repo1.maven.org" because repo1 is the one > that has a dynamic address: > > http://www.sonatype.com/people/2011/07/the-central-repository-is-getting-faster-are-you-ready-for-the-new-ips/ > >> hmmm, our user was using repo1.maven.org (but from Europe) and that was >> somehow >> redirected to uk.maven.org >>> to be sure you get consistent >>> results for m1 or eclipse. I'll see about getting the rest replicated >>> to the uk boxes. >> >> Thanks. -Marshall >>> >>> On Sun, Aug 7, 2011 at 7:27 PM, Brett Porter wrote: Brian may know, but in general we can no longer with help with it. You might get a faster response here: https://issues.sonatype.org/browse/MVNCENTRAL - Brett On 08/08/2011, at 3:39 AM, Marshall Schor wrote: > We have a build which has dependencies such as > org.eclipse.core:org.eclipse.core.variables:3.1.100 > > These have been, and still are found on the main repo1 site in the USA > here: > http://repo1.maven.org/eclipse/org/eclipse/core/org.eclipse.core.variables/3.1.100/ > > A person in Europe tried building, reports failures to find these > artifacts. > Some tracing eventually led to the fact that when he puts that same URL > in to > his browser in Europe, it actually goes to the uk.maven.org site, and that > website shows 404 - not found. > > In fact, it appears the uk site no longer has the entire "eclipse" tree. > > Is this expected, or is something broken? > > -Marshall > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > -- Brett Porter br...@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org >>> - >>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >>> For additional commands, e-mail: dev-h...@maven.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> > > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
RE: iterating over resources in mojo
See http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/FileUtils.html getFiles(), getFileNames(), getFileAndDirectoryNames() -Robert > Date: Thu, 11 Aug 2011 08:02:01 +0200 > Subject: Re: iterating over resources in mojo > From: and...@hammar.net > To: dev@maven.apache.org > > I don't have the answer, but I would look in the maven-resources-plugin > source to see how it is done there. > > /Anders > > On Thu, Aug 11, 2011 at 00:54, Bill Shannon wrote: > > > I'm writing a maven plugin. (2.2.1, if it matters.) I can get all the > > Resource objects for a project. The Resources might have includes or > > excludes specified. How do I iterate over all the resource files, > > taking into account the includes and excludes? I was hoping the Resource > > or FileSet class would provide an iterator to accomplish this. I'm sure > > there must be a method to do this, I just don't know where to look for it. > > > > Thanks. > > > > --**--**- > > To unsubscribe, e-mail: > > dev-unsubscribe@maven.apache.**org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Checkstyle Plugin version 2.7
+1 tested Vincent 2011/8/8 Olivier Lamy : > Hi, > > We solved 6 issues: > https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleName=Text&projectId=11127&Create=Create > > Staging repo: > https://repository.apache.org/content/repositories/maven-005/ > > Staging site: > http://maven.apache.org/plugins/maven-checkstyle-plugin-2.7/ (wait sync) > > Guide to testing staged releases: > http://maven.apache.org/guides/development/guide-testing-releases.html > > Vote open for 72 hours. > > [ ] +1 > [ ] +0 > [ ] -1 > > Thanks > -- > Olivier Lamy > Talend : http://talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Checkstyle Plugin version 2.7
+1 Dan On Thursday, August 11, 2011 9:29:32 AM Olivier Lamy wrote: > ping. > > Thanks ! > > 2011/8/10 Olivier Lamy : > > Here my +1. > > > > Thanks ! > > > > 2011/8/8 Olivier Lamy : > >> Hi, > >> > >> We solved 6 issues: > >> https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleN > >> ame=Text&projectId=11127&Create=Create > >> > >> Staging repo: > >> https://repository.apache.org/content/repositories/maven-005/ > >> > >> Staging site: > >> http://maven.apache.org/plugins/maven-checkstyle-plugin-2.7/ (wait > >> sync) > >> > >> Guide to testing staged releases: > >> http://maven.apache.org/guides/development/guide-testing-releases.html > >> > >> Vote open for 72 hours. > >> > >> [ ] +1 > >> [ ] +0 > >> [ ] -1 > >> > >> Thanks > >> -- > >> Olivier Lamy > >> Talend : http://talend.com > >> http://twitter.com/olamy | http://linkedin.com/in/olamy > > > > -- > > Olivier Lamy > > Talend : http://talend.com > > http://twitter.com/olamy | http://linkedin.com/in/olamy -- Daniel Kulp dk...@apache.org http://dankulp.com/blog Talend - http://www.talend.com - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Checkstyle Plugin version 2.7
+1 LieGrue, strub --- On Wed, 8/10/11, Olivier Lamy wrote: > From: Olivier Lamy > Subject: Re: [VOTE] Release Maven Checkstyle Plugin version 2.7 > To: "Maven Developers List" > Date: Wednesday, August 10, 2011, 3:56 PM > Here my +1. > > Thanks ! > > 2011/8/8 Olivier Lamy : > > Hi, > > > > We solved 6 issues: > > https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleName=Text&projectId=11127&Create=Create > > > > Staging repo: > > https://repository.apache.org/content/repositories/maven-005/ > > > > Staging site: > > http://maven.apache.org/plugins/maven-checkstyle-plugin-2.7/ > (wait sync) > > > > Guide to testing staged releases: > > http://maven.apache.org/guides/development/guide-testing-releases.html > > > > Vote open for 72 hours. > > > > [ ] +1 > > [ ] +0 > > [ ] -1 > > > > Thanks > > -- > > Olivier Lamy > > Talend : http://talend.com > > http://twitter.com/olamy | http://linkedin.com/in/olamy > > > > > > -- > Olivier Lamy > Talend : http://talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Checkstyle Plugin version 2.7
+1 Hervé - "Olivier Lamy" a écrit : > Hi, > > We solved 6 issues: > https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleName=Text&projectId=11127&Create=Create > > Staging repo: > https://repository.apache.org/content/repositories/maven-005/ > > Staging site: > http://maven.apache.org/plugins/maven-checkstyle-plugin-2.7/ (wait > sync) > > Guide to testing staged releases: > http://maven.apache.org/guides/development/guide-testing-releases.html > > Vote open for 72 hours. > > [ ] +1 > [ ] +0 > [ ] -1 > > Thanks > -- > Olivier Lamy > Talend : http://talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Checkstyle Plugin version 2.7
+1 K Den 11.08.2011 09:29, skrev Olivier Lamy: ping. Thanks ! 2011/8/10 Olivier Lamy: Here my +1. Thanks ! 2011/8/8 Olivier Lamy: Hi, We solved 6 issues: https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleName=Text&projectId=11127&Create=Create Staging repo: https://repository.apache.org/content/repositories/maven-005/ Staging site: http://maven.apache.org/plugins/maven-checkstyle-plugin-2.7/ (wait sync) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 Thanks -- Olivier Lamy Talend : http://talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy -- Olivier Lamy Talend : http://talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Checkstyle Plugin version 2.7
+1 Emmanuel On Mon, Aug 8, 2011 at 8:40 PM, Olivier Lamy wrote: > Hi, > > We solved 6 issues: > > https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleName=Text&projectId=11127&Create=Create > > Staging repo: > https://repository.apache.org/content/repositories/maven-005/ > > Staging site: > http://maven.apache.org/plugins/maven-checkstyle-plugin-2.7/ (wait sync) > > Guide to testing staged releases: > http://maven.apache.org/guides/development/guide-testing-releases.html > > Vote open for 72 hours. > > [ ] +1 > [ ] +0 > [ ] -1 > > Thanks > -- > Olivier Lamy > Talend : http://talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >
Re: [VOTE] Release Maven Checkstyle Plugin version 2.7
ping. Thanks ! 2011/8/10 Olivier Lamy : > Here my +1. > > Thanks ! > > 2011/8/8 Olivier Lamy : >> Hi, >> >> We solved 6 issues: >> https://jira.codehaus.org/secure/ReleaseNote.jspa?version=16773&styleName=Text&projectId=11127&Create=Create >> >> Staging repo: >> https://repository.apache.org/content/repositories/maven-005/ >> >> Staging site: >> http://maven.apache.org/plugins/maven-checkstyle-plugin-2.7/ (wait sync) >> >> Guide to testing staged releases: >> http://maven.apache.org/guides/development/guide-testing-releases.html >> >> Vote open for 72 hours. >> >> [ ] +1 >> [ ] +0 >> [ ] -1 >> >> Thanks >> -- >> Olivier Lamy >> Talend : http://talend.com >> http://twitter.com/olamy | http://linkedin.com/in/olamy >> > > > > -- > Olivier Lamy > Talend : http://talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > -- Olivier Lamy Talend : http://talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org