mirror of
				https://github.com/ehlxr/maven-repository.git
				synced 2025-10-31 02:52:32 +00:00 
			
		
		
		
	init git maven repository
This commit is contained in:
		| @@ -0,0 +1,168 @@ | |||||||
|  | <?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>io.github.ehlxr</groupId> | ||||||
|  |     <artifactId>did-parent</artifactId> | ||||||
|  |     <packaging>pom</packaging> | ||||||
|  |     <version>1.0.2-SNAPSHOT</version> | ||||||
|  |     <modules> | ||||||
|  |         <module>did-server</module> | ||||||
|  |         <module>did-sdk</module> | ||||||
|  |         <module>did-common</module> | ||||||
|  |     </modules> | ||||||
|  |  | ||||||
|  |     <name>did-parent</name> | ||||||
|  |  | ||||||
|  |     <properties> | ||||||
|  |         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||||||
|  |         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||||||
|  |         <!--目标编译的 Java 版本可以通过以下属性指定,不用配置 maven-compiler-plugin 插件--> | ||||||
|  |         <maven.compiler.source>1.8</maven.compiler.source> | ||||||
|  |         <maven.compiler.target>1.8</maven.compiler.target> | ||||||
|  |         <did.version>1.0.2-SNAPSHOT</did.version> | ||||||
|  |  | ||||||
|  |         <netty.version>4.1.58.Final</netty.version> | ||||||
|  |         <logback.version>1.1.7</logback.version> | ||||||
|  |         <junit.version>4.13.1</junit.version> | ||||||
|  |     </properties> | ||||||
|  |  | ||||||
|  |     <dependencyManagement> | ||||||
|  |         <dependencies> | ||||||
|  |             <dependency> | ||||||
|  |                 <groupId>io.netty</groupId> | ||||||
|  |                 <artifactId>netty-all</artifactId> | ||||||
|  |                 <version>${netty.version}</version> | ||||||
|  |             </dependency> | ||||||
|  |             <dependency> | ||||||
|  |                 <groupId>ch.qos.logback</groupId> | ||||||
|  |                 <artifactId>logback-classic</artifactId> | ||||||
|  |                 <version>${logback.version}</version> | ||||||
|  |             </dependency> | ||||||
|  |             <dependency> | ||||||
|  |                 <groupId>junit</groupId> | ||||||
|  |                 <artifactId>junit</artifactId> | ||||||
|  |                 <version>${junit.version}</version> | ||||||
|  |                 <scope>test</scope> | ||||||
|  |             </dependency> | ||||||
|  |             <dependency> | ||||||
|  |                 <groupId>io.github.ehlxr</groupId> | ||||||
|  |                 <artifactId>did-common</artifactId> | ||||||
|  |                 <version>${did.version}</version> | ||||||
|  |             </dependency> | ||||||
|  |         </dependencies> | ||||||
|  |     </dependencyManagement> | ||||||
|  |  | ||||||
|  |     <!--<dependencies>--> | ||||||
|  |     <!-- 为了 debug 调试--> | ||||||
|  |     <!--    <dependency>--> | ||||||
|  |     <!--        <groupId>com.github.github</groupId>--> | ||||||
|  |     <!--        <artifactId>site-maven-plugin</artifactId>--> | ||||||
|  |     <!--        <version>0.12</version>--> | ||||||
|  |     <!--    </dependency>--> | ||||||
|  |     <!--</dependencies>--> | ||||||
|  |  | ||||||
|  |     <build> | ||||||
|  |         <pluginManagement> | ||||||
|  |             <plugins> | ||||||
|  |                 <plugin> | ||||||
|  |                     <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |                     <artifactId>maven-deploy-plugin</artifactId> | ||||||
|  |                     <version>2.8.2</version> | ||||||
|  |                     <configuration> | ||||||
|  |                         <altDeploymentRepository>maven.repo::default::file://${project.build.directory}/mvn-repo | ||||||
|  |                         </altDeploymentRepository> | ||||||
|  |                     </configuration> | ||||||
|  |                 </plugin> | ||||||
|  |  | ||||||
|  |                 <plugin> | ||||||
|  |                     <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |                     <artifactId>maven-source-plugin</artifactId> | ||||||
|  |                     <version>3.1.0</version> | ||||||
|  |                     <executions> | ||||||
|  |                         <execution> | ||||||
|  |                             <id>attach-sources</id> | ||||||
|  |                             <goals> | ||||||
|  |                                 <goal>jar</goal> | ||||||
|  |                             </goals> | ||||||
|  |                         </execution> | ||||||
|  |                     </executions> | ||||||
|  |                 </plugin> | ||||||
|  |  | ||||||
|  |                 <plugin> | ||||||
|  |                     <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |                     <artifactId>maven-shade-plugin</artifactId> | ||||||
|  |                     <version>3.0.0</version> | ||||||
|  |                     <executions> | ||||||
|  |                         <execution> | ||||||
|  |                             <phase>package</phase> | ||||||
|  |                             <goals> | ||||||
|  |                                 <goal>shade</goal> | ||||||
|  |                             </goals> | ||||||
|  |                         </execution> | ||||||
|  |                     </executions> | ||||||
|  |                 </plugin> | ||||||
|  |  | ||||||
|  |                 <plugin> | ||||||
|  |                     <!-- Deploy the web site --> | ||||||
|  |                     <groupId>com.github.github</groupId> | ||||||
|  |                     <artifactId>site-maven-plugin</artifactId> | ||||||
|  |                     <version>0.12</version> | ||||||
|  |                     <executions> | ||||||
|  |                         <execution> | ||||||
|  |                             <goals> | ||||||
|  |                                 <goal>site</goal> | ||||||
|  |                             </goals> | ||||||
|  |                             <!-- select the Maven phase in which the plugin will be executed --> | ||||||
|  |                             <phase>deploy</phase> | ||||||
|  |                             <configuration> | ||||||
|  |                                 <!-- Plugin configuration goes here --> | ||||||
|  |                                 <userName>ehlxr</userName> | ||||||
|  |                                 <!--suppress UnresolvedMavenProperty --> | ||||||
|  |                                 <password>${env.GITHUB_MVN_TOKEN}</password> | ||||||
|  |                                 <!-- The commit message --> | ||||||
|  |                                 <message>init git maven repository</message> | ||||||
|  |                                 <!-- The location where the site is uploaded --> | ||||||
|  |                                 <repositoryName>maven-repository</repositoryName> <!-- github repo name --> | ||||||
|  |                                 <repositoryOwner>ehlxr</repositoryOwner> <!-- organization or user name  --> | ||||||
|  |                                 <!-- Use merge or override the content --> | ||||||
|  |                                 <merge>true</merge> | ||||||
|  |                                 <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> | ||||||
|  |                                 <branch>refs/heads/main</branch> | ||||||
|  |                                 <!--<includes>--> | ||||||
|  |                                 <!--    <include>**/*</include>--> | ||||||
|  |                                 <!--</includes>--> | ||||||
|  |                             </configuration> | ||||||
|  |                         </execution> | ||||||
|  |                     </executions> | ||||||
|  |                 </plugin> | ||||||
|  |             </plugins> | ||||||
|  |         </pluginManagement> | ||||||
|  |  | ||||||
|  |         <plugins> | ||||||
|  |             <plugin> | ||||||
|  |                 <groupId>com.github.github</groupId> | ||||||
|  |                 <artifactId>site-maven-plugin</artifactId> | ||||||
|  |             </plugin> | ||||||
|  |         </plugins> | ||||||
|  |     </build> | ||||||
|  |  | ||||||
|  |     <distributionManagement> | ||||||
|  |         <repository> | ||||||
|  |             <id>maven.repo</id> | ||||||
|  |             <name>Local Staging Repository</name> | ||||||
|  |             <url>file://${project.build.directory}/mvn-repo</url> | ||||||
|  |         </repository> | ||||||
|  |     </distributionManagement> | ||||||
|  |  | ||||||
|  |     <!--<distributionManagement>--> | ||||||
|  |     <!--    <repository>--> | ||||||
|  |     <!--        <id>github</id>--> | ||||||
|  |     <!--        <name>GitHub Apache Maven Packages</name>--> | ||||||
|  |     <!--        <url>https://maven.pkg.github.com/ehlxr/mvn-repository</url>--> | ||||||
|  |     <!--    </repository>--> | ||||||
|  |     <!--</distributionManagement>--> | ||||||
|  |  | ||||||
|  | </project> | ||||||
| @@ -0,0 +1 @@ | |||||||
|  | 49dece920ea89d83bf6e0757027c4acc | ||||||
| @@ -0,0 +1 @@ | |||||||
|  | 2b83973415233555082d018e03a325e8e099fcda | ||||||
							
								
								
									
										20
									
								
								io/github/ehlxr/did-parent/1.0.2-SNAPSHOT/maven-metadata.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								io/github/ehlxr/did-parent/1.0.2-SNAPSHOT/maven-metadata.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <metadata modelVersion="1.1.0"> | ||||||
|  |   <groupId>io.github.ehlxr</groupId> | ||||||
|  |   <artifactId>did-parent</artifactId> | ||||||
|  |   <version>1.0.2-SNAPSHOT</version> | ||||||
|  |   <versioning> | ||||||
|  |     <snapshot> | ||||||
|  |       <timestamp>20210122.082959</timestamp> | ||||||
|  |       <buildNumber>1</buildNumber> | ||||||
|  |     </snapshot> | ||||||
|  |     <lastUpdated>20210122082959</lastUpdated> | ||||||
|  |     <snapshotVersions> | ||||||
|  |       <snapshotVersion> | ||||||
|  |         <extension>pom</extension> | ||||||
|  |         <value>1.0.2-20210122.082959-1</value> | ||||||
|  |         <updated>20210122082959</updated> | ||||||
|  |       </snapshotVersion> | ||||||
|  |     </snapshotVersions> | ||||||
|  |   </versioning> | ||||||
|  | </metadata> | ||||||
| @@ -0,0 +1 @@ | |||||||
|  | 40f81e44b4079a5dc5534c7899e0a5a7 | ||||||
| @@ -0,0 +1 @@ | |||||||
|  | b502a8117f17fbeeb4aab040195e535fecbba43c | ||||||
							
								
								
									
										11
									
								
								io/github/ehlxr/did-parent/maven-metadata.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								io/github/ehlxr/did-parent/maven-metadata.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <metadata> | ||||||
|  |   <groupId>io.github.ehlxr</groupId> | ||||||
|  |   <artifactId>did-parent</artifactId> | ||||||
|  |   <versioning> | ||||||
|  |     <versions> | ||||||
|  |       <version>1.0.2-SNAPSHOT</version> | ||||||
|  |     </versions> | ||||||
|  |     <lastUpdated>20210122082959</lastUpdated> | ||||||
|  |   </versioning> | ||||||
|  | </metadata> | ||||||
							
								
								
									
										1
									
								
								io/github/ehlxr/did-parent/maven-metadata.xml.md5
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								io/github/ehlxr/did-parent/maven-metadata.xml.md5
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | fdb9d2744b0ce4077897275583552ca2 | ||||||
							
								
								
									
										1
									
								
								io/github/ehlxr/did-parent/maven-metadata.xml.sha1
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								io/github/ehlxr/did-parent/maven-metadata.xml.sha1
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | e103a6c266321b6a0bde08807233de0fc7dd5dfe | ||||||
		Reference in New Issue
	
	Block a user