You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2014/01/28 22:29:02 UTC

svn commit: r1562240 - in /cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom: Hold.java package-info.java

Author: dkulp
Date: Tue Jan 28 21:29:01 2014
New Revision: 1562240

URL: http://svn.apache.org/r1562240
Log:
Merged revisions 1562237 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1562237 | dkulp | 2014-01-28 16:24:35 -0500 (Tue, 28 Jan 2014) | 2 lines

  Add a retained annotation to make sure package-info.class is created to avoid re-compiles

........

Added:
    cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java
      - copied, changed from r1562117, cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java
Modified:
    cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java

Copied: cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java (from r1562117, cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java)
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java?p2=cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java&p1=cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java&r1=1562117&r2=1562240&rev=1562240&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java (original)
+++ cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/Hold.java Tue Jan 28 21:29:01 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/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java?rev=1562240&r1=1562239&r2=1562240&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java (original)
+++ cxf/branches/2.7.x-fixes/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/package-info.java Tue Jan 28 21:29:01 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;