From ff88116865c52a45532bb024e15185506ac19932 Mon Sep 17 00:00:00 2001
From: chenfeng <694447355@qq.com>
Date: Mon, 6 Feb 2023 10:13:16 +0800
Subject: [PATCH] 1. create projects
---
.gitignore | 197 ++++-----------------
framework-core/pom.xml | 12 ++
.../src/main/java/com/unionmed/Main.java | 11 ++
framework-test/pom.xml | 12 ++
.../src/main/java/com/unionmed/Main.java | 11 ++
pom.xml | 24 +++
6 files changed, 104 insertions(+), 163 deletions(-)
create mode 100644 framework-core/pom.xml
create mode 100644 framework-core/src/main/java/com/unionmed/Main.java
create mode 100644 framework-test/pom.xml
create mode 100644 framework-test/src/main/java/com/unionmed/Main.java
create mode 100644 pom.xml
diff --git a/.gitignore b/.gitignore
index 6e9b986..5ff6309 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,167 +1,38 @@
-# ---> Java
-# Compiled class file
-*.class
-
-# Log file
-*.log
-
-# BlueJ files
-*.ctxt
-
-# Mobile Tools for Java (J2ME)
-.mtj.tmp/
-
-# Package Files #
-*.jar
-*.war
-*.nar
-*.ear
-*.zip
-*.tar.gz
-*.rar
-
-# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
-hs_err_pid*
-replay_pid*
-
-# ---> JetBrains
-# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
-# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
-
-# User-specific stuff
-.idea/**/workspace.xml
-.idea/**/tasks.xml
-.idea/**/usage.statistics.xml
-.idea/**/dictionaries
-.idea/**/shelf
-
-# AWS User-specific
-.idea/**/aws.xml
-
-# Generated files
-.idea/**/contentModel.xml
-
-# Sensitive or high-churn files
-.idea/**/dataSources/
-.idea/**/dataSources.ids
-.idea/**/dataSources.local.xml
-.idea/**/sqlDataSources.xml
-.idea/**/dynamic.xml
-.idea/**/uiDesigner.xml
-.idea/**/dbnavigator.xml
-
-# Gradle
-.idea/**/gradle.xml
-.idea/**/libraries
-
-# Gradle and Maven with auto-import
-# When using Gradle or Maven with auto-import, you should exclude module files,
-# since they will be recreated, and may cause churn. Uncomment if using
-# auto-import.
-# .idea/artifacts
-# .idea/compiler.xml
-# .idea/jarRepositories.xml
-# .idea/modules.xml
-# .idea/*.iml
-# .idea/modules
-# *.iml
-# *.ipr
-
-# CMake
-cmake-build-*/
-
-# Mongo Explorer plugin
-.idea/**/mongoSettings.xml
-
-# File-based project format
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### IntelliJ IDEA ###
+.idea/modules.xml
+.idea/jarRepositories.xml
+.idea/compiler.xml
+.idea/libraries/
*.iws
+*.iml
+*.ipr
-# IntelliJ
-out/
-
-# mpeltonen/sbt-idea plugin
-.idea_modules/
-
-# JIRA plugin
-atlassian-ide-plugin.xml
-
-# Cursive Clojure plugin
-.idea/replstate.xml
-
-# SonarLint plugin
-.idea/sonarlint/
-
-# Crashlytics plugin (for Android Studio and IntelliJ)
-com_crashlytics_export_strings.xml
-crashlytics.properties
-crashlytics-build.properties
-fabric.properties
-
-# Editor-based Rest Client
-.idea/httpRequests
-
-# Android studio 3.1+ serialized cache file
-.idea/caches/build_file_checksums.ser
-
-# ---> Eclipse
-.metadata
-bin/
-tmp/
-*.tmp
-*.bak
-*.swp
-*~.nib
-local.properties
-.settings/
-.loadpath
-.recommenders
-
-# External tool builders
-.externalToolBuilders/
-
-# Locally stored "Eclipse launch configurations"
-*.launch
-
-# PyDev specific (Python IDE for Eclipse)
-*.pydevproject
-
-# CDT-specific (C/C++ Development Tooling)
-.cproject
-
-# CDT- autotools
-.autotools
-
-# Java annotation processor (APT)
+### Eclipse ###
+.apt_generated
+.classpath
.factorypath
-
-# PDT-specific (PHP Development Tools)
-.buildpath
-
-# sbteclipse plugin
-.target
-
-# Tern plugin
-.tern-project
-
-# TeXlipse plugin
-.texlipse
-
-# STS (Spring Tool Suite)
+.project
+.settings
.springBeans
-
-# Code Recommenders
-.recommenders/
-
-# Annotation Processing
-.apt_generated/
-.apt_generated_test/
-
-# Scala IDE specific (Scala & Java development for Eclipse)
-.cache-main
-.scala_dependencies
-.worksheet
-
-# Uncomment this line if you wish to ignore the project description file.
-# Typically, this file would be tracked if it contains build/dependency configurations:
-#.project
-
+.sts4-cache
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
+
+### Mac OS ###
+.DS_Store
\ No newline at end of file
diff --git a/framework-core/pom.xml b/framework-core/pom.xml
new file mode 100644
index 0000000..d195681
--- /dev/null
+++ b/framework-core/pom.xml
@@ -0,0 +1,12 @@
+
+
+ 4.0.0
+
+ com.unionmed
+ framework-core
+ 1.0-SNAPSHOT
+
+
+
\ No newline at end of file
diff --git a/framework-core/src/main/java/com/unionmed/Main.java b/framework-core/src/main/java/com/unionmed/Main.java
new file mode 100644
index 0000000..a813e01
--- /dev/null
+++ b/framework-core/src/main/java/com/unionmed/Main.java
@@ -0,0 +1,11 @@
+package com.unionmed;
+
+/**
+ * @author ${USER}
+ * @date ${DATE} ${TIME}
+ */
+public class Main {
+ public static void main(String[] args) {
+ System.out.println("Hello world!");
+ }
+}
\ No newline at end of file
diff --git a/framework-test/pom.xml b/framework-test/pom.xml
new file mode 100644
index 0000000..ab01974
--- /dev/null
+++ b/framework-test/pom.xml
@@ -0,0 +1,12 @@
+
+
+ 4.0.0
+
+ com.unionmed
+ framework-test
+ 1.0-SNAPSHOT
+
+
+
\ No newline at end of file
diff --git a/framework-test/src/main/java/com/unionmed/Main.java b/framework-test/src/main/java/com/unionmed/Main.java
new file mode 100644
index 0000000..a813e01
--- /dev/null
+++ b/framework-test/src/main/java/com/unionmed/Main.java
@@ -0,0 +1,11 @@
+package com.unionmed;
+
+/**
+ * @author ${USER}
+ * @date ${DATE} ${TIME}
+ */
+public class Main {
+ public static void main(String[] args) {
+ System.out.println("Hello world!");
+ }
+}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..0f09b1f
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,24 @@
+
+ 4.0.0
+
+ com.unionmed
+ unionmed-framework
+ 1.0-SNAPSHOT
+
+ framework-core
+ framework-test
+
+ pom
+
+
+
+ website
+ scp://webhost.company.com/www/website
+
+
+
+
+ UTF-8
+
+