You can use the enforcer plugin to enforce stuff (and optionally have it
active in a profile to only run when you want/during preparing a release):
http://maven.apache.org/enforcer/maven-enforcer-plugin/

Animal sniffer could be something to look into as an alternative if you in
fact want to build on another JDK, but check API signatures:
http://mojo.codehaus.org/animal-sniffer-maven-plugin/


2013/4/10 Claus Ibsen <claus.ib...@gmail.com>

> Hi
>
> Yeah this early in the VOTE it could IMHO be a good idea to redo the
> release with JDK6.
> There is a few minor commits on trunk, you can pickup as well.
>
> Is there some way in Maven release plugin or similar to have a way for
> it to fail if not using a specific JDK. Then we could have this
> validated for future. As I assume this can happen again.
>
> Adding a note to the release guide may also help about checking that
> the right JDK version is used.
>
>
>
>
> On Wed, Apr 10, 2013 at 8:58 AM, Christian Müller
> <christian.muel...@gmail.com> wrote:
> > Today morning I realized I build the Camel 2.11.0 release with Java 7.
> > Because we didn't drop the support for Java 6 with 2.11.0, I consider to
> > cancel this vote again and build a new release today evening.
> >
> > Comments?
> >
> > Regards,
> > Christian
> >
> >
> > On Tue, Apr 9, 2013 at 7:48 PM, Christian Müller <
> > christian.muel...@gmail.com> wrote:
> >
> >> After 9 month of development, we have a new minor release candidate
> >> apache-camel-2.11.0 ready.
> >> It comes with 656 issues resolved: new features, improvements and bug
> >> fixes [1]. You can find the release notes here [2].
> >>
> >> Please find the staging repo here:
> >> https://repository.apache.org/content/repositories/orgapachecamel-082/
> >>
> >> The tarballs are here
> >>
> >>
> https://repository.apache.org/content/repositories/orgapachecamel-082/org/apache/camel/apache-camel/2.11.0/
> >>
> >> Tag:
> >> http://svn.apache.org/repos/asf/camel/tags/camel-2.11.0/
> >>
> >> Please review, help out with testing and vote to approve this release
> >> binary. Please mention what you tested to prevent duplicate work. Your
> vote
> >> counts!
> >>
> >> [ ] +1 Release the binary as Apache Camel 2.11.0
> >> [ ] -1 Veto the release (provide specific comments)
> >> Vote is open for at least 72 hours.
> >>
> >> Thanks in advance,
> >> Christian
> >>
> >> [1]
> >>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20CAMEL%20AND%20fixVersion%20%3D%20%222.11.0%22
> >> [2]
> >>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12321695
> >>
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cib...@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to