Skip to content

Commit

Permalink
fix javadoc error and move javadoc plugin config out of release profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
areyouok committed Jun 8, 2017
1 parent eaeacad commit ac3d493
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion jetcache-core/src/main/java/com/alicp/jetcache/Cache.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ default void close() {
* <p>{@link MultiLevelCache} will use the last level cache to support this operation.</p>
* examples:
* <pre>
* cache.tryLock("MyKey",100, TimeUnit.SECONDS),() -> {
* cache.tryLock("MyKey",100, TimeUnit.SECONDS),() -&gt; {
* //do something
* });
* </pre>
Expand Down
42 changes: 21 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@
<check />
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<show>public</show>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<links>
<link>http://docs.oracle.com/javase/8/docs/api</link>
</links>
</configuration>
</plugin>
</plugins>
</build>
<modules>
Expand Down Expand Up @@ -215,27 +236,6 @@
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<show>public</show>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<links>
<link>http://docs.oracle.com/javase/8/docs/api</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down

0 comments on commit ac3d493

Please sign in to comment.