Change handling of skip deployment
Change-Id: I59e48df8bf71868e116aa0ed12851d693d30e01b
Signed-off-by: Dirk Fauth <dirk.fauth@de.bosch.com>
diff --git a/examples/app4mc.example.democar.extended/pom.xml b/examples/app4mc.example.democar.extended/pom.xml
index bea8f47..08604c4 100644
--- a/examples/app4mc.example.democar.extended/pom.xml
+++ b/examples/app4mc.example.democar.extended/pom.xml
@@ -109,7 +109,13 @@
</plugin>
-
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/examples/app4mc.example.democar.split/pom.xml b/examples/app4mc.example.democar.split/pom.xml
index 967d34f..be26f94 100644
--- a/examples/app4mc.example.democar.split/pom.xml
+++ b/examples/app4mc.example.democar.split/pom.xml
@@ -105,6 +105,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.democar/pom.xml b/examples/app4mc.example.democar/pom.xml
index 6d04fe4..1b99751 100644
--- a/examples/app4mc.example.democar/pom.xml
+++ b/examples/app4mc.example.democar/pom.xml
@@ -109,7 +109,13 @@
</plugin>
-
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/examples/app4mc.example.hardware/pom.xml b/examples/app4mc.example.hardware/pom.xml
index e069f06..a0a1a64 100644
--- a/examples/app4mc.example.hardware/pom.xml
+++ b/examples/app4mc.example.hardware/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.modeling.client_server/pom.xml b/examples/app4mc.example.modeling.client_server/pom.xml
index eee8e29..09d5b47 100644
--- a/examples/app4mc.example.modeling.client_server/pom.xml
+++ b/examples/app4mc.example.modeling.client_server/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.modeling.feedback_loop/pom.xml b/examples/app4mc.example.modeling.feedback_loop/pom.xml
index 473cef0..46f6611 100644
--- a/examples/app4mc.example.modeling.feedback_loop/pom.xml
+++ b/examples/app4mc.example.modeling.feedback_loop/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.modeling.periodic/pom.xml b/examples/app4mc.example.modeling.periodic/pom.xml
index 14d3523..3a3ef9b 100644
--- a/examples/app4mc.example.modeling.periodic/pom.xml
+++ b/examples/app4mc.example.modeling.periodic/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.modeling.state_machine/pom.xml b/examples/app4mc.example.modeling.state_machine/pom.xml
index 2a6575d..72f9bb3 100644
--- a/examples/app4mc.example.modeling.state_machine/pom.xml
+++ b/examples/app4mc.example.modeling.state_machine/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.modeling.state_machine_feedback_loop/pom.xml b/examples/app4mc.example.modeling.state_machine_feedback_loop/pom.xml
index 54bc236..c30fde4 100644
--- a/examples/app4mc.example.modeling.state_machine_feedback_loop/pom.xml
+++ b/examples/app4mc.example.modeling.state_machine_feedback_loop/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.modeling/pom.xml b/examples/app4mc.example.modeling/pom.xml
index b5bd721..d947ace 100644
--- a/examples/app4mc.example.modeling/pom.xml
+++ b/examples/app4mc.example.modeling/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.numeric_modes/pom.xml b/examples/app4mc.example.numeric_modes/pom.xml
index b83c079..3ef1dd3 100644
--- a/examples/app4mc.example.numeric_modes/pom.xml
+++ b/examples/app4mc.example.numeric_modes/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.scheduler/pom.xml b/examples/app4mc.example.scheduler/pom.xml
index f771d20..142977c 100644
--- a/examples/app4mc.example.scheduler/pom.xml
+++ b/examples/app4mc.example.scheduler/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.tool.java/pom.xml b/examples/app4mc.example.tool.java/pom.xml
index 4560998..b539fa6 100644
--- a/examples/app4mc.example.tool.java/pom.xml
+++ b/examples/app4mc.example.tool.java/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.tool.validation/pom.xml b/examples/app4mc.example.tool.validation/pom.xml
index 76b8ea0..5dfb232 100644
--- a/examples/app4mc.example.tool.validation/pom.xml
+++ b/examples/app4mc.example.tool.validation/pom.xml
@@ -104,6 +104,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/app4mc.example.tool.workflow/pom.xml b/examples/app4mc.example.tool.workflow/pom.xml
index 568cf58..537ea1e 100644
--- a/examples/app4mc.example.tool.workflow/pom.xml
+++ b/examples/app4mc.example.tool.workflow/pom.xml
@@ -106,6 +106,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/examples/waters.fmtv.challenge.2016/pom.xml b/examples/waters.fmtv.challenge.2016/pom.xml
index df2e3b7..096669e 100644
--- a/examples/waters.fmtv.challenge.2016/pom.xml
+++ b/examples/waters.fmtv.challenge.2016/pom.xml
@@ -109,7 +109,13 @@
</plugin>
-
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/examples/waters.fmtv.challenge.2017/pom.xml b/examples/waters.fmtv.challenge.2017/pom.xml
index 681fd92..5920e08 100644
--- a/examples/waters.fmtv.challenge.2017/pom.xml
+++ b/examples/waters.fmtv.challenge.2017/pom.xml
@@ -109,7 +109,13 @@
</plugin>
-
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/examples/waters.fmtv.challenge.2019/pom.xml b/examples/waters.fmtv.challenge.2019/pom.xml
index b212527..6f1a8f8 100644
--- a/examples/waters.fmtv.challenge.2019/pom.xml
+++ b/examples/waters.fmtv.challenge.2019/pom.xml
@@ -109,7 +109,13 @@
</plugin>
-
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml
index 7d32d13..00ba193 100644
--- a/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml
index d6d8854..e59a246 100644
--- a/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml
index cc912eb..341132b 100644
--- a/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml
index 7a6817a..bb6e703 100644
--- a/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/plugins/org.eclipse.app4mc.amalthea.model/pom.xml b/plugins/org.eclipse.app4mc.amalthea.model/pom.xml
index efa91f2..d5d56d4 100644
--- a/plugins/org.eclipse.app4mc.amalthea.model/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.model/pom.xml
@@ -52,16 +52,4 @@
<version>1.7.2</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <!-- publish this artifact to Maven repositories -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
diff --git a/plugins/org.eclipse.app4mc.amalthea.validations.inchron/pom.xml b/plugins/org.eclipse.app4mc.amalthea.validations.inchron/pom.xml
index 069262b..5417ee6 100644
--- a/plugins/org.eclipse.app4mc.amalthea.validations.inchron/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.validations.inchron/pom.xml
@@ -22,16 +22,4 @@
<version>${app4mc.version}</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <!-- publish this artifact to Maven repositories -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
diff --git a/plugins/org.eclipse.app4mc.amalthea.validations.sim/pom.xml b/plugins/org.eclipse.app4mc.amalthea.validations.sim/pom.xml
index d1de5be..31383db 100644
--- a/plugins/org.eclipse.app4mc.amalthea.validations.sim/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.validations.sim/pom.xml
@@ -32,16 +32,4 @@
<version>${app4mc.version}</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <!-- publish this artifact to Maven repositories -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
diff --git a/plugins/org.eclipse.app4mc.amalthea.validations.standard/pom.xml b/plugins/org.eclipse.app4mc.amalthea.validations.standard/pom.xml
index 883052d..b3483ed 100644
--- a/plugins/org.eclipse.app4mc.amalthea.validations.standard/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.validations.standard/pom.xml
@@ -27,16 +27,4 @@
<version>${app4mc.version}</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <!-- publish this artifact to Maven repositories -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
diff --git a/plugins/org.eclipse.app4mc.amalthea.validations.ta/pom.xml b/plugins/org.eclipse.app4mc.amalthea.validations.ta/pom.xml
index 2bba4a9..9b2de22 100644
--- a/plugins/org.eclipse.app4mc.amalthea.validations.ta/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.validations.ta/pom.xml
@@ -22,16 +22,4 @@
<version>${app4mc.version}</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <!-- publish this artifact to Maven repositories -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
diff --git a/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml
index c1d96b2..a1646ac 100644
--- a/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/plugins/org.eclipse.app4mc.help/pom.xml b/plugins/org.eclipse.app4mc.help/pom.xml
index 2b2ef84..8264de7 100644
--- a/plugins/org.eclipse.app4mc.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
diff --git a/plugins/org.eclipse.app4mc.validation.core/pom.xml b/plugins/org.eclipse.app4mc.validation.core/pom.xml
index 296e5b7..7766147 100644
--- a/plugins/org.eclipse.app4mc.validation.core/pom.xml
+++ b/plugins/org.eclipse.app4mc.validation.core/pom.xml
@@ -27,16 +27,4 @@
<version>2.23.0</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <!-- publish this artifact to Maven repositories -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
diff --git a/plugins/org.eclipse.app4mc.validation.help/pom.xml b/plugins/org.eclipse.app4mc.validation.help/pom.xml
index 6c2776d..12f2d43 100644
--- a/plugins/org.eclipse.app4mc.validation.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.validation.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/plugins/org.eclipse.app4mc.visualization.help/pom.xml b/plugins/org.eclipse.app4mc.visualization.help/pom.xml
index 903db98..4b28515 100644
--- a/plugins/org.eclipse.app4mc.visualization.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.visualization.help/pom.xml
@@ -39,6 +39,14 @@
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/pom.xml b/pom.xml
index c3a93e4..8a9b07d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -237,10 +237,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
- <!-- skip the publishing to Maven by default -->
- <configuration>
- <skip>true</skip>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
@@ -458,6 +454,18 @@
</build>
</profile>
+ <profile>
+ <id>skip-deploy</id>
+ <activation>
+ <file>
+ <missing>pom.xml</missing>
+ </file>
+ </activation>
+ <properties>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ </properties>
+ </profile>
+
<profile>
<id>maven-publish</id>
diff --git a/releng/org.eclipse.app4mc.p2repo/pom.xml b/releng/org.eclipse.app4mc.p2repo/pom.xml
index 09be5ec..ffe91fb 100644
--- a/releng/org.eclipse.app4mc.p2repo/pom.xml
+++ b/releng/org.eclipse.app4mc.p2repo/pom.xml
@@ -114,6 +114,14 @@
</execution>
</executions>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/releng/org.eclipse.app4mc.platform.product/pom.xml b/releng/org.eclipse.app4mc.platform.product/pom.xml
index 30a6696..6728738 100644
--- a/releng/org.eclipse.app4mc.platform.product/pom.xml
+++ b/releng/org.eclipse.app4mc.platform.product/pom.xml
@@ -67,6 +67,14 @@
</products>
</configuration>
</plugin>
+
+ <!-- do not publish this artifact to Maven repositories -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>