Issue 121 in maven-alfresco-archetypes: Enfocer should make sure users are using maven 3.0.x

1 view
Skip to first unread message

maven-alfres...@googlecode.com

unread,
May 9, 2013, 11:25:31 AM5/9/13
to maven-a...@googlegroups.com
Status: New
Owner: bwav...@ziaconsulting.com
Labels: Type-Enhancement Priority-Medium

New issue 121 by bwav...@ziaconsulting.com: Enfocer should make sure users
are using maven 3.0.x
http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=121

I'm not certain what the actual requirement is, but I'm certain maven 2
does not work. In my environment I've added an enforcer rule to make sure
folks have at least maven 3.0.4... I've seen comments that this all should
work with 3.0.3 but those docs also say they are out of date.

If folks would like me to add this, I'm happy to, if so, what version
should we enforce?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

maven-alfres...@googlecode.com

unread,
May 31, 2013, 12:28:04 PM5/31/13
to maven-a...@googlegroups.com

Comment #1 on issue 121 by samuel.l...@alfresco.com: Enfocer should make
It's a good idea.
3.0.4 is a good choice. We had problems with all previous ones, especially
related to artifact downloads.

Is it better to use the enforcer plugin or <prerequisite> in the POM?
http://maven.apache.org/ref/3.0.4/maven-model/maven.html#class_prerequisites
I always get confused, and this FAQ never helped...
http://maven.apache.org/enforcer/maven-enforcer-plugin/faq.html

maven-alfres...@googlecode.com

unread,
May 31, 2013, 4:39:48 PM5/31/13
to maven-a...@googlegroups.com

Comment #2 on issue 121 by bwav...@ziaconsulting.com: Enfocer should make
I don't know which technique is best. Just think it's worth doing. FWIW, we
have tested with 3.0.3 and it has been working for us.

My guess is that prerequisites is a better way to go as it will die sooner.

maven-alfres...@googlecode.com

unread,
Jun 21, 2013, 7:13:01 AM6/21/13
to maven-a...@googlegroups.com
Updates:
Status: Accepted
Labels: Milestone-Release-sdk-1.1.0

Comment #3 on issue 121 by colum...@gmail.com: Enfocer should make sure
Scheduling this for 1.1.0.

Sam, WDYT about this one?

maven-alfres...@googlecode.com

unread,
Jun 21, 2013, 7:56:24 AM6/21/13
to maven-a...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 121 by samuel.l...@alfresco.com: Enfocer should make
I just added a <prerequisite> requesting Maven 3.0.3 in the
alfresco-sdk-parent.
This should do it...

maven-alfres...@googlecode.com

unread,
Jun 21, 2013, 1:13:01 PM6/21/13
to maven-a...@googlegroups.com
Updates:
Labels: -Milestone-Release-sdk-1.1.0 Milestone-Release-sdk-1.0.2

Comment #5 on issue 121 by samuel.l...@alfresco.com: Enfocer should make
(No comment was entered for this change.)

maven-alfres...@googlecode.com

unread,
Jul 2, 2013, 11:10:12 AM7/2/13
to maven-a...@googlegroups.com
Updates:
Status: Verified

Comment #6 on issue 121 by colum...@gmail.com: Enfocer should make sure
Verified the pre-requisite.
Reply all
Reply to author
Forward
0 new messages