Skip to content
Permalink
Browse files
Add a retained annotation to make sure package-info.class is created …
…to avoid re-compiles

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1562237 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Jan 28, 2014
1 parent f1f64bf commit 7408a9319936861d7d8bf35a0a9e8e3f534a4834
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
@@ -0,0 +1,35 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

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 {

}
@@ -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;

0 comments on commit 7408a93

Please sign in to comment.