Browse Source

Merge remote-tracking branch 'origin/main'

liyang 1 year ago
parent
commit
33bbb1fbd1
2 changed files with 56 additions and 0 deletions
  1. 31 0
      .gitignore
  2. 25 0
      pom.xml

+ 31 - 0
.gitignore

@@ -0,0 +1,31 @@
+/target/
+**/target/**
+!.mvn/wrapper/maven-wrapper.jar
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/build/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+
+
+### rpc logs ###
+logs/
+

+ 25 - 0
pom.xml

@@ -62,6 +62,21 @@
         <spring-kafka>2.9.13</spring-kafka>
     </properties>
 
+    <repositories>
+        <repository>
+            <id>nexus</id>
+            <name>Team Nexus Repository</name>
+            <url>http://nexus.ywtinfo.com/repository/maven-public/</url>
+        </repository>
+    </repositories>
+    <pluginRepositories>
+        <pluginRepository>
+            <id>nexus</id>
+            <name>Team Nexus Repository</name>
+            <url>http://nexus.ywtinfo.com/repository/maven-public/</url>
+        </pluginRepository>
+    </pluginRepositories>
+
     <!-- 只是定义,子模块 -->
     <dependencyManagement>
         <dependencies>
@@ -377,11 +392,21 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>3.0.0-M1</version>
+            </plugin>
         </plugins>
     </build>
 
     <!-- 工程的deploy地址,不要每个子模块都定义 -->
     <distributionManagement>
+        <snapshotRepository>
+            <id>snapshots</id>
+            <name>Nexus Snapshot Repository</name>
+            <url>http://nexus.ywtinfo.com/repository/maven-snapshots/</url>
+        </snapshotRepository>
         <repository>
             <id>nexus</id>
             <name>Team Nexus Repository</name>