cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1562237 - in /cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom: Hold.java package-info.java
Date Tue, 28 Jan 2014 21:24:35 GMT
Author: dkulp
Date: Tue Jan 28 21:24:35 2014
New Revision: 1562237

URL: http://svn.apache.org/r1562237
Log:
Add a retained annotation to make sure package-info.class is created to avoid re-compiles

Added:
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java
      - copied, changed from r1562119, cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java
Modified:
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java

Copied: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java
(from r1562119, cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java?p2=cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java&p1=cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java&r1=1562119&r2=1562237&rev=1562237&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java
Tue Jan 28 21:24:35 2014
@@ -17,11 +17,19 @@
  * under the License.
  */
 
-/**
- * Support for producing logs in
- * <a href="http://tools.ietf.org/html/rfc4287">ATOM Syndication Format</a>.
- * Allows to configure <tt>java.util.logging</tt> (JUL) loggers to use
- * handlers producing ATOM feeds that are either pushed to or pulled by client.  
- */
 package org.apache.cxf.management.web.logging.atom;
 
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/*
+ * Marker annotation to force the package-info.java to be compiled by javac 
+ * to avoid problems with the maven compiler plugin always compiling everything
+ */
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ ElementType.PACKAGE })
+@interface Hold {
+
+}

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java?rev=1562237&r1=1562236&r2=1562237&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java
Tue Jan 28 21:24:35 2014
@@ -23,5 +23,6 @@
  * Allows to configure <tt>java.util.logging</tt> (JUL) loggers to use
  * handlers producing ATOM feeds that are either pushed to or pulled by client.  
  */
+@Hold
 package org.apache.cxf.management.web.logging.atom;
 



Mime
View raw message