[
https://issues.apache.org/jira/browse/YETUS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399343#comment-15399343
]
Kengo Seki commented on YETUS-406:
----------------------------------
LGTM. I wrote the following code and it's successfully built.
{code:title=pom.xml}
<repositories>
<repository>
<id>yetus</id>
<url>https://repository.apache.org/content/repositories/orgapacheyetus-1000/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.apache.yetus</groupId>
<artifactId>audience-annotations</artifactId>
<version>0.3.0</version>
</dependency>
</dependencies>
{code}
{code:title=A.java}
import org.apache.yetus.audience.InterfaceAudience.LimitedPrivate;
import org.apache.yetus.audience.InterfaceAudience.Public;
import org.apache.yetus.audience.InterfaceStability.Evolving;
import org.apache.yetus.audience.InterfaceStability.Stable;
public class A {
@Public
@Stable
public void publicStable() { }
@Evolving
@LimitedPrivate({"Foo", "Bar"})
public void evolvingLimitedPrivate() { }
}
{code}
I'm afraid perhaps it's not sufficient enough since I've never published jar
via maven repository. Let me know if further checks are needed.
> Publish Yetus Audience Annotations to Maven Central/JCenter
> -----------------------------------------------------------
>
> Key: YETUS-406
> URL: https://issues.apache.org/jira/browse/YETUS-406
> Project: Yetus
> Issue Type: Improvement
> Components: Audience Annotations, website and documentation
> Reporter: Michael Kobit
> Assignee: Sean Busbey
> Priority: Minor
>
> I don't see the Audience annotations available on any public binary
> repository.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)