Skip to content

Commit 9e5d714

Browse files
committed
Fix javadoc, update pom
1 parent b959dd2 commit 9e5d714

2 files changed

Lines changed: 50 additions & 42 deletions

File tree

pom.xml

Lines changed: 49 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -149,32 +149,6 @@
149149
<testFailureIgnore>true</testFailureIgnore>
150150
</configuration>
151151
</plugin>
152-
<plugin>
153-
<groupId>org.apache.maven.plugins</groupId>
154-
<artifactId>maven-source-plugin</artifactId>
155-
<version>2.2.1</version>
156-
<executions>
157-
<execution>
158-
<id>attach-sources</id>
159-
<goals>
160-
<goal>jar-no-fork</goal>
161-
</goals>
162-
</execution>
163-
</executions>
164-
</plugin>
165-
<plugin>
166-
<groupId>org.apache.maven.plugins</groupId>
167-
<artifactId>maven-javadoc-plugin</artifactId>
168-
<version>2.9.1</version>
169-
<executions>
170-
<execution>
171-
<id>attach-javadocs</id>
172-
<goals>
173-
<goal>jar</goal>
174-
</goals>
175-
</execution>
176-
</executions>
177-
</plugin>
178152
<plugin>
179153
<groupId>org.sonatype.plugins</groupId>
180154
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -186,20 +160,6 @@
186160
<autoReleaseAfterClose>true</autoReleaseAfterClose>
187161
</configuration>
188162
</plugin>
189-
<plugin>
190-
<groupId>org.apache.maven.plugins</groupId>
191-
<artifactId>maven-gpg-plugin</artifactId>
192-
<version>1.5</version>
193-
<executions>
194-
<execution>
195-
<id>sign-artifacts</id>
196-
<phase>verify</phase>
197-
<goals>
198-
<goal>sign</goal>
199-
</goals>
200-
</execution>
201-
</executions>
202-
</plugin>
203163
<plugin>
204164
<groupId>org.sonatype.plugins</groupId>
205165
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -214,5 +174,53 @@
214174
</plugins>
215175
</pluginManagement>
216176
</build>
217-
177+
<profiles>
178+
<profile>
179+
<id>release</id>
180+
<build>
181+
<plugins>
182+
<plugin>
183+
<groupId>org.apache.maven.plugins</groupId>
184+
<artifactId>maven-javadoc-plugin</artifactId>
185+
<version>2.9.1</version>
186+
<executions>
187+
<execution>
188+
<id>attach-javadocs</id>
189+
<goals>
190+
<goal>jar</goal>
191+
</goals>
192+
</execution>
193+
</executions>
194+
</plugin>
195+
<plugin>
196+
<groupId>org.apache.maven.plugins</groupId>
197+
<artifactId>maven-source-plugin</artifactId>
198+
<version>2.2.1</version>
199+
<executions>
200+
<execution>
201+
<id>attach-sources</id>
202+
<goals>
203+
<goal>jar-no-fork</goal>
204+
</goals>
205+
</execution>
206+
</executions>
207+
</plugin>
208+
<plugin>
209+
<groupId>org.apache.maven.plugins</groupId>
210+
<artifactId>maven-gpg-plugin</artifactId>
211+
<version>1.5</version>
212+
<executions>
213+
<execution>
214+
<id>sign-artifacts</id>
215+
<phase>verify</phase>
216+
<goals>
217+
<goal>sign</goal>
218+
</goals>
219+
</execution>
220+
</executions>
221+
</plugin>
222+
</plugins>
223+
</build>
224+
</profile>
225+
</profiles>
218226
</project>

src/main/java/org/async/utils/cache/ExceptionStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public interface ExceptionStrategy<K> {
1010
*
1111
* @param key the key of the value that throws an exception
1212
* @param throwable the exception that was thrown
13-
* @return true iff this <key, throwable> pair should not be cached.
13+
* @return true iff this &lt;key, throwable&gt; pair should not be cached.
1414
*/
1515
<T extends Throwable> boolean removeEntry(K key, T throwable);
1616
}

0 commit comments

Comments
 (0)