Showing
6 changed files
with
305 additions
and
0 deletions
.gitignore
0 → 100644
| 1 | +HELP.md | ||
| 2 | +target/ | ||
| 3 | +node_modules/ | ||
| 4 | +dist/ | ||
| 5 | +dist_*/ | ||
| 6 | +!.mvn/wrapper/maven-wrapper.jar | ||
| 7 | +!**/src/main/**/target/ | ||
| 8 | +!**/src/test/**/target/ | ||
| 9 | + | ||
| 10 | +### STS ### | ||
| 11 | +.apt_generated | ||
| 12 | +.classpath | ||
| 13 | +.factorypath | ||
| 14 | +.project | ||
| 15 | +.settings | ||
| 16 | +.springBeans | ||
| 17 | +.sts4-cache | ||
| 18 | + | ||
| 19 | +### IntelliJ IDEA ### | ||
| 20 | +.idea | ||
| 21 | +*.iws | ||
| 22 | +*.iml | ||
| 23 | +*.ipr | ||
| 24 | + | ||
| 25 | +### NetBeans ### | ||
| 26 | +/nbproject/private/ | ||
| 27 | +/nbbuild/ | ||
| 28 | +/node_modules/ | ||
| 29 | +/dist/ | ||
| 30 | +/nbdist/ | ||
| 31 | +/.nb-gradle/ | ||
| 32 | +build/ | ||
| 33 | +!**/src/main/**/build/ | ||
| 34 | +!**/src/test/**/build/ | ||
| 35 | + | ||
| 36 | +### VS Code ### | ||
| 37 | +.vscode/ | ||
| 38 | + | ||
| 39 | +/out/ | ||
| 40 | + | ||
| 41 | +package-lock.json |
base-starter/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + | ||
| 7 | + <groupId>com.iclear.ocr</groupId> | ||
| 8 | + <artifactId>base-starter</artifactId> | ||
| 9 | + <version>1.0.0</version> | ||
| 10 | + | ||
| 11 | + <parent> | ||
| 12 | + <groupId>org.springframework.boot</groupId> | ||
| 13 | + <artifactId>spring-boot-starter-parent</artifactId> | ||
| 14 | + <version>2.2.5.RELEASE</version> | ||
| 15 | + <relativePath/> <!-- lookup parent from repository --> | ||
| 16 | + </parent> | ||
| 17 | +</project> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
common-dependencies/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | + | ||
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + | ||
| 7 | + <groupId>com.iclear.ocr</groupId> | ||
| 8 | + <artifactId>common-dependencies</artifactId> | ||
| 9 | + <version>1.0.0</version> | ||
| 10 | + <parent> | ||
| 11 | + <groupId>org.springframework.boot</groupId> | ||
| 12 | + <artifactId>spring-boot-starter-parent</artifactId> | ||
| 13 | + <version>2.2.5.RELEASE</version> | ||
| 14 | + <relativePath/> <!-- lookup parent from repository --> | ||
| 15 | + </parent> | ||
| 16 | + <dependencies> | ||
| 17 | + <!--公共模块--> | ||
| 18 | + <dependency> | ||
| 19 | + <groupId>com.fedex.exp</groupId> | ||
| 20 | + <artifactId>base-starter</artifactId> | ||
| 21 | + <version>1.0.0</version> | ||
| 22 | + </dependency> | ||
| 23 | + </dependencies> | ||
| 24 | +</project> |
lib4iClearOcr/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | + | ||
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + | ||
| 7 | + <groupId>com.iclear.ocr</groupId> | ||
| 8 | + <artifactId>lib4iClearOcr</artifactId> | ||
| 9 | + <version>1.0.0</version> | ||
| 10 | + <packaging>war</packaging> | ||
| 11 | + | ||
| 12 | + <name>lib4iClearOcr</name> | ||
| 13 | + | ||
| 14 | + <parent> | ||
| 15 | + <groupId>org.springframework.boot</groupId> | ||
| 16 | + <artifactId>spring-boot-starter-parent</artifactId> | ||
| 17 | + <version>2.2.5.RELEASE</version> | ||
| 18 | + <relativePath/> <!-- lookup parent from repository --> | ||
| 19 | + </parent> | ||
| 20 | + | ||
| 21 | + <dependencies> | ||
| 22 | + <dependency> | ||
| 23 | + <groupId>com.iclear.ocr</groupId> | ||
| 24 | + <artifactId>base-starter</artifactId> | ||
| 25 | + <version>1.0-SNAPSHOT</version> | ||
| 26 | + </dependency> | ||
| 27 | + </dependencies> | ||
| 28 | + <build> | ||
| 29 | + <plugins> | ||
| 30 | + <plugin> | ||
| 31 | + <artifactId>maven-war-plugin</artifactId> | ||
| 32 | + <configuration> | ||
| 33 | + <archive> | ||
| 34 | + <addMavenDescriptor>false</addMavenDescriptor> | ||
| 35 | + <manifest> | ||
| 36 | + <addDefaultEntries>false</addDefaultEntries> | ||
| 37 | + <addDefaultImplementationEntries>false</addDefaultImplementationEntries> | ||
| 38 | + <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries> | ||
| 39 | + </manifest> | ||
| 40 | + <manifestEntries> | ||
| 41 | + <Extension-Name>${project.name}</Extension-Name> | ||
| 42 | + <Specification-Version>${project.version}</Specification-Version> | ||
| 43 | + <Implementation-Version>${project.version}</Implementation-Version> | ||
| 44 | + </manifestEntries> | ||
| 45 | + </archive> | ||
| 46 | + </configuration> | ||
| 47 | + </plugin> | ||
| 48 | + </plugins> | ||
| 49 | + <finalName>${project.artifactId}-${project.version}</finalName> | ||
| 50 | + </build> | ||
| 51 | + | ||
| 52 | + <repositories> | ||
| 53 | + <repository> | ||
| 54 | + <id>aliyun</id> | ||
| 55 | + <name>aliyun</name> | ||
| 56 | + <url>https://maven.aliyun.com/repository/public</url> | ||
| 57 | + </repository> | ||
| 58 | + </repositories> | ||
| 59 | +</project> |
ocrapi-server/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | + | ||
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + | ||
| 7 | + <groupId>com.iclear.ocr</groupId> | ||
| 8 | + <artifactId>ocrapi-server</artifactId> | ||
| 9 | + <version>1.0.0</version> | ||
| 10 | + <packaging>war</packaging> | ||
| 11 | + | ||
| 12 | + <name>ocrapi-server</name> | ||
| 13 | + | ||
| 14 | + <properties> | ||
| 15 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| 16 | + <maven.compiler.source>8</maven.compiler.source> | ||
| 17 | + <maven.compiler.target>8</maven.compiler.target> | ||
| 18 | + </properties> | ||
| 19 | + | ||
| 20 | + <dependencies> | ||
| 21 | + <!--公共模块--> | ||
| 22 | + <dependency> | ||
| 23 | + <groupId>com.iclear.ocr</groupId> | ||
| 24 | + <artifactId>common-dependencies</artifactId> | ||
| 25 | + <version>1.0-SNAPSHOT</version> | ||
| 26 | + </dependency> | ||
| 27 | + <dependency> | ||
| 28 | + <groupId>junit</groupId> | ||
| 29 | + <artifactId>junit</artifactId> | ||
| 30 | + <version>4.13.1</version> | ||
| 31 | + <scope>test</scope> | ||
| 32 | + </dependency> | ||
| 33 | + </dependencies> | ||
| 34 | + | ||
| 35 | + <profiles> | ||
| 36 | + <profile> | ||
| 37 | + <id>local</id> | ||
| 38 | + <properties> | ||
| 39 | + <activatedProperties>local</activatedProperties> | ||
| 40 | + <install.scope>provided</install.scope> | ||
| 41 | + </properties> | ||
| 42 | + <activation> | ||
| 43 | + <activeByDefault>true</activeByDefault> | ||
| 44 | + </activation> | ||
| 45 | + </profile> | ||
| 46 | + <profile> | ||
| 47 | + <id>test</id> | ||
| 48 | + <properties> | ||
| 49 | + <activatedProperties>test</activatedProperties> | ||
| 50 | + <install.scope>provided</install.scope> | ||
| 51 | + </properties> | ||
| 52 | + </profile> | ||
| 53 | + <profile> | ||
| 54 | + <id>uat</id> | ||
| 55 | + <properties> | ||
| 56 | + <activatedProperties>uat</activatedProperties> | ||
| 57 | + <install.scope>provided</install.scope> | ||
| 58 | + </properties> | ||
| 59 | + </profile> | ||
| 60 | + <profile> | ||
| 61 | + <id>prod</id> | ||
| 62 | + <properties> | ||
| 63 | + <activatedProperties>prod</activatedProperties> | ||
| 64 | + <install.scope>provided</install.scope> | ||
| 65 | + </properties> | ||
| 66 | + </profile> | ||
| 67 | + </profiles> | ||
| 68 | + | ||
| 69 | + <build> | ||
| 70 | + <plugins> | ||
| 71 | + <plugin> | ||
| 72 | + <groupId>org.springframework.boot</groupId> | ||
| 73 | + <artifactId>spring-boot-maven-plugin</artifactId> | ||
| 74 | + </plugin> | ||
| 75 | + </plugins> | ||
| 76 | + <finalName>exp-${project.artifactId}-${project.version}_${activatedProperties}</finalName> | ||
| 77 | + </build> | ||
| 78 | + | ||
| 79 | + <repositories> | ||
| 80 | + <repository> | ||
| 81 | + <id>aliyun</id> | ||
| 82 | + <name>aliyun</name> | ||
| 83 | + <url>https://maven.aliyun.com/repository/public</url> | ||
| 84 | + </repository> | ||
| 85 | + </repositories> | ||
| 86 | +</project> |
pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | + | ||
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + | ||
| 7 | + <groupId>com.fedex.parent</groupId> | ||
| 8 | + <artifactId>export</artifactId> | ||
| 9 | + <packaging>pom</packaging> | ||
| 10 | + <version>1.0-SNAPSHOT</version> | ||
| 11 | + <modules> | ||
| 12 | + <!-- <module>lib4iClearExport</module> | ||
| 13 | + <module>base-common</module> | ||
| 14 | + <module>base-starter</module> | ||
| 15 | + <module>bus-customer</module> | ||
| 16 | + <module>bus-employees</module> | ||
| 17 | + <module>manager-server</module> | ||
| 18 | + <module>task-schedule</module> | ||
| 19 | + <module>jar-sources</module> | ||
| 20 | + <module>kafka-cndc-output</module>--> | ||
| 21 | + </modules> | ||
| 22 | + | ||
| 23 | + <name>iclear-ocr</name> | ||
| 24 | + <!-- FIXME change it to the project's website --> | ||
| 25 | + <url>http://www.example.com</url> | ||
| 26 | + | ||
| 27 | + <properties> | ||
| 28 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| 29 | + <maven.compiler.source>1.8</maven.compiler.source> | ||
| 30 | + <maven.compiler.target>1.8</maven.compiler.target> | ||
| 31 | + </properties> | ||
| 32 | + | ||
| 33 | + <dependencies> | ||
| 34 | + <dependency> | ||
| 35 | + <groupId>junit</groupId> | ||
| 36 | + <artifactId>junit</artifactId> | ||
| 37 | + <version>4.11</version> | ||
| 38 | + <scope>test</scope> | ||
| 39 | + </dependency> | ||
| 40 | + </dependencies> | ||
| 41 | + | ||
| 42 | + <build> | ||
| 43 | + <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> | ||
| 44 | + <plugins> | ||
| 45 | + <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> | ||
| 46 | + <plugin> | ||
| 47 | + <artifactId>maven-clean-plugin</artifactId> | ||
| 48 | + <version>3.1.0</version> | ||
| 49 | + </plugin> | ||
| 50 | + <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> | ||
| 51 | + <plugin> | ||
| 52 | + <artifactId>maven-resources-plugin</artifactId> | ||
| 53 | + <version>3.0.2</version> | ||
| 54 | + </plugin> | ||
| 55 | + <plugin> | ||
| 56 | + <artifactId>maven-compiler-plugin</artifactId> | ||
| 57 | + <version>3.8.0</version> | ||
| 58 | + </plugin> | ||
| 59 | + <plugin> | ||
| 60 | + <artifactId>maven-surefire-plugin</artifactId> | ||
| 61 | + <version>2.22.1</version> | ||
| 62 | + </plugin> | ||
| 63 | + <plugin> | ||
| 64 | + <artifactId>maven-jar-plugin</artifactId> | ||
| 65 | + <version>3.0.2</version> | ||
| 66 | + </plugin> | ||
| 67 | + <plugin> | ||
| 68 | + <artifactId>maven-install-plugin</artifactId> | ||
| 69 | + <version>2.5.2</version> | ||
| 70 | + </plugin> | ||
| 71 | + <plugin> | ||
| 72 | + <artifactId>maven-deploy-plugin</artifactId> | ||
| 73 | + <version>2.8.2</version> | ||
| 74 | + </plugin> | ||
| 75 | + </plugins> | ||
| 76 | + </pluginManagement> | ||
| 77 | + </build> | ||
| 78 | +</project> |
-
Please register or login to post a comment