Skip to content

Commit 4b07e28

Browse files
author
monkstone
committed
add reference links to processing.api and jruby.api
1 parent 25b9b2b commit 4b07e28

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

pom.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
properties( 'maven.compiler.source' => '1.8',
2727
'project.build.sourceEncoding' => 'UTF-8',
2828
'maven.compiler.target' => '1.8',
29-
'polyglot.dump.pom' => 'pom.xml'
29+
'polyglot.dump.pom' => 'pom.xml',
30+
'processing.api' => "http://processing.github.io/processing-javadocs/core/",
31+
'jruby.api' => "http://jruby.org/apidocs/"
3032
)
3133

3234
pom 'org.jruby:jruby:9.0.4.0'
@@ -39,7 +41,9 @@
3941
'source' => '1.8',
4042
'target' => '1.8' )
4143
plugin( :javadoc, '2.10.3',
42-
'link' => 'http://processing.github.io/processing-javadocs/core' )
44+
'detectOfflineLinks' => 'false',
45+
'links' => ['${processing.api}', '${jruby.api}']
46+
)
4347
plugin( :jar, '2.4',
4448
'archive' => {
4549
'manifestFile' => 'MANIFEST.MF'

pom.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
2+
<!--
33
4-
Auto generated do no edit
4+
Autogenerated do not edit
55
6-
-->
6+
-->
77
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
88
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
99
<modelVersion>4.0.0</modelVersion>
@@ -37,9 +37,11 @@ Auto generated do no edit
3737
<url>https://github.com/ruby-processing/JRubyArt/issues</url>
3838
</issueManagement>
3939
<properties>
40+
<processing.api>http://processing.github.io/processing-javadocs/core/</processing.api>
4041
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
4142
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4243
<maven.compiler.source>1.8</maven.compiler.source>
44+
<jruby.api>http://jruby.org/apidocs/</jruby.api>
4345
<maven.compiler.target>1.8</maven.compiler.target>
4446
</properties>
4547
<dependencies>
@@ -86,7 +88,11 @@ Auto generated do no edit
8688
<artifactId>maven-javadoc-plugin</artifactId>
8789
<version>2.10.3</version>
8890
<configuration>
89-
<link>http://processing.github.io/processing-javadocs/core</link>
91+
<detectOfflineLinks>false</detectOfflineLinks>
92+
<links>
93+
<link>${processing.api}</link>
94+
<link>${jruby.api}</link>
95+
</links>
9096
</configuration>
9197
</plugin>
9298
<plugin>

0 commit comments

Comments
 (0)