karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: KARAF-4187 - Define threadSafe behavior on MOJOs
Date Thu, 28 Jan 2016 13:14:59 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x 10ceb12d9 -> 0a4d6112c


KARAF-4187 - Define threadSafe behavior on MOJOs


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/0a4d6112
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/0a4d6112
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/0a4d6112

Branch: refs/heads/karaf-3.0.x
Commit: 0a4d6112cb2c94fafda5167f1a1ae3c4fb34af09
Parents: 10ceb12
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Thu Jan 28 14:14:26 2016 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Thu Jan 28 14:14:26 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/karaf/tooling/commands/GenerateHelpMojo.java    | 1 +
 .../java/org/apache/karaf/tooling/features/AddToRepositoryMojo.java | 1 +
 .../main/java/org/apache/karaf/tooling/features/CreateKarMojo.java  | 1 +
 .../apache/karaf/tooling/features/ExportFeatureMetaDataMojo.java    | 1 +
 .../org/apache/karaf/tooling/features/GenerateDescriptorMojo.java   | 1 +
 .../java/org/apache/karaf/tooling/features/InstallKarsMojo.java     | 1 +
 .../org/apache/karaf/tooling/features/ValidateDescriptorMojo.java   | 1 +
 .../java/org/apache/karaf/tooling/instances/CreateArchiveMojo.java  | 1 +
 8 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/commands/GenerateHelpMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/commands/GenerateHelpMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/commands/GenerateHelpMojo.java
index 1b1da0c..7401097 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/commands/GenerateHelpMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/commands/GenerateHelpMojo.java
@@ -50,6 +50,7 @@ import org.apache.xbean.finder.ClassFinder;
  * @requiresDependencyResolution runtime
  * @inheritByDefault false
  * @description Generates help for Karaf commands
+ * @threadSafe
  */
 public class GenerateHelpMojo extends AbstractMojo {
 

http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddToRepositoryMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddToRepositoryMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddToRepositoryMojo.java
index 315accf..72bbef2 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddToRepositoryMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddToRepositoryMojo.java
@@ -36,6 +36,7 @@ import org.apache.maven.plugin.MojoFailureException;
  * @requiresDependencyResolution runtime
  * @inheritByDefault true
  * @description Add the features to the repository
+ * @threadSafe
  */
 public class AddToRepositoryMojo extends AbstractFeatureMojo {
 

http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
index c30f7c0..2798474 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
@@ -56,6 +56,7 @@ import org.codehaus.plexus.archiver.jar.JarArchiver;
  * @requiresDependencyResolution runtime
  * @inheritByDefault true
  * @description Assemble a kar archive from a features.xml file
+ * @threadSafe
  */
 public class CreateKarMojo extends MojoSupport {
 

http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ExportFeatureMetaDataMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ExportFeatureMetaDataMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ExportFeatureMetaDataMojo.java
index f661381..b2d1485 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ExportFeatureMetaDataMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ExportFeatureMetaDataMojo.java
@@ -39,6 +39,7 @@ import org.osgi.framework.Version;
  * @requiresDependencyResolution runtime
  * @inheritByDefault true
  * @description Export meta data about features
+ * @threadSafe
  */
 public class ExportFeatureMetaDataMojo extends AbstractFeatureMojo {
     

http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateDescriptorMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateDescriptorMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateDescriptorMojo.java
index 4c491d3..45757c1 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateDescriptorMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/GenerateDescriptorMojo.java
@@ -63,6 +63,7 @@ import static org.apache.karaf.deployer.kar.KarArtifactInstaller.FEATURE_CLASSIF
  * @inheritByDefault true
  * @description Generates the features XML file starting with an optional source feature.xml
and adding
  * project dependencies as bundles and feature/car dependencies
+ * @threadSafe
  */
 public class GenerateDescriptorMojo extends AbstractLogEnabled implements Mojo {
 

http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
index 40aec60..5b75c4b 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
@@ -50,6 +50,7 @@ import org.apache.maven.plugin.MojoFailureException;
  * @requiresDependencyResolution runtime
  * @inheritByDefault true
  * @description Install kar dependencies
+ * @threadSafe
  */
 public class InstallKarsMojo extends MojoSupport {
     static {

http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ValidateDescriptorMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ValidateDescriptorMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ValidateDescriptorMojo.java
index fd1aec5..eee121e 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ValidateDescriptorMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/ValidateDescriptorMojo.java
@@ -60,6 +60,7 @@ import static org.apache.karaf.tooling.features.ManifestUtils.*;
  * @requiresDependencyResolution runtime
  * @inheritByDefault true
  * @description Validates the features XML file
+ * @threadSafe
  */
 @SuppressWarnings("deprecation")
 public class ValidateDescriptorMojo extends MojoSupport {

http://git-wip-us.apache.org/repos/asf/karaf/blob/0a4d6112/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/instances/CreateArchiveMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/instances/CreateArchiveMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/instances/CreateArchiveMojo.java
index f31ff15..462d1ac 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/instances/CreateArchiveMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/instances/CreateArchiveMojo.java
@@ -41,6 +41,7 @@ import org.apache.maven.plugin.MojoFailureException;
  * @requiresDependencyResolution runtime
  * @inheritByDefault true
  * @description Package a server archive from an assembled server
+ * @threadSafe
  */
 public class CreateArchiveMojo extends MojoSupport {
 


Mime
View raw message