Negative.

I have already run into several problems with past m2 projects using the RELEASE version of plugins... most notibly, then surefire plugin, when it decided to change the format of systemProperties which one day just completely hosed all builds.

We want to use known versions of these plugins...

And if you need to use something different then, put in a specific version in your pom... and preferably add some comment to justify why it needs to be different.

If the version is a newer released version and is compatible with older versions and/or someone is going to update all poms that use ihat plugin to be compatible, then project-config should be updated and that version of the plugin should be made the default.

I do not believe that we want to make use of the RELEASE functionality that comes in m2 as it is more likely to cause problems in the future. IMO is not worth the added overhead of debugging problems in months to come when things just start breaking. I much prefer the minor upkeep costs to manage versions explicitly in a central pom.

--jason


On Jul 12, 2006, at 4:50 AM, Prasad Kashyap wrote:

Ah. So it's in genesis.

Can't we just leave the version info alone. It will always work off of
the latest available version in all listed repos, local included.

Cheers
Prasad

On 7/12/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
maven-assembly-plugin v2.1 is the default that is specified in
genesis/config/project-config/pom.xml

If you want to use something else, then you need to explicitly define
the plugin's version in the pom you use it from.

--jason


On Jul 11, 2006, at 9:56 PM, Prasad Kashyap wrote:

