Skip to content

Commit

Permalink
Disbale deploy task for examples apache#146
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Oct 5, 2019
1 parent c346b9f commit d22f1f0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
/**
* An helper class used to register servlets.
*
* <pre>
* <pre>{@code
* public class WebhookCustomizer implements ContextCustomizer {
* @Override
* {@literal @}Override
* public void apply(CamelContext camelContext, Runtime.Registry registry) {
* registry.bind(
* "webhook-servlet",
* new ServletRegistration("CamelServlet", new CamelHttpTransportServlet(), "/webhook/*")
* );
* }
* }
* <pre>
* }</pre>
*/
public final class ServletRegistration {
private final Servlet servlet;
Expand Down
2 changes: 1 addition & 1 deletion examples/camel-k-runtime-example-quarkus-js/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-runtime-examples</artifactId>
<version>1.0.3-SNAPSHOT</version>
<version>1.0.5-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion examples/camel-k-runtime-example-quarkus-knative/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-runtime-examples</artifactId>
<version>1.0.3-SNAPSHOT</version>
<version>1.0.5-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion examples/camel-k-runtime-example-quarkus-yaml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-runtime-examples</artifactId>
<version>1.0.3-SNAPSHOT</version>
<version>1.0.5-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
12 changes: 12 additions & 0 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,16 @@
<module>camel-k-runtime-example-quarkus-knative</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit d22f1f0

Please sign in to comment.