tycho-ds:declarative-services
Full name:
org.eclipse.tycho:tycho-ds-plugin:3.0.5:declarative-services
Description:
This mojo could be added to a build if validation of the classpath is desired before the compile-phase.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
compile
. - The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
process-classes
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<classpath> |
boolean |
- |
Controls if the DS components annotations are made available on the compile-classpath, this means no explicit import is required. Default value is: true .User property is: tycho.ds.classpath . |
<dsVersion> |
String |
- |
Controls the declarative services specification version to use. Default value is: 1.3 .User property is: tycho.ds.version . |
<enabled> |
boolean |
- |
Enables the processing of declarative services by Tycho, this could be overridden by project specific configuration Default value is: false .User property is: tycho.ds.enabled . |
<path> |
String |
- |
The desired path where to place component definitions Default value is: OSGI-INF .User property is: tycho.ds.path . |
<skip> |
boolean |
- |
Skips the generation of any DS processing regardless of project configuration Default value is: false .User property is: tycho.ds.skip . |
Parameter Details
<classpath>
Controls if the DS components annotations are made available on the compile-classpath, this means no explicit import is required.
- Type:
boolean
- Required:
No
- User Property:
tycho.ds.classpath
- Default:
true
<dsVersion>
Controls the declarative services specification version to use.
- Type:
java.lang.String
- Required:
No
- User Property:
tycho.ds.version
- Default:
1.3
<enabled>
Enables the processing of declarative services by Tycho, this could be overridden by project specific configuration
- Type:
boolean
- Required:
No
- User Property:
tycho.ds.enabled
- Default:
false
<path>
The desired path where to place component definitions
- Type:
java.lang.String
- Required:
No
- User Property:
tycho.ds.path
- Default:
OSGI-INF
<skip>
Skips the generation of any DS processing regardless of project configuration
- Type:
boolean
- Required:
No
- User Property:
tycho.ds.skip
- Default:
false