You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2020/04/07 13:36:38 UTC

[karaf-winegrower] branch master updated: Add winegrower:run maven goal for convenience

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf-winegrower.git


The following commit(s) were added to refs/heads/master by this push:
     new 4334623  Add winegrower:run maven goal for convenience
4334623 is described below

commit 4334623ce8a04aaba89e49d959d68536460460eb
Author: jbonofre <jb...@apache.org>
AuthorDate: Tue Apr 7 15:36:42 2020 +0200

    Add winegrower:run maven goal for convenience
---
 .../winegrower/extension/build/maven/RunMojo.java  | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/winegrower-extension/winegrower-build/winegrower-maven-plugin/src/main/java/org/apache/winegrower/extension/build/maven/RunMojo.java b/winegrower-extension/winegrower-build/winegrower-maven-plugin/src/main/java/org/apache/winegrower/extension/build/maven/RunMojo.java
new file mode 100644
index 0000000..c344bae
--- /dev/null
+++ b/winegrower-extension/winegrower-build/winegrower-maven-plugin/src/main/java/org/apache/winegrower/extension/build/maven/RunMojo.java
@@ -0,0 +1,22 @@
+/**
+ * Licensed 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
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * 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.winegrower.extension.build.maven;
+
+import org.apache.maven.plugins.annotations.Mojo;
+
+import static org.apache.maven.plugins.annotations.ResolutionScope.RUNTIME_PLUS_SYSTEM;
+
+@Mojo(name = "run", requiresDependencyResolution = RUNTIME_PLUS_SYSTEM)
+public class RunMojo extends PourMojo {
+}