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 | /******************************************************************************* |
| 2 | * Copyright (c) Contributors to the Eclipse Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | * |
| 16 | * SPDX-License-Identifier: Apache-2.0 |
| 17 | *******************************************************************************/ |
| 18 | |
| 19 | package org.osgi.annotation.versioning; |
| 20 | |
| 21 | import java.lang.annotation.Documented; |
| 22 | import java.lang.annotation.ElementType; |
| 23 | import java.lang.annotation.Retention; |
| 24 | import java.lang.annotation.RetentionPolicy; |
| 25 | import java.lang.annotation.Target; |
| 26 | |
| 27 | /** |
| 28 | * Specify the version of a package. |
| 29 | * <p> |
| 30 | * This annotation is not retained at runtime. It is for use by tools to |
| 31 | * generate bundle manifests or otherwise process the version of a package. |
| 32 | * |
| 33 | * @see <a href= "https://docs.osgi.org/whitepaper/semantic-versioning/" > |
| 34 | * Semantic Versioning</a> |
| 35 | * @author $Id: 6e4361486f9f41adbfadba45e4f07f83ea81864e $ |
| 36 | */ |
| 37 | @Documented |
| 38 | @Retention(RetentionPolicy.CLASS) |
| 39 | @Target(ElementType.PACKAGE) |
| 40 | public @interface Version { |
| 41 | /** |
| 42 | * The version of the annotated package. |
| 43 | * |
| 44 | * <p> |
| 45 | * The version must be a valid OSGi version string. |
| 46 | */ |
| 47 | String value(); |
| 48 | } |