> Earlier, my jetty assembly build always used the 2.2-SNAPSHOT of the > maven-assembly-plugin that I had freshly built. Now in the m2migration
> branch,  it always downloads and uses the 2.1 v of the
> maven-assembly-plugin. It's 1 am EST and I am too tired to go looking > for what's changed in the pluginRepositories to cause this. If u know
> offhand, please send me a mail. I'll have the jetty assembly patch
> ready the first thing in the morning.
>
> It's not letting me build in the offline mode either.
> ------
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-assembly-plugin
> Version: 2.1
>
> Reason: System is offline.
>
>  org.apache.maven.plugins:maven-assembly-plugin:pom:2.1
>
> NOTE: Maven is executing in offline mode. Any artifacts not already in
> your loca repository will be inaccessible.
> -------
>
> Cheers
> Prasad
>
> On 7/12/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> done.
>>
>> --jason
>>
>>
>> On Jul 11, 2006, at 8:57 PM, Prasad Kashyap wrote:
>>
>> > I began using the m2migration branch. The configs build stalled
>> while
>> > building the jsp-examples-* configs on Windoze due to the now
>> familiar
>> > long path problem.
>> >
>> > C:\Apache\geronimo\sandbox\m2migration\configs\jsp-examples- jetty >> > \target\repository\org\apache\geronimo\configs\jsp-examples- jetty >> > \1.2-SNAPSHOT\jsp-examples-jetty-1.2-SNAPSHOT.car\WEB-INF \classes
>> > \org\apache\jsp\jsp2\tagfiles
>> > unable to be deleted.
>> >
>> > There are 2 example artifacts, jsp-examples and servlets-
>> examples that
>> > come from a separate geronimo-samples groupId. They should be
>> built by
>> > jar'ring their classes into web-inf/lib too. The maven-war-
>> plugin in
>> > their build should use the <archiveClasses>true</archiveClasses>
>> > config option.
>> >
>> > Meanwhile, we should comment out the build of the configs for those
>> > examples. They are not in our assemblies anyways.
>> >
>> > So here's the patch. Please apply it to the m2migration branch
>> >
>> > Cheers
>> > Prasad
>> >
>> >
>> > On 7/11/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> >> Thanks, it will make it easier for us all to keep in sync and to
>> >> rapidly accept patches if we use this code-line.
>> >>
>> >> And then... RTC with a functional build and be done with it.
>> >>
>> >> --jason
>> >>
>> >>
>> >> On Jul 11, 2006, at 2:01 PM, Prasad Kashyap wrote:
>> >>
>> >> > Ah.. makes sense. Will work with the m2migration branch then
>> >> >
>> >> >
>> >> > Cheers
>> >> > Prasad
>> >> >
>> >> > On 7/11/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> >> >> I can do it... was going to, but only when the current
>> m2migration
>> >> >> code is merged over.  I don't really want to merge bit by
>> >> bit... way
>> >> >> to much work.
>> >> >>
>> >> >> --jason
>> >> >>
>> >> >>
>> >> >> On Jul 11, 2006, at 1:40 PM, Prasad Kashyap wrote:
>> >> >>
>> >> >> > Shucks..  I gotta get used to this m2migration branch.
>> >> >> >
>> >> >> > Thanx Jason. BTW, since this is a bug fix, this can go into
>> >> >> trunk too,
>> >> >> > rt ? No RTC needed.
>> >> >> >
>> >> >> > Are you going to put it there ? Or will it be Jacek who
>> has to
>> >> >> do the
>> >> >> > code synch now ? :-)
>> >> >> >
>> >> >> > Cheers
>> >> >> > Prasad.
>> >> >> >
>> >> >> > On 7/11/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> >> >> >>  From your local workspace path, it looks like you are
>> building
>> >> >> from
>> >> >> >> trunk, which I have not touched.
>> >> >> >>
>> >> >> >> Also this line is telling:
>> >> >> >>
>> >> >> >>      [INFO] [antrun:run {execution: default}]
>> >> >> >>
>> >> >> >> I changed the id of the antrun execution to setup-db, so it
>> >> >> appears
>> >> >> >> you are not using the code-line that I fixed ;-)
>> >> >> >>
>> >> >> >> Please use this SVN URL:
>> >> >> >>
>> >> >> >>      https://svn.apache.org/repos/asf/geronimo/sandbox/
>> >> svkmerge/
>> >> >> >> m2migration/
>> >> >> >>
>> >> >> >> --jason
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> On Jul 11, 2006, at 12:31 PM, Prasad Kashyap wrote:
>> >> >> >>
>> >> >> >> > There u go..
>> >> >> >> >
>> >> >> >> > Cheers
>> >> >> >> > Prasad
>> >> >> >> >
>> >> >> >> > On 7/11/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> >> >> >> >> Can you send the output of the build plz.
>> >> >> >> >>
>> >> >> >> >> --jason
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> On Jul 11, 2006, at 7:15 AM, Prasad Kashyap wrote:
>> >> >> >> >>
>> >> >> >> >> > Nope. No such luck. I deleted the entire applications
>> >> dir. I
>> >> >> >> also
>> >> >> >> >> > deleted the o.a.g.applications group from the local
>> repo.
>> >> >> I then
>> >> >> >> >> did
>> >> >> >> >> > an 'svn update' from top level geronimo dir. I
>> rebuilt the
>> >> >> >> >> bootstrap
>> >> >> >> >> > stage and then the assembly stage. Same problem.
>> >> >> >> >> >
>> >> >> >> >> > Cheers
>> >> >> >> >> > Prasad
>> >> >> >> >> >
>> >> >> >> >> > On 7/10/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> >> >> >> >> >> The uddi-db module should be buildable now since
>> #420661
>> >> >> >> >> >>
>> >> >> >> >> >> Give it a whirl and let me know if you run into
>> anything
>> >> >> else.
>> >> >> >> >> >>
>> >> >> >> >> >> --jason
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >> On Jul 10, 2006, at 4:28 PM, Jason Dillon wrote:
>> >> >> >> >> >>
>> >> >> >> >> >> > It appears that the uddi-db module should *NOT* have
>> >> any
>> >> >> >> webapp
>> >> >> >> >> >> > stuff, but only the derby database files.
>> >> >> >> >> >> >
>> >> >> >> >> >> > So, unless someone can shed some light onto why
>> the db
>> >> >> module
>> >> >> >> >> has
>> >> >> >> >> >> > webapp files in it, I'm going to remove them.
>> >> >> >> >> >> >
>> >> >> >> >> >> > --jason
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > On Jul 10, 2006, at 4:15 PM, Jason Dillon wrote:
>> >> >> >> >> >> >
>> >> >> >> >> >> >> Why are the uddi-* webapp files duplicated in the -
>> >> server
>> >> >> >> >> and -db
>> >> >> >> >> >> >> modules?
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> <snip>
>> >> >> >> >> >> >> uddi-db/src
>> >> >> >> >> >> >> uddi-db/src/sql
>> >> >> >> >> >> >> uddi-db/src/sql/juddi.sql
>> >> >> >> >> >> >> uddi-db/src/webapp
>> >> >> >> >> >> >> uddi-db/src/webapp/happyjuddi.jsp
>> >> >> >> >> >> >> uddi-db/src/webapp/WEB-INF
>> >> >> >> >> >> >> uddi-db/src/webapp/WEB-INF/juddi.properties
>> >> >> >> >> >> >> uddi-db/src/webapp/WEB-INF/web.xml
>> >> >> >> >> >> >> uddi-server/src
>> >> >> >> >> >> >> uddi-server/src/webapp
>> >> >> >> >> >> >> uddi-server/src/webapp/happyjuddi.jsp
>> >> >> >> >> >> >> uddi-server/src/webapp/WEB-INF
>> >> >> >> >> >> >> uddi-server/src/webapp/WEB-INF/juddi.properties
>> >> >> >> >> >> >> uddi-server/src/webapp/WEB-INF/web.xml
>> >> >> >> >> >> >> </snip>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> --jason
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> On Jul 10, 2006, at 5:12 AM, Prasad Kashyap wrote:
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>> Seeing this error on Windows XP only. Unable to
>> >> recreate
>> >> >> >> it on
>> >> >> >> >> >> >>> Linux.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> I am trying to build the trunk using m2. I began
>> >> with a
>> >> >> >> clean
>> >> >> >> >> >> >>> repo and
>> >> >> >> >> >> >>> did a fresh checkout.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> I executed build.bat and it ran the bootstrap
>> stage.
>> >> >> Then I
>> >> >> >> >> >> executed
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> build.bat -Dstage=assembly - Dmaven.test.skip=true.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> It failed while trying to build applications/
>> uddi-db
>> >> >> >> with the
>> >> >> >> >> >> >>> following error
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> ---------------
>> >> >> >> >> >> >>> [INFO] [antrun:run {execution: default}]
>> >> >> >> >> >> >>> [INFO] Executing tasks
>> >> >> >> >> >> >>>   [delete] Deleting directory
>> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications\uddi-db
>> \target
>> >> >> >> \resources
>> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby
>> >> >> >> >> >> >>>    [mkdir] Created dir:
>> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications\uddi-db
>> \target
>> >> >> >> \resources
>> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby
>> >> >> >> >> >> >>>      [sql] Executing file:
>> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications\uddi-db
>> \src\sql
>> >> >> >> >> \juddi.sql
>> >> >> >> >> >> >>>      [sql] 87 of 87 SQL statements executed
>> >> successfully
>> >> >> >> >> >> >>> [INFO] Executed tasks
>> >> >> >> >> >> >>> [INFO] [resources:resources]
>> >> >> >> >> >> >>> [INFO] Using default encoding to copy filtered
>> >> >> resources.
>> >> >> >> >> >> >>> [INFO] [compiler:compile]
>> >> >> >> >> >> >>> [INFO] No sources to compile
>> >> >> >> >> >> >>> [INFO] [jspc:compile {execution: jspc}]
>> >> >> >> >> >> >>> [INFO] Built File: \happyjuddi.jsp
>> >> >> >> >> >> >>> [INFO] [antrun:run {execution: default}]
>> >> >> >> >> >> >>> [INFO] Executing tasks
>> >> >> >> >> >> >>>   [delete] Deleting directory
>> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications\uddi-db
>> \taget
>> >> >> >> \resources
>> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby
>> >> >> >> >> >> >>> [INFO]
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> --------------------------------------------------------------------
>> >> >> >> >> >> >>> ----
>> >> >> >> >> >> >>> [ERROR] BUILD ERROR
>> >> >> >> >> >> >>> [INFO]
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> --------------------------------------------------------------------
>> >> >> >> >> >> >>> ----
>> >> >> >> >> >> >>> [INFO] Error executing ant tasks
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Embedded error: Unable to delete file
>> >> >> >> >> >> >>> C:\Apache\geronimo\trunk\applications\uddi-db
>> \target
>> >> >> >> \resources
>> >> >> >> >> >> >>> \META-INF\geronimo-uddi-db\var\derby \UddiDatabase
>> >> \db.lck
>> >> >> >> >> >> >>> [INFO]
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> --------------------------------------------------------------------
>> >> >> >> >> >> >>> ----
>> >> >> >> >> >> >>> [INFO] For more information, run Maven with the -e
>> >> >> switch
>> >> >> >> >> >> >>> [INFO]
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> --------------------------------------------------------------------
>> >> >> >> >> >> >>> ----
>> >> >> >> >> >> >>> [INFO] Total time: 1 minute 36 seconds
>> >> >> >> >> >> >>> [INFO] Finished at: Mon Jul 10 07:47:20 EDT 2006
>> >> >> >> >> >> >>> [INFO] Final Memory: 28M/51M
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> ---------------------------------
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> It is trying to execute the antrun plugin in the
>> >> >> >> >> >> >>> applications/uddi-db/pom.xml a second time when
>> the
>> >> >> error
>> >> >> >> >> occurs.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Cheers
>> >> >> >> >> >> >>> Prasad
>> >> >> >> >> >> >>
>> >> >> >> >> >> >
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> <mvn.log>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >> <comment-examples-configs.patch>
>>
>>



Reply via email to