刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | |
| 6 | <parent> |
| 7 | <groupId>com.supwisdom.buildcommons</groupId> |
| 8 | <artifactId>spring-cloud-parent</artifactId> |
| 9 | <version>Finchley.RELEASE-1.1</version> |
| 10 | </parent> |
| 11 | |
| 12 | <groupId>com.supwisdom.institute</groupId> |
| 13 | <artifactId>sw-backend-thirdparty-agent-parent</artifactId> |
| 14 | <version>0.0.2-SNAPSHOT</version> |
| 15 | <packaging>pom</packaging> |
| 16 | |
| 17 | <name>Supwisdom Backend Framework Third Party Agent Parent</name> |
| 18 | <description>Supwisdom Backend Framework Third Party Agent Parent project</description> |
| 19 | |
| 20 | <modules> |
| 21 | <module>thirdparty-poa</module> |
| 22 | <module>agent</module> |
| 23 | </modules> |
| 24 | |
| 25 | <properties> |
| 26 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 27 | <java.version>1.8</java.version> |
| 28 | |
| 29 | <argLine>-Dfile.encoding=UTF-8</argLine> |
| 30 | |
| 31 | <downloadSources>true</downloadSources> |
| 32 | <downloadJavadocs>true</downloadJavadocs> |
| 33 | |
| 34 | <maven.compiler.source>${java.version}</maven.compiler.source> |
| 35 | <maven.compiler.target>${java.version}</maven.compiler.target> |
| 36 | |
| 37 | <dockerfile-maven-plugin.version>1.4.8</dockerfile-maven-plugin.version> |
| 38 | <dockerfile.image.server>harbor.supwisdom.com</dockerfile.image.server> |
| 39 | <dockerfile.image.prefix>sw-admin-framework</dockerfile.image.prefix> |
| 40 | |
刘洪青 | 0e9f1a4 | 2019-11-16 09:29:27 +0800 | [diff] [blame^] | 41 | <infras.version>0.1.2-SNAPSHOT</infras.version> |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 42 | |
| 43 | <io.springfox.version>2.9.2</io.springfox.version> |
| 44 | |
| 45 | </properties> |
| 46 | |
| 47 | <distributionManagement> |
| 48 | <repository> |
| 49 | <id>supwisdom-releases</id> |
| 50 | <name>internal release</name> |
| 51 | <url>https://app.supwisdom.com/nexus/content/repositories/releases</url> |
| 52 | </repository> |
| 53 | <snapshotRepository> |
| 54 | <id>supwisdom-snapshots</id> |
| 55 | <name>internal snapshots</name> |
| 56 | <url>https://app.supwisdom.com/nexus/content/repositories/snapshots</url> |
| 57 | </snapshotRepository> |
| 58 | </distributionManagement> |
| 59 | |
| 60 | <repositories> |
| 61 | <repository> |
| 62 | <snapshots> |
| 63 | <enabled>true</enabled> |
| 64 | </snapshots> |
| 65 | <id>supwisdom</id> |
| 66 | <url>https://app.supwisdom.com/nexus/content/groups/public/</url> |
| 67 | </repository> |
| 68 | <repository> |
| 69 | <snapshots> |
| 70 | <enabled>false</enabled> |
| 71 | </snapshots> |
| 72 | <id>central</id> |
| 73 | <url>http://repo.maven.apache.org/maven2</url> |
| 74 | </repository> |
| 75 | </repositories> |
| 76 | |
| 77 | <dependencyManagement> |
| 78 | <dependencies> |
| 79 | |
| 80 | <dependency> |
| 81 | <groupId>com.supwisdom.institute</groupId> |
| 82 | <artifactId>sw-backend-common-core</artifactId> |
| 83 | <version>${project.version}</version> |
| 84 | </dependency> |
| 85 | |
| 86 | <dependency> |
| 87 | <groupId>com.supwisdom.institute</groupId> |
| 88 | <artifactId>sw-backend-common-utils</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | </dependency> |
| 91 | |
| 92 | <dependency> |
| 93 | <groupId>com.supwisdom.institute</groupId> |
| 94 | <artifactId>sw-backend-common-framework</artifactId> |
| 95 | <version>${project.version}</version> |
| 96 | </dependency> |
| 97 | |
| 98 | |
| 99 | <dependency> |
| 100 | <groupId>com.supwisdom.institute</groupId> |
| 101 | <artifactId>sw-backend-thirdparty-poa</artifactId> |
| 102 | <version>${project.version}</version> |
| 103 | </dependency> |
| 104 | |
| 105 | |
| 106 | <dependency> |
| 107 | <groupId>com.alibaba</groupId> |
| 108 | <artifactId>fastjson</artifactId> |
| 109 | <version>1.2.61</version> |
| 110 | </dependency> |
| 111 | |
| 112 | <dependency> |
| 113 | <groupId>io.springfox</groupId> |
| 114 | <artifactId>springfox-swagger2</artifactId> |
| 115 | <version>${io.springfox.version}</version> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>io.springfox</groupId> |
| 119 | <artifactId>springfox-swagger-ui</artifactId> |
| 120 | <version>${io.springfox.version}</version> |
| 121 | </dependency> |
| 122 | |
| 123 | </dependencies> |
| 124 | </dependencyManagement> |
| 125 | |
| 126 | <build> |
| 127 | <pluginManagement> |
| 128 | <plugins> |
| 129 | <plugin> |
| 130 | <groupId>com.spotify</groupId> |
| 131 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 132 | <version>${dockerfile-maven-plugin.version}</version> |
| 133 | <configuration> |
| 134 | <repository>${dockerfile.image.server}/${dockerfile.image.prefix}/${project.artifactId}</repository> |
| 135 | <tag>${project.version}</tag> |
| 136 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 137 | <buildArgs> |
| 138 | <JAR_FILE>${project.build.finalName}.${project.packaging}</JAR_FILE> |
| 139 | <VERSION>${project.version}</VERSION> |
| 140 | <NAME>${project.artifactId}</NAME> |
| 141 | </buildArgs> |
| 142 | </configuration> |
| 143 | </plugin> |
| 144 | </plugins> |
| 145 | </pluginManagement> |
| 146 | |
| 147 | <plugins> |
| 148 | <plugin> |
| 149 | <groupId>com.spotify</groupId> |
| 150 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 151 | <configuration> |
| 152 | <skip>true</skip> |
| 153 | </configuration> |
| 154 | </plugin> |
| 155 | </plugins> |
| 156 | |
| 157 | </build> |
| 158 | |
| 159 | </project> |