添加 apache 模块到项目中,Apache 应该需要单独设置模块,因为 Apache 的内容通常还是比较多的

This commit is contained in:
YuCheng Hu 2024-05-02 08:26:56 -04:00
parent 9b9c4d4e10
commit 9c08c5559c
Signed by: honeymoose
GPG Key ID: D74AE0B33A8002EC
6 changed files with 62 additions and 0 deletions

View File

@ -35,6 +35,7 @@
<module name="core-java-collections-list-2" />
<module name="core-java-collections-conversions-2" />
<module name="core-java-8" />
<module name="apache-httpclient" />
<module name="core-java-collections-3" />
<module name="core-java-9" />
<module name="core-java-collections-2" />

View File

@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/apache/apache-httpclient/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/apache/apache-httpclient/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/apache/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/apache/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/core-java-modules/core-java-10/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/core-java-modules/core-java-10/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/core-java-modules/core-java-11-2/src/main/java" charset="UTF-8" />

7
.idea/jpa.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JpaBuddyIdeaProjectConfig">
<option name="defaultUnitInitialized" value="true" />
<option name="renamerInitialized" value="true" />
</component>
</project>

4
apache/README.md Normal file
View File

@ -0,0 +1,4 @@
## Apache 模块
Apache 软件基金会是对 Java 开源包中贡献非常大的,很多优秀的代码都能够在 Apache 的开源包中找到。

45
apache/pom.xml Normal file
View File

@ -0,0 +1,45 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ossez.apache</groupId>
<artifactId>apache</artifactId>
<name>apache-modules</name>
<packaging>pom</packaging>
<parent>
<groupId>com.ossez</groupId>
<artifactId>parent-modules</artifactId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modules>
<module>apache-httpclient</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit4.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>

View File

@ -39,6 +39,7 @@
</licenses>
<modules>
<module>apache</module>
<module>core-java-modules</module>
<module>image-compressing</module>
<module>image-processing</module>