You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Benedikt Ritter <br...@apache.org> on 2014/09/09 21:25:44 UTC

Re: svn commit: r1610106 - /commons/proper/commons-parent/trunk/pom.xml

you mean like <commons.javadoc.java.link>
http://docs.oracle.com/javase/${maven.compiler.source}/docs/api/</commons.javadoc.java.link>
?

2014-08-30 19:22 GMT+02:00 sebb <se...@gmail.com>:

> On 13 July 2014 03:36,  <gg...@apache.org> wrote:
> > Author: ggregory
> > Date: Sun Jul 13 02:36:20 2014
> > New Revision: 1610106
> >
> > URL: http://svn.apache.org/r1610106
> > Log:
> > Make the default Javadoc link version 1.7 (Java 6 is EOL).
> >
> > Modified:
> >     commons/proper/commons-parent/trunk/pom.xml
> >
> > Modified: commons/proper/commons-parent/trunk/pom.xml
> > URL:
> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1610106&r1=1610105&r2=1610106&view=diff
> >
> ==============================================================================
> > --- commons/proper/commons-parent/trunk/pom.xml (original)
> > +++ commons/proper/commons-parent/trunk/pom.xml Sun Jul 13 02:36:20 2014
> > @@ -1377,8 +1377,8 @@ Version 35:
> >
> <project.build.sourceEncoding>${commons.encoding}</project.build.sourceEncoding>
> >
> <project.reporting.outputEncoding>${commons.encoding}</project.reporting.outputEncoding>
> >
> > -    <!-- Javadoc link to Java API.  Default is Java 1.6; components can
> override to other versions -->
> > -    <commons.javadoc.java.link>
> http://docs.oracle.com/javase/6/docs/api/</commons.javadoc.java.link>
> > +    <!-- Javadoc link to Java API.  Default is Java 1.7; components can
> override to other versions -->
> > +    <commons.javadoc.java.link>
> http://docs.oracle.com/javase/7/docs/api/</commons.javadoc.java.link>
>
> Why not make it depend on maven.compiler.source (or target) ?
>
> It looks like Oracle provides redirects for the following URLs:
>
> http://docs.oracle.com/javase/1.5/docs/api/
> http://docs.oracle.com/javase/1.6/docs/api/
> http://docs.oracle.com/javase/1.7/docs/api/
>
> Unfortunately it does not (yet) work for:
>
> http://docs.oracle.com/javase/1.8/docs/api/
>
> >      <commons.javadoc.javaee.link>http://docs.oracle.com/javaee/6/api/
> </commons.javadoc.javaee.link>
> >
> >      <!-- build meta inf -->
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Re: svn commit: r1610106 - /commons/proper/commons-parent/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 9 September 2014 20:25, Benedikt Ritter <br...@apache.org> wrote:
> you mean like <commons.javadoc.java.link>
> http://docs.oracle.com/javase/${maven.compiler.source}/docs/api/</commons.javadoc.java.link>
> ?

Yes.

Though it might be better to use an intermediate property as follows:

<commons.javadoc.link.version>${maven.compiler.source}<commons.javadoc.link.version>

<commons.javadoc.java.link>
http://docs.oracle.com/javase/${commons.javadoc.link.version}/docs/api/</commons.javadoc.java.
link>

The Javadocs for 1.8 are at

http://docs.oracle.com/javase/8/docs/api/

So to fix the 1.8 link would just require
-Dcommons.javadoc.java.link=8 or equivalent.







> 2014-08-30 19:22 GMT+02:00 sebb <se...@gmail.com>:
>
>> On 13 July 2014 03:36,  <gg...@apache.org> wrote:
>> > Author: ggregory
>> > Date: Sun Jul 13 02:36:20 2014
>> > New Revision: 1610106
>> >
>> > URL: http://svn.apache.org/r1610106
>> > Log:
>> > Make the default Javadoc link version 1.7 (Java 6 is EOL).
>> >
>> > Modified:
>> >     commons/proper/commons-parent/trunk/pom.xml
>> >
>> > Modified: commons/proper/commons-parent/trunk/pom.xml
>> > URL:
>> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1610106&r1=1610105&r2=1610106&view=diff
>> >
>> ==============================================================================
>> > --- commons/proper/commons-parent/trunk/pom.xml (original)
>> > +++ commons/proper/commons-parent/trunk/pom.xml Sun Jul 13 02:36:20 2014
>> > @@ -1377,8 +1377,8 @@ Version 35:
>> >
>> <project.build.sourceEncoding>${commons.encoding}</project.build.sourceEncoding>
>> >
>> <project.reporting.outputEncoding>${commons.encoding}</project.reporting.outputEncoding>
>> >
>> > -    <!-- Javadoc link to Java API.  Default is Java 1.6; components can
>> override to other versions -->
>> > -    <commons.javadoc.java.link>
>> http://docs.oracle.com/javase/6/docs/api/</commons.javadoc.java.link>
>> > +    <!-- Javadoc link to Java API.  Default is Java 1.7; components can
>> override to other versions -->
>> > +    <commons.javadoc.java.link>
>> http://docs.oracle.com/javase/7/docs/api/</commons.javadoc.java.link>
>>
>> Why not make it depend on maven.compiler.source (or target) ?
>>
>> It looks like Oracle provides redirects for the following URLs:
>>
>> http://docs.oracle.com/javase/1.5/docs/api/
>> http://docs.oracle.com/javase/1.6/docs/api/
>> http://docs.oracle.com/javase/1.7/docs/api/
>>
>> Unfortunately it does not (yet) work for:
>>
>> http://docs.oracle.com/javase/1.8/docs/api/
>>
>> >      <commons.javadoc.javaee.link>http://docs.oracle.com/javaee/6/api/
>> </commons.javadoc.javaee.link>
>> >
>> >      <!-- build meta inf -->
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org