1 Debian patch touch this file
-
Fix ivy dependencies.
- Author
- Bas Couwenberg <[email protected]>
- Bug
- https://josm.openstreetmap.de/ticket/24839
- Forwarded
- not-needed
| •1 | package aQute.bnd.annotation.headers; |
| 2 | |
| 3 | import java.lang.annotation.ElementType; |
| 4 | import java.lang.annotation.Retention; |
| 5 | import java.lang.annotation.RetentionPolicy; |
| 6 | import java.lang.annotation.Target; |
| 7 | |
| 8 | /** |
| 9 | * Maven defines developers in the POM. This annotation will generate a (not |
| 10 | * standardized by OSGi) Bundle-Developers header. |
| 11 | * <p> |
| 12 | * This annotation can be used directly on a type or it can 'color' an |
| 13 | * annotation. This coloring allows custom annotations that define a specific |
| 14 | * developer. For example: |
| 15 | * |
| 16 | * <pre> |
| 17 | * @BundleContributor("[email protected]") @interface pkriens |
| 18 | * {} @pkriens public class MyFoo { ... } |
| 19 | * </pre> |
| 20 | * |
| 21 | * Duplicates are removed before the header is generated and the coloring does |
| 22 | * not create an entry in the header, only an annotation on an actual type is |
| 23 | * counted. This makes it possible to make a library of developers without then |
| 24 | * adding them all to the header. |
| 25 | * <p> |
| 26 | * See <a href="https://maven.apache.org/pom.html#Developers">the Maven |
| 27 | * documentation</a> for more information. |
| 28 | */ |
| 29 | @Retention(RetentionPolicy.CLASS) |
| 30 | @Target({ |
| 31 | ElementType.ANNOTATION_TYPE, ElementType.TYPE |
| 32 | }) |
| 33 | public @interface BundleDevelopers { |
| 34 | |
| 35 | /** |
| 36 | * The email address of the developer. |
| 37 | */ |
| 38 | String value(); |
| 39 | |
| 40 | /** |
| 41 | * The display name of the developer. If not specified, the {@link #value()} |
| 42 | * is used. |
| 43 | */ |
| 44 | String name() default ""; |
| 45 | |
| 46 | /** |
| 47 | * The roles this developer plays in the development. |
| 48 | */ |
| 49 | String[] roles() default {}; |
| 50 | |
| 51 | /** |
| 52 | * The name of the organization where the developer works for. |
| 53 | */ |
| 54 | String organization() default ""; |
| 55 | |
| 56 | /** |
| 57 | * The url of the organization where the developer works for. |
| 58 | */ |
| 59 | String organizationUrl() default ""; |
| 60 | |
| 61 | /** |
| 62 | * Time offset in hours from UTC without Daylight savings |
| 63 | */ |
| 64 | int timezone() default 0; |
| 65 | } |