This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
The following commit(s) were added to refs/heads/master by this push:
new f1659c0 Create runtime bom #12
f1659c0 is described below
commit f1659c03c9b59dfb8832bad9ea7ab7207abe0c40
Author: lburgazzoli <[email protected]>
AuthorDate: Sun Feb 24 18:20:41 2019 +0100
Create runtime bom #12
---
.../maven/processors/CatalogProcessor_2_x.java | 19 ++-
camel-k-runtime-bom/pom.xml | 182 +++++++++++++++++++++
pom.xml | 9 +-
3 files changed, 201 insertions(+), 9 deletions(-)
diff --git
a/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/processors/CatalogProcessor_2_x.java
b/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/processors/CatalogProcessor_2_x.java
index 1a2c4a3..12a82ae 100644
---
a/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/processors/CatalogProcessor_2_x.java
+++
b/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/processors/CatalogProcessor_2_x.java
@@ -22,7 +22,6 @@ import java.util.Map;
import com.vdurmont.semver4j.Semver;
-import org.apache.camel.Ordered;
import org.apache.camel.catalog.CamelCatalog;
import org.apache.camel.k.tooling.maven.model.CamelArtifact;
import org.apache.camel.k.tooling.maven.model.CatalogProcessor;
@@ -93,7 +92,6 @@ public class CatalogProcessor_2_x implements CatalogProcessor
{
CamelArtifact artifact = new CamelArtifact();
artifact.setGroupId("org.apache.camel.k");
artifact.setArtifactId("camel-k-runtime-jvm");
- artifact.setVersion(project.getVersion());
artifact.addDependency("org.apache.camel", "camel-core");
artifacts.put(artifact.getArtifactId(), artifact);
@@ -109,7 +107,6 @@ public class CatalogProcessor_2_x implements
CatalogProcessor {
CamelArtifact artifact = new CamelArtifact();
artifact.setGroupId("org.apache.camel.k");
artifact.setArtifactId("camel-k-runtime-groovy");
- artifact.setVersion(project.getVersion());
artifact.addDependency("org.apache.camel", "camel-groovy");
artifacts.put(artifact.getArtifactId(), artifact);
@@ -125,7 +122,20 @@ public class CatalogProcessor_2_x implements
CatalogProcessor {
CamelArtifact artifact = new CamelArtifact();
artifact.setGroupId("org.apache.camel.k");
artifact.setArtifactId("camel-k-runtime-kotlin");
- artifact.setVersion(project.getVersion());
+
+ artifacts.put(artifact.getArtifactId(), artifact);
+ }
+
+ // ************************
+ //
+ // camel-k-runtime-yaml
+ //
+ // ************************
+
+ {
+ CamelArtifact artifact = new CamelArtifact();
+ artifact.setGroupId("org.apache.camel.k");
+ artifact.setArtifactId("camel-k-runtime-yaml");
artifacts.put(artifact.getArtifactId(), artifact);
}
@@ -140,7 +150,6 @@ public class CatalogProcessor_2_x implements
CatalogProcessor {
CamelArtifact artifact = new CamelArtifact();
artifact.setGroupId("org.apache.camel.k");
artifact.setArtifactId("camel-knative");
- artifact.setVersion(project.getVersion());
artifact.createScheme("knative").setHttp(true);
artifact.addDependency("org.apache.camel", "camel-netty4-http");
diff --git a/camel-k-runtime-bom/pom.xml b/camel-k-runtime-bom/pom.xml
new file mode 100644
index 0000000..506a10e
--- /dev/null
+++ b/camel-k-runtime-bom/pom.xml
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2016 Red Hat, Inc.
+
+ 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
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-bom</artifactId>
+ <version>0.3.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <developers>
+ <developer>
+ <name>The Apache Camel Team</name>
+ <email>[email protected]</email>
+ <url>http://camel.apache.org</url>
+ <organization>Apache Software Foundation</organization>
+ <organizationUrl>http://apache.org/</organizationUrl>
+ <properties>
+
<picUrl>http://camel.apache.org/banner.data/apache-camel-7.png</picUrl>
+ </properties>
+ </developer>
+ </developers>
+
+ <issueManagement>
+ <system>github</system>
+ <url>https://github.com/apache/camel-k-runtime/issues</url>
+ </issueManagement>
+
+ <scm>
+
<connection>scm:git:http://gitbox.apache.org/repos/asf/camel-k-runtime.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/camel-k-runtime.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=camel-k-runtime.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-maven-plugin</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-jvm</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-groovy</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-kotlin</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-yaml</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-spring-boot</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-k-runtime-spring-boot-layout</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-knative</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.k</groupId>
+ <artifactId>camel-knative-http</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <activation>
+ <property>
+ <name>release</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <!-- We want to deploy the artifact to a staging location
for perusal -->
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<additionalOptions>${javadoc.opts}</additionalOptions>
+ </configuration>
+ </plugin>
+ <!-- We want to sign the artifact, the POM, and all
attached artifacts -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <configuration>
+ <passphrase>${gpg.passphrase}</passphrase>
+ <useAgent>${gpg.useagent}</useAgent>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>doclint-java8-disable</id>
+ <activation>
+ <jdk>[1.8,)</jdk>
+ </activation>
+ <properties>
+ <javadoc.opts>-Xdoclint:none</javadoc.opts>
+ </properties>
+ </profile>
+ </profiles>
+</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index c460bf1..f8d7405 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,13 +77,13 @@
<issueManagement>
<system>github</system>
- <url>https://github.com/apache/camel-k/issues</url>
+ <url>https://github.com/apache/camel-k-runtime/issues</url>
</issueManagement>
<scm>
-
<connection>scm:git:http://gitbox.apache.org/repos/asf/camel-k.git</connection>
-
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/camel-k.git</developerConnection>
- <url>https://gitbox.apache.org/repos/asf?p=camel-k.git;a=summary</url>
+
<connection>scm:git:http://gitbox.apache.org/repos/asf/camel-k-runtime.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/camel-k-runtime.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=camel-k-runtime.git;a=summary</url>
<tag>HEAD</tag>
</scm>
@@ -142,6 +142,7 @@
<module>camel-k-runtime-spring-boot</module>
<module>camel-knative-http</module>
<module>camel-knative</module>
+ <module>camel-k-runtime-bom</module>
</modules>
<repositories>