This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new 890443c4f Add core common module.
890443c4f is described below
commit 890443c4f3ce41273f268b1263895cc8bd9e8d54
Author: JamesBognar <[email protected]>
AuthorDate: Mon Jun 27 08:20:50 2022 -0400
Add core common module.
---
juneau-core/juneau-common/.gitignore | 6 ++++++
.../{juneau-marshall => juneau-common}/pom.xml | 22 +++++++---------------
juneau-core/juneau-marshall/pom.xml | 5 +++++
juneau-core/pom.xml | 1 +
4 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/juneau-core/juneau-common/.gitignore
b/juneau-core/juneau-common/.gitignore
new file mode 100644
index 000000000..34acf885c
--- /dev/null
+++ b/juneau-core/juneau-common/.gitignore
@@ -0,0 +1,6 @@
+/target/
+**/.DS_Store
+.classpath
+.project
+/.settings/
+/bin/
diff --git a/juneau-core/juneau-marshall/pom.xml
b/juneau-core/juneau-common/pom.xml
similarity index 88%
copy from juneau-core/juneau-marshall/pom.xml
copy to juneau-core/juneau-common/pom.xml
index 1abaacdf5..26fa9be2b 100644
--- a/juneau-core/juneau-marshall/pom.xml
+++ b/juneau-core/juneau-common/pom.xml
@@ -23,11 +23,14 @@
<version>9.0.0-SNAPSHOT</version>
</parent>
- <artifactId>juneau-marshall</artifactId>
- <name>juneau/core/marshall</name>
- <description>Apache Juneau Marshall API</description>
+ <artifactId>juneau-common</artifactId>
+ <name>juneau/core/common</name>
+ <description>Apache Juneau Core Common APIs</description>
<packaging>bundle</packaging>
+ <dependencies>
+ </dependencies>
+
<properties>
<!-- Skip javadoc generation since we generate them in the
aggregate pom -->
<maven.javadoc.skip>true</maven.javadoc.skip>
@@ -36,17 +39,6 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
- <dependencies>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -56,7 +48,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
-
<Automatic-Module-Name>org.apache.juneau.marshall</Automatic-Module-Name>
+
<Automatic-Module-Name>org.apache.juneau.config</Automatic-Module-Name>
</instructions>
</configuration>
</plugin>
diff --git a/juneau-core/juneau-marshall/pom.xml
b/juneau-core/juneau-marshall/pom.xml
index 1abaacdf5..eb0bc2de3 100644
--- a/juneau-core/juneau-marshall/pom.xml
+++ b/juneau-core/juneau-marshall/pom.xml
@@ -37,6 +37,11 @@
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.apache.juneau</groupId>
+ <artifactId>juneau-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
diff --git a/juneau-core/pom.xml b/juneau-core/pom.xml
index dca382523..a5c7660ba 100644
--- a/juneau-core/pom.xml
+++ b/juneau-core/pom.xml
@@ -29,6 +29,7 @@
<description>Apache Juneau Core APIs</description>
<modules>
+ <module>juneau-common</module>
<module>juneau-marshall</module>
<module>juneau-marshall-rdf</module>
<module>juneau-dto</module>