Bladeren bron

windows 安装本地少的jar批处理文件

KeYuan 8 jaren geleden
bovenliggende
commit
ba077902b6
2 gewijzigde bestanden met toevoegingen van 55 en 51 verwijderingen
  1. 4 0
      bin/install-lose-jar.bat
  2. 51 51
      pom.xml

+ 4 - 0
bin/install-lose-jar.bat

@@ -0,0 +1,4 @@
+@echo [信息] 安装中央仓库缺失jar。
+mvn install:install-file -Dfile=../lib/QRCode.jar -DgroupId=net.qrcode -DartifactId=qrcode -Dversion=1.0 -Dpackaging=jar
+mvn install:install-file -Dfile=../lib/spssw-1.66.jar -DgroupId=net.spssw -DartifactId=spssw -Dversion=1.66 -Dpackaging=jar
+mvn install:install-file -Dfile=../lib/xssProtect-0.1.jar -DgroupId=net.xssprotect -DartifactId=xssprotest -Dversion=1.0 -Dpackaging=jar

+ 51 - 51
pom.xml

@@ -287,30 +287,30 @@
 		    <version>${org.springframework.version}</version>
 		</dependency>
 		<!-- https://mvnrepository.com/artifact/org.springframework/spring-jdbc -->
-<dependency>
-    <groupId>org.springframework</groupId>
-    <artifactId>spring-jdbc</artifactId>
-    <version>${org.springframework.version}</version>
-</dependency>
-<!-- https://mvnrepository.com/artifact/org.springframework/spring-web -->
-<dependency>
-    <groupId>org.springframework</groupId>
-    <artifactId>spring-web</artifactId>
-    <version>${org.springframework.version}</version>
-</dependency>
-<!-- https://mvnrepository.com/artifact/org.springframework/spring-orm -->
-<dependency>
-    <groupId>org.springframework</groupId>
-    <artifactId>spring-orm</artifactId>
-    <version>${org.springframework.version}</version>
-</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-jdbc</artifactId>
+			<version>${org.springframework.version}</version>
+		</dependency>
+		<!-- https://mvnrepository.com/artifact/org.springframework/spring-web -->
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-web</artifactId>
+			<version>${org.springframework.version}</version>
+		</dependency>
+		<!-- https://mvnrepository.com/artifact/org.springframework/spring-orm -->
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-orm</artifactId>
+			<version>${org.springframework.version}</version>
+		</dependency>
 
-<!-- https://mvnrepository.com/artifact/cglib/cglib-nodep -->
-<dependency>
-    <groupId>cglib</groupId>
-    <artifactId>cglib-nodep</artifactId>
-    <version>2.2.2</version>
-</dependency>
+		<!-- https://mvnrepository.com/artifact/cglib/cglib-nodep -->
+		<dependency>
+			<groupId>cglib</groupId>
+			<artifactId>cglib-nodep</artifactId>
+			<version>2.2.2</version>
+		</dependency>
 
 		
         <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
@@ -414,11 +414,11 @@
 	  </dependency>
 
 		<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->
-<dependency>
-    <groupId>org.apache.logging.log4j</groupId>
-    <artifactId>log4j-api</artifactId>
-    <version>2.7</version>
-</dependency>
+		<dependency>
+			<groupId>org.apache.logging.log4j</groupId>
+			<artifactId>log4j-api</artifactId>
+			<version>2.7</version>
+		</dependency>
 		
         
          <!--utils-->
@@ -501,35 +501,35 @@
 	   </dependency>
 	   
 	   <!-- https://mvnrepository.com/artifact/antlr/antlr -->
-<dependency>
-    <groupId>antlr</groupId>
-    <artifactId>antlr</artifactId>
-    <version>2.7.7</version>
-</dependency>
-<!-- https://mvnrepository.com/artifact/org.antlr/antlr-runtime -->
-<dependency>
-    <groupId>org.antlr</groupId>
-    <artifactId>antlr-runtime</artifactId>
-    <version>3.0.1</version>
-</dependency>
-	   
+		<dependency>
+			<groupId>antlr</groupId>
+			<artifactId>antlr</artifactId>
+			<version>2.7.7</version>
+		</dependency>
+		<!-- https://mvnrepository.com/artifact/org.antlr/antlr-runtime -->
+		<dependency>
+			<groupId>org.antlr</groupId>
+			<artifactId>antlr-runtime</artifactId>
+			<version>3.0.1</version>
+		</dependency>
+
 	   <!-- local lib -->
 		<dependency>
   			<groupId>net.qrcode</groupId>
   			<artifactId>qrcode</artifactId>
   			<version>1.0</version>
-    </dependency>
-	<dependency>
-  			<groupId>net.xssprotect</groupId>
-  			<artifactId>xssprotest</artifactId>
-  			<version>1.0</version>
-    </dependency>
+		</dependency>
+		<dependency>
+				<groupId>net.xssprotect</groupId>
+				<artifactId>xssprotest</artifactId>
+				<version>1.0</version>
+		</dependency>
     
-    <dependency>
-  <groupId>net.spssw</groupId>
-  <artifactId>spssw</artifactId>
-  <version>1.66</version>
-    </dependency>
+		<dependency>
+	  		<groupId>net.spssw</groupId>
+	  		<artifactId>spssw</artifactId>
+	  		<version>1.66</version>
+		</dependency>
 
   </dependencies>
   <build>