Skip to content

Commit

Permalink
[JAVA-38868] Move apache-lib (eugenp#17447)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanoPiazzolla authored Aug 28, 2024
1 parent 0bbeb33 commit a6ce976
Show file tree
Hide file tree
Showing 68 changed files with 791 additions and 276 deletions.
9 changes: 6 additions & 3 deletions apache-libraries-2/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
## Relevant Articles
- [Understanding XSLT Processing in Java](https://www.baeldung.com/java-extensible-stylesheet-language-transformations)
- [Add Camel Route at Runtime in Java](https://www.baeldung.com/java-camel-dynamic-route)
- [Logging in Apache Camel](https://www.baeldung.com/java-apache-camel-logging)
- [How to Handle Default Values in Avro](https://www.baeldung.com/java-avro-default-values)
- [How to Send a Post Request in Camel](https://www.baeldung.com/java-apache-camel-send-post-request)
- More articles: [[<-- prev]](../apache-libraries)

- [Introduction to Apache Beam](https://www.baeldung.com/apache-beam)
- [Introduction to Apache Pulsar](https://www.baeldung.com/apache-pulsar)
- [Introduction to Apache Curator](https://www.baeldung.com/apache-curator)
- [Introduction to Apache BVal](https://www.baeldung.com/apache-bval)
- [Building a Microservice with Apache Meecrowave](https://www.baeldung.com/apache-meecrowave)
- More articles: [[<-- prev]](../apache-libraries)
153 changes: 145 additions & 8 deletions apache-libraries-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
</parent>

<dependencies>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>${javax.validation.validation-api.version}</version>
</dependency>
<!-- camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
Expand All @@ -45,6 +41,129 @@
<artifactId>camel-http</artifactId>
<version>${camel.version}</version>
</dependency>
<!-- beam -->
<dependency>
<groupId>org.apache.beam</groupId>
<artifactId>beam-sdks-java-core</artifactId>
<version>${beam.version}</version>
</dependency>
<dependency>
<groupId>org.apache.beam</groupId>
<artifactId>beam-runners-direct-java</artifactId>
<version>${beam.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- pulsar -->
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-client</artifactId>
<version>${pulsar-client.version}</version>
</dependency>
<!-- curator -->
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-x-async</artifactId>
<version>${curator.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>com.jayway.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${avaitility.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
</dependency>
<!-- bval -->
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>bval-jsr</artifactId>
<version>${bval.version}</version>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<version>${jakarta.validation.validation-api.version}</version>
</dependency>
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>bval-extras</artifactId>
<version>${bval.version}</version>
</dependency>
<!-- meecrowave -->
<dependency>
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-core</artifactId>
<version>${meecrowave-core.version}</version>
<classifier>jakarta</classifier>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-jpa</artifactId>
<version>${meecrowave-jpa.version}</version>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-asm9-shaded</artifactId>
<version>${xbean.version}</version>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-reflect</artifactId>
<version>${xbean.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-junit</artifactId>
<version>${meecrowave-junit.version}</version>
<classifier>jakarta</classifier>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
Expand Down Expand Up @@ -73,8 +192,8 @@
<artifactId>avro-maven-plugin</artifactId>
<version>${apache.avro.version}</version>
<configuration>
<sourceDirectory>${project.basedir}/src/main/java/com/baeldung/avro/</sourceDirectory>
<outputDirectory>${project.basedir}/src/main/java/com/baeldung/avro/</outputDirectory>
<sourceDirectory>src/main/java/com/baeldung/apache/avro/</sourceDirectory>
<outputDirectory>src/main/java/com/baeldung/apache/avro/</outputDirectory>
<stringType>String</stringType>
</configuration>
<executions>
Expand All @@ -86,13 +205,31 @@
</execution>
</executions>
</plugin>
<!-- meecrowave -->
<plugin>
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-maven-plugin</artifactId>
<version>${meecrowave-maven-plugin.version}</version>
</plugin>
</plugins>
</build>

<properties>
<javax.validation.validation-api.version>2.0.1.Final</javax.validation.validation-api.version>
<bval.version>3.0.1</bval.version>
<jakarta.validation.validation-api.version>3.1.0</jakarta.validation.validation-api.version>
<camel.version>4.4.1</camel.version>
<apache.avro.version>1.11.3</apache.avro.version>
<beam.version>2.45.0</beam.version>
<pulsar-client.version>2.1.1-incubating</pulsar-client.version>
<curator.version>4.0.1</curator.version>
<avaitility.version>1.7.0</avaitility.version>
<zookeeper.version>3.4.11</zookeeper.version>
<meecrowave-junit.version>1.2.15</meecrowave-junit.version>
<okhttp.version>5.0.0-alpha.12</okhttp.version>
<meecrowave-jpa.version>1.2.15</meecrowave-jpa.version>
<meecrowave-core.version>1.2.15</meecrowave-core.version>
<meecrowave-maven-plugin.version>1.2.15</meecrowave-maven-plugin.version>
<xbean.version>4.24</xbean.version>
</properties>

</project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.baeldung.avro;
package com.baeldung.apache.avro;

import generated.avro.Car;
import com.baeldung.apache.avro.generated.Car;

import org.apache.avro.file.DataFileReader;
import org.apache.avro.file.DataFileWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"namespace": "generated.avro",
"namespace": "generated",
"type": "record",
"name": "Car",
"fields": [
Expand Down
Loading

0 comments on commit a6ce976

Please sign in to comment.