Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.

Commit e8c6fa9

Browse files
authored
Merge pull request #8 from ggam/scm-publish
Publish JavaDoc to GitHub Pages
2 parents 93ed422 + 54cbe82 commit e8c6fa9

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
Java EE Security (JSR 375) API
44

5-
This code represents the JSR-375 API.
5+
This code represents the JSR-375 API.
6+
7+
[Online JavaDoc](https://javaee-security-spec.github.io/security-api/).
68

79
Building
810
--------

pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</configuration>
103103
</plugin>
104104
<!-- Configure the jar with the sources (or rather, convince Maven that
105-
we want sources at all) -->
105+
we want sources at all) -->
106106
<plugin>
107107
<groupId>org.apache.maven.plugins</groupId>
108108
<artifactId>maven-source-plugin</artifactId>
@@ -117,7 +117,7 @@
117117
</executions>
118118
</plugin>
119119
<!-- Configure the jar with the javadoc (or rather, convince Maven that
120-
we want javadoc at all) -->
120+
we want javadoc at all) -->
121121
<plugin>
122122
<groupId>org.apache.maven.plugins</groupId>
123123
<artifactId>maven-javadoc-plugin</artifactId>
@@ -223,6 +223,18 @@
223223
</lifecycleMappingMetadata>
224224
</configuration>
225225
</plugin>
226+
<plugin>
227+
<groupId>org.apache.maven.plugins</groupId>
228+
<artifactId>maven-scm-publish-plugin</artifactId>
229+
<version>1.1</version>
230+
<configuration>
231+
<checkoutDirectory>${project.build.directory}/javadoc-scm</checkoutDirectory>
232+
<checkinComment>Publishing Javadoc for ${project.artifactId}:${project.version}</checkinComment>
233+
<content>${project.reporting.outputDirectory}/apidocs</content>
234+
<pubScmUrl>scm:git:[email protected]:javaee-security-spec/security-api.git</pubScmUrl>
235+
<scmBranch>gh-pages</scmBranch>
236+
</configuration>
237+
</plugin>
226238
</plugins>
227239
<pluginManagement>
228240
<plugins>

0 commit comments

Comments
 (0)