持续集成Jenkins+sonarqube部署教程

时间:2025-03-23 15:07:39
  • <project xmlns="/POM/4.0.0" xmlns:xsi="http:///2001/XMLSchema-instance"  
  •     xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0.">  
  •     <modelVersion>4.0.0</modelVersion>  
  •   
  •     <modules>  
  •         <module>pljj-common</module>  
  •         <module>pljj-core</module>  
  •         <module>pljj-report</module>  
  •     </modules>  
  •       
  •     <groupId></groupId>  
  •     <artifactId>pljj-pom</artifactId>  
  •     <version>0.0.1-SNAPSHOT</version>  
  •     <packaging>pom</packaging>  
  •     <name>pljj-pom</name>  
  •     <url></url>  
  •   
  •     <properties>  
  •         <>UTF-8</>  
  •         <></>  
  •         <>0.0.1-SNAPSHOT</>  
  •         <>3.2.</>  
  •         <>3.6.2</>  
  •         <>2.9.0</>  
  •         <>2.0.6</>  
  •         <>1.2.1</>  
  •     </properties>  
  •   
  •     <dependencies>  
  •         <!-- dependency of apache-commons -->  
  •         <dependency>  
  •             <groupId>commons-beanutils</groupId>  
  •             <artifactId>commons-beanutils</artifactId>  
  •             <version>1.9.2</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>commons-lang3</artifactId>  
  •             <version>3.1</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId>commons-cli</groupId>  
  •             <artifactId>commons-cli</artifactId>  
  •             <version>1.2</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId>commons-codec</groupId>  
  •             <artifactId>commons-codec</artifactId>  
  •             <version>1.6</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId>commons-io</groupId>  
  •             <artifactId>commons-io</artifactId>  
  •             <version>2.2</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId>commons-net</groupId>  
  •             <artifactId>commons-net</artifactId>  
  •             <version>3.3</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId>commons-fileupload</groupId>  
  •             <artifactId>commons-fileupload</artifactId>  
  •             <version>1.3.1</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId>commons-dbcp</groupId>  
  •             <artifactId>commons-dbcp</artifactId>  
  •             <version>1.3</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>ant</artifactId>  
  •             <version>1.8.4</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of lucene -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>lucene-core</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>lucene-analyzers</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>lucene-highlighter</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>lucene-memory</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>lucene-queries</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of springframework -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>spring-core</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>spring-context-support</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>spring-web</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>spring-webmvc</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>spring-data-commons-core</artifactId>  
  •             <version>1.4.</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>spring-data-jpa</artifactId>  
  •             <version>1.2.</version>  
  •         </dependency>  
  •   
  •         <dependency>  
  •             <groupId>org.slf4j</groupId>  
  •             <artifactId>slf4j-api</artifactId>  
  •             <version>1.7.2</version>  
  •         </dependency>  
  •   
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>logback-classic</artifactId>  
  •             <version>1.0.7</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>logback-core</artifactId>  
  •             <version>1.0.7</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of freemarker -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>freemarker</artifactId>  
  •             <version>2.3.19</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of querydsl -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>querydsl-jpa</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>querydsl-lucene</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of hibernate-jpa -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>hibernate-core</artifactId>  
  •             <version>3.6.</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>hibernate-entitymanager</artifactId>  
  •             <version>3.6.</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>hibernate-jpa-2.0-api</artifactId>  
  •             <version>1.0.</version>  
  •         </dependency>  
  •         <dependency>  
  •           <groupId></groupId>  
  •           <artifactId>hibernate-validator</artifactId>  
  •           <version>4.2.</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of shiro -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>shiro-web</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>shiro-ehcache</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>shiro-spring</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of jcaptcha -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>jcaptcha</artifactId>  
  •             <version>2.0-alpha-1</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of imgscalr -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>imgscalr-lib</artifactId>  
  •             <version>4.2</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of filters -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>filters</artifactId>  
  •             <version>2.0.235</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of jackson -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>jackson-annotations</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>jackson-core</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>jackson-databind</artifactId>  
  •             <version>${}</version>  
  •         </dependency>  
  •         <dependency>  
  •               <groupId></groupId>  
  •               <artifactId>jackson-dataformat-xml</artifactId>  
  •               <version>${}</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of htmlparser -->  
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>htmlparser</artifactId>  
  •             <version>1.6</version>  
  •         </dependency>  
  •   
  •         <!-- dependency of joda -->  
  •         <dependency>  
  •             <groupId>joda-time</groupId>  
  •             <artifactId>joda-time</artifactId>  
  •             <version>2.1</version>  
  •         </dependency>  
  •   
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>ojdbc14</artifactId>  
  •             <version>10.2.0.3.0</version>  
  •         </dependency>  
  •           
  •         <!--<dependency>  
  •             <groupId></groupId>  
  •             <artifactId>ojdbc6</artifactId>  
  •             <version>12.1.0.1</version>  
  •         </dependency>-->  
  •   
  •   
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>aspectjweaver</artifactId>  
  •             <version>1.7.2</version>  
  •         </dependency>  
  •   
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>servlet-api</artifactId>  
  •             <version>2.4</version>  
  •             <scope>provided</scope>  
  •         </dependency>  
  •           
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>httpcore</artifactId>  
  •             <!--<scope>test</scope>-->  
  •             <version>4.3.2</version>  
  •         </dependency>  
  •   
  •         <dependency>  
  •             <groupId></groupId>  
  •             <artifactId>httpclient</artifactId>  
  •             <!--<scope>test</scope>-->  
  •             <version>4.3.2</version>  
  •         </dependency>  
  •           
  •         <dependency>  
  •           <groupId></groupId>  
  •           <artifactId>stax2-api</artifactId>  
  •           <version>4.0.0</version>  
  •         </dependency>  
  •           
  •         <dependency>  
  •           <groupId>-scheduler</groupId>  
  •           <artifactId>quartz</artifactId>  
  •           <version>2.1.7</version>  
  •         </dependency>  
  •   
  •         <dependency>  
  •               <groupId>junit</groupId>  
  •               <artifactId>junit</artifactId>  
  •               <version>3.8.1</version>  
  •               <scope>test</scope>  
  •             </dependency>  
  •     </dependencies>  
  • <distributionManagement>  
  •   <repository>  
  •       <id>nexus</id>  
  •       <name>Releases</name>  
  •       <url>http://私服ip:8081/repository/maven-releases</url>  
  •     </repository>  
  •     <snapshotRepository>  
  •       <id>nexus</id>  
  •       <name>Snapshot</name>  
  •       <url>http://私服ip:8081/repository/maven-snapshots</url>  
  •     </snapshotRepository>  
  •   </distributionManagement>  
  •     <build>    
  •       <defaultGoal>compile</defaultGoal>  
  •     <finalName>page</finalName>  
  •         <plugins>    
  •          <plugin>   
  •             <groupId></groupId>   
  •             <artifactId>maven-surefire-plugin</artifactId>    
  •              <version>2.6</version>    
  •             <configuration>    
  •                 <skip>true</skip>    
  •             </configuration>   
  •         </plugin>  
  •             <plugin>    
  •                 <groupId></groupId>    
  •                 <artifactId>maven-compiler-plugin</artifactId>    
  •                 <version>2.1</version>    
  •                 <configuration>    
  •                     <source>1.6</source>    
  •                     <target>1.6</target>    
  •                 </configuration>    
  •             </plugin>    
  •         </plugins>    
  •     </build>  
  • </project>