“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
“shentao” | 5a3eed4 | 2016-09-23 13:12:04 +0800 | [diff] [blame] | 3 | Copyright 2016, CMCC Technologies Co., Ltd. |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 16 | --> |
| 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 19 | <parent> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 20 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 21 | <artifactId>openo-portal</artifactId> |
j00302280 | 5db4521 | 2016-10-13 10:31:59 +0800 | [diff] [blame] | 22 | <version>1.1.0-SNAPSHOT</version> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 23 | </parent> |
| 24 | |
| 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <artifactId>portal-package</artifactId> |
| 27 | <packaging>war</packaging> |
| 28 | |
“shentao” | 0443c85 | 2016-09-30 20:34:10 +0800 | [diff] [blame] | 29 | <properties> |
| 30 | <packagename>openo-portal</packagename> |
| 31 | </properties> |
| 32 | |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 33 | <dependencies> |
| 34 | <dependency> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 35 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 36 | <artifactId>portal-common</artifactId> |
j00302280 | 5db4521 | 2016-10-13 10:31:59 +0800 | [diff] [blame] | 37 | <version>1.1.0-SNAPSHOT</version> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 38 | <type>war</type> |
| 39 | </dependency> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 40 | <dependency> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 41 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 42 | <artifactId>portal-resmgr</artifactId> |
j00302280 | 5db4521 | 2016-10-13 10:31:59 +0800 | [diff] [blame] | 43 | <version>1.1.0-SNAPSHOT</version> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 44 | <type>war</type> |
| 45 | </dependency> |
| 46 | <dependency> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 47 | <groupId>org.openo.gso.gui</groupId> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 48 | <artifactId>portal-extsys</artifactId> |
j00302280 | 5db4521 | 2016-10-13 10:31:59 +0800 | [diff] [blame] | 49 | <version>1.1.0-SNAPSHOT</version> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 50 | <type>war</type> |
| 51 | </dependency> |
| 52 | <dependency> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 53 | <groupId>org.openo.gso.gui</groupId> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 54 | <artifactId>portal-catalog</artifactId> |
j00302280 | 5db4521 | 2016-10-13 10:31:59 +0800 | [diff] [blame] | 55 | <version>1.1.0-SNAPSHOT</version> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 56 | <type>war</type> |
| 57 | </dependency> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 58 | <dependency> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 59 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 60 | <artifactId>portal-auth</artifactId> |
j00302280 | 5db4521 | 2016-10-13 10:31:59 +0800 | [diff] [blame] | 61 | <version>1.1.0-SNAPSHOT</version> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 62 | <type>war</type> |
| 63 | </dependency> |
| 64 | <dependency> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 65 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 66 | <artifactId>portal-lifecyclemgr</artifactId> |
j00302280 | 5db4521 | 2016-10-13 10:31:59 +0800 | [diff] [blame] | 67 | <version>1.1.0-SNAPSHOT</version> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 68 | <type>war</type> |
| 69 | </dependency> |
“shentao” | 3379633 | 2016-10-21 15:05:13 +0800 | [diff] [blame] | 70 | <dependency> |
| 71 | <groupId>org.openo.gso.gui</groupId> |
| 72 | <artifactId>portal-performance</artifactId> |
| 73 | <version>1.1.0-SNAPSHOT</version> |
| 74 | <type>war</type> |
| 75 | </dependency> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 76 | </dependencies> |
| 77 | |
| 78 | <build> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 79 | <finalName>openo-portal</finalName> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 80 | <plugins> |
| 81 | <plugin> |
| 82 | <groupId>org.apache.maven.plugins</groupId> |
| 83 | <artifactId>maven-war-plugin</artifactId> |
| 84 | <configuration> |
| 85 | <packagingExcludes>WEB-INF/web.xml</packagingExcludes> |
| 86 | <overlays> |
| 87 | <overlay> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 88 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 89 | <artifactId>portal-common</artifactId> |
| 90 | </overlay> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 91 | <overlay> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 92 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 93 | <artifactId>portal-resmgr</artifactId> |
| 94 | </overlay> |
| 95 | <overlay> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 96 | <groupId>org.openo.gso.gui</groupId> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 97 | <artifactId>portal-extsys</artifactId> |
| 98 | </overlay> |
| 99 | <overlay> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 100 | <groupId>org.openo.gso.gui</groupId> |
huangjian | b3245af | 2016-09-27 10:45:31 +0800 | [diff] [blame] | 101 | <artifactId>portal-catalog</artifactId> |
| 102 | </overlay> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 103 | <overlay> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 104 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 105 | <artifactId>portal-auth</artifactId> |
| 106 | </overlay> |
| 107 | <overlay> |
“shentao” | 3a7ed64 | 2016-09-27 22:01:08 +0800 | [diff] [blame] | 108 | <groupId>org.openo.gso.gui</groupId> |
“shentao” | 1f46ffc | 2016-09-27 21:26:27 +0800 | [diff] [blame] | 109 | <artifactId>portal-lifecyclemgr</artifactId> |
| 110 | </overlay> |
“shentao” | 3379633 | 2016-10-21 15:05:13 +0800 | [diff] [blame] | 111 | <overlay> |
| 112 | <groupId>org.openo.gso.gui</groupId> |
| 113 | <artifactId>portal-performance</artifactId> |
| 114 | </overlay> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 115 | </overlays> |
| 116 | </configuration> |
| 117 | </plugin> |
“shentao” | 0dd54be | 2016-09-29 18:41:52 +0800 | [diff] [blame] | 118 | <plugin> |
| 119 | <groupId>org.apache.maven.plugins</groupId> |
| 120 | <artifactId>maven-antrun-plugin</artifactId> |
| 121 | <executions> |
| 122 | <execution> |
| 123 | <id>zip</id> |
| 124 | <phase>package</phase> |
| 125 | <goals> |
| 126 | <goal>run</goal> |
| 127 | </goals> |
| 128 | <configuration> |
| 129 | <tasks name="${project.artifactId}"> |
“shentao” | 0443c85 | 2016-09-30 20:34:10 +0800 | [diff] [blame] | 130 | <zip destfile="target/${packagename}-${project.version}.zip" update="true"> |
“shentao” | 0dd54be | 2016-09-29 18:41:52 +0800 | [diff] [blame] | 131 | <zipfileset dir="target" includes="*.war"/> |
| 132 | </zip> |
| 133 | </tasks> |
| 134 | </configuration> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | </plugin> |
“shentao” | 0443c85 | 2016-09-30 20:34:10 +0800 | [diff] [blame] | 138 | <plugin> |
| 139 | <groupId>org.codehaus.mojo</groupId> |
| 140 | <artifactId>build-helper-maven-plugin</artifactId> |
| 141 | <executions> |
| 142 | <execution> |
| 143 | <id>attach-artifacts</id> |
| 144 | <phase>package</phase> |
| 145 | <goals> |
| 146 | <goal>attach-artifact</goal> |
| 147 | </goals> |
| 148 | <configuration> |
| 149 | <artifacts> |
| 150 | <artifact> |
| 151 | <file>target/${packagename}-${project.version}.zip</file> |
| 152 | <type>zip</type> |
| 153 | </artifact> |
| 154 | </artifacts> |
| 155 | </configuration> |
| 156 | </execution> |
| 157 | </executions> |
| 158 | </plugin> |
“shentao” | ee2ca98 | 2016-09-18 15:38:21 +0800 | [diff] [blame] | 159 | </plugins> |
| 160 | </build> |
| 161 | </project> |