这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apache-spark-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>apache-spark-2</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>apache-spark</name>
<name>apache-spark-2</name>

<parent>
<groupId>com.baeldung</groupId>
Expand Down Expand Up @@ -36,7 +36,7 @@
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<version>${maven-assembly-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -67,4 +67,5 @@
<org.apache.spark.spark-sql.version>3.4.0</org.apache.spark.spark-sql.version>
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
</properties>

</project>
15 changes: 7 additions & 8 deletions apollo/pom.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
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>
<artifactId>apolllo</artifactId>
<artifactId>apollo</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>apollo</name>
Expand All @@ -17,11 +17,10 @@
</parent>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client</artifactId>
Expand Down
30 changes: 15 additions & 15 deletions jts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,16 @@
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>
<artifactId>jst</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<groupId>com.baeldung.jts</groupId>
<artifactId>jst-example</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>21</maven.compiler.source> <!-- Java version -->
<maven.compiler.target>21</maven.compiler.target>
<slf4j.version>2.0.17</slf4j.version>
<junit.version>4.13.2</junit.version>
<jts.version>1.20.0</jts.version>
<qos.logback.version>1.5.18</qos.logback.version>
<maven.compiler.plugin.version>3.14.0</maven.compiler.plugin.version>
<maven.shade.plugin.version>3.2.4</maven.shade.plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>org.locationtech.jts</groupId>
Expand Down Expand Up @@ -90,4 +78,16 @@
</plugin>
</plugins>
</build>

<properties>
<maven.compiler.source>21</maven.compiler.source> <!-- Java version -->
<maven.compiler.target>21</maven.compiler.target>
<slf4j.version>2.0.17</slf4j.version>
<junit.version>4.13.2</junit.version>
<jts.version>1.20.0</jts.version>
<qos.logback.version>1.5.18</qos.logback.version>
<maven.compiler.plugin.version>3.14.0</maven.compiler.plugin.version>
<maven.shade.plugin.version>3.2.4</maven.shade.plugin.version>
</properties>

</project>
2 changes: 1 addition & 1 deletion maven-modules/maven-plugin-management/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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>
<artifactId>plugin-management</artifactId>
<artifactId>maven-plugin-management</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

Expand Down
2 changes: 1 addition & 1 deletion maven-modules/maven-plugin-management/submodule-1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>submodule-1</artifactId>

<parent>
<artifactId>plugin-management</artifactId>
<artifactId>maven-plugin-management</artifactId>
<groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
2 changes: 1 addition & 1 deletion maven-modules/maven-plugin-management/submodule-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>submodule-2</artifactId>

<parent>
<artifactId>plugin-management</artifactId>
<artifactId>maven-plugin-management</artifactId>
<groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
4 changes: 2 additions & 2 deletions messaging-modules/apache-camel-kserve/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
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>
<artifactId>apache-camel-kserve</artifactId>
<packaging>pom</packaging>

<parent>
Expand All @@ -11,9 +12,8 @@
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>sentiment-parent-pom</artifactId>

<modules>
<module>sentiment-service</module>
</modules>

</project>
47 changes: 23 additions & 24 deletions messaging-modules/apache-camel-kserve/sentiment-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,25 @@
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>
<artifactId>sentiment-service</artifactId>
<name>sentiment-service</name>
<description>This is the main service of the system, that uses Apache Camel to integrate with Triton server and
use an AI model for inference
</description>

<parent>
<groupId>com.baeldung</groupId>
<artifactId>sentiment-parent-pom</artifactId>
<artifactId>apache-camel-kserve</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<name>Sentiment System - Service</name>
<description>This is the main service of the system, that uses Apache Camel to integrate with Triton server and
use an AI model for inference</description>
<artifactId>sentiment-service</artifactId>

<properties>
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.release>${java.version}</maven.compiler.release>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<camel.version>4.13.0</camel.version>
<jackson-databind.version>2.19.2</jackson-databind.version>
<tokenizers.version>0.21.0</tokenizers.version>
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
</properties>

<dependencies>
<!-- Core Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-main</artifactId>
<version>${camel.version}</version>
</dependency>

<!-- REST support via Undertow -->
<dependency>
<groupId>org.apache.camel</groupId>
Expand All @@ -47,21 +33,18 @@
<artifactId>camel-rest</artifactId>
<version>${camel.version}</version>
</dependency>

<!-- KServe inference component -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kserve</artifactId>
<version>${camel.version}</version>
</dependency>

<!-- JSON support -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-databind.version}</version>
</dependency>

<!-- lib to use for tokenizer -->
<dependency>
<groupId>ai.djl.huggingface</groupId>
Expand Down Expand Up @@ -91,7 +74,9 @@
<executions>
<execution>
<phase>package</phase>
<goals><goal>shade</goal></goals>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
Expand All @@ -105,4 +90,18 @@
</plugin>
</plugins>
</build>

<properties>
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.release>${java.version}</maven.compiler.release>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<camel.version>4.13.0</camel.version>
<jackson-databind.version>2.19.2</jackson-databind.version>
<tokenizers.version>0.21.0</tokenizers.version>
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
</properties>

</project>
2 changes: 1 addition & 1 deletion spring-boot-rest-simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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>com.baeldung.web</groupId>
<artifactId>spring-boot-simple</artifactId>
<artifactId>spring-boot-rest-simple</artifactId>
<name>spring-boot-rest-simple</name>
<packaging>war</packaging>
<description>Spring Boot Rest Module</description>
Expand Down