You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							135 lines
						
					
					
						
							5.3 KiB
						
					
					
				
			
		
		
	
	
							135 lines
						
					
					
						
							5.3 KiB
						
					
					
				<?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"> | 
						|
    <parent> | 
						|
        <groupId>com.mh</groupId> | 
						|
        <artifactId>chws</artifactId> | 
						|
        <version>1.0-SNAPSHOT</version> | 
						|
    </parent> | 
						|
    <modelVersion>4.0.0</modelVersion> | 
						|
 | 
						|
    <groupId>com.mh</groupId> | 
						|
    <artifactId>algorithm</artifactId> | 
						|
    <version>1.0.0</version> | 
						|
    <packaging>jar</packaging> | 
						|
 | 
						|
    <properties> | 
						|
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | 
						|
        <encoding>UTF-8</encoding> | 
						|
        <java.version>1.8</java.version> | 
						|
        <maven.compiler.source>1.8</maven.compiler.source> | 
						|
        <maven.compiler.target>1.8</maven.compiler.target> | 
						|
    </properties> | 
						|
    <dependencies> | 
						|
        <!-- https://mvnrepository.com/artifact/net.sourceforge.javacsv/javacsv --> | 
						|
        <dependency> | 
						|
            <groupId>net.sourceforge.javacsv</groupId> | 
						|
            <artifactId>javacsv</artifactId> | 
						|
            <version>2.0</version> | 
						|
        </dependency> | 
						|
        <dependency> | 
						|
            <groupId>gov.nist.math</groupId> | 
						|
            <artifactId>jama</artifactId> | 
						|
            <version>1.0.3</version> | 
						|
        </dependency> | 
						|
        <dependency> | 
						|
            <groupId>junit</groupId> | 
						|
            <artifactId>junit</artifactId> | 
						|
            <version>RELEASE</version> | 
						|
            <scope>test</scope> | 
						|
        </dependency> | 
						|
    </dependencies> | 
						|
 | 
						|
    <build> | 
						|
        <plugins> | 
						|
            <plugin> | 
						|
                <groupId>org.apache.maven.plugins</groupId> | 
						|
                <artifactId>maven-compiler-plugin</artifactId> | 
						|
                <version>3.9.3</version> | 
						|
                <configuration> | 
						|
                    <source>1.8</source> | 
						|
                    <target>1.8</target> | 
						|
                </configuration> | 
						|
            </plugin> | 
						|
        </plugins> | 
						|
    </build> | 
						|
 | 
						|
    <profiles> | 
						|
        <profile> | 
						|
            <id>default</id> | 
						|
            <activation> | 
						|
                <activeByDefault>true</activeByDefault> | 
						|
            </activation> | 
						|
            <build> | 
						|
                <plugins> | 
						|
                    <!-- java版本 --> | 
						|
                    <plugin> | 
						|
                        <groupId>org.apache.maven.plugins</groupId> | 
						|
                        <artifactId>maven-compiler-plugin</artifactId> | 
						|
                        <version>3.8.0</version> | 
						|
                        <configuration> | 
						|
                            <source>1.8</source> | 
						|
                            <target>1.8</target> | 
						|
                            <encoding>UTF-8</encoding> | 
						|
                        </configuration> | 
						|
                    </plugin> | 
						|
                    <!-- 这是javadoc打包插件 --> | 
						|
                    <plugin> | 
						|
                        <groupId>org.apache.maven.plugins</groupId> | 
						|
                        <artifactId>maven-javadoc-plugin</artifactId> | 
						|
                        <version>2.9.1</version> | 
						|
                        <executions> | 
						|
                            <execution> | 
						|
                                <id>attach-javadocs</id> | 
						|
                                <goals> | 
						|
                                    <goal>jar</goal> | 
						|
                                </goals> | 
						|
                                <!-- 该处屏蔽jdk1.8后javadoc的严格校验 --> | 
						|
                                <configuration> | 
						|
                                    <additionalparam>-Xdoclint:none</additionalparam> | 
						|
                                </configuration> | 
						|
                            </execution> | 
						|
                        </executions> | 
						|
                    </plugin> | 
						|
                    <!-- 打包源码插件 --> | 
						|
                    <plugin> | 
						|
                        <groupId>org.apache.maven.plugins</groupId> | 
						|
                        <artifactId>maven-source-plugin</artifactId> | 
						|
                        <version>2.3</version> | 
						|
                        <executions> | 
						|
                            <execution> | 
						|
                                <id>attach-sources</id> | 
						|
                                <goals> | 
						|
                                    <goal>jar</goal> | 
						|
                                </goals> | 
						|
                            </execution> | 
						|
                        </executions> | 
						|
                    </plugin> | 
						|
                    <!--签名插件--> | 
						|
<!--                    <plugin>--> | 
						|
<!--                        <groupId>org.apache.maven.plugins</groupId>--> | 
						|
<!--                        <artifactId>maven-gpg-plugin</artifactId>--> | 
						|
<!--                        <version>1.4</version>--> | 
						|
<!--                        <executions>--> | 
						|
<!--                            <execution>--> | 
						|
<!--                                <id>sign-artifacts</id>--> | 
						|
<!--                                <phase>verify</phase>--> | 
						|
<!--                                <goals>--> | 
						|
<!--                                    <goal>sign</goal>--> | 
						|
<!--                                </goals>--> | 
						|
<!--                            </execution>--> | 
						|
<!--                        </executions>--> | 
						|
<!--                    </plugin>--> | 
						|
                    <plugin> | 
						|
                        <artifactId>maven-jar-plugin</artifactId> | 
						|
                        <version>2.3.1</version> | 
						|
                        <configuration> | 
						|
                            <classesDirectory>target/classes</classesDirectory> | 
						|
                        </configuration> | 
						|
                    </plugin> | 
						|
                </plugins> | 
						|
            </build> | 
						|
        </profile> | 
						|
    </profiles> | 
						|
</project>
 | 
						|
 |