diff options
Diffstat (limited to 'openo-portal/portal-package/pom.xml')
-rw-r--r-- | openo-portal/portal-package/pom.xml | 77 |
1 files changed, 76 insertions, 1 deletions
diff --git a/openo-portal/portal-package/pom.xml b/openo-portal/portal-package/pom.xml index 75567b52..e93b04a5 100644 --- a/openo-portal/portal-package/pom.xml +++ b/openo-portal/portal-package/pom.xml @@ -26,6 +26,10 @@ <artifactId>portal-package</artifactId> <packaging>war</packaging> + <properties> + <packagename>openo-portal</packagename> + </properties> + <dependencies> <dependency> <groupId>org.openo.gso.gui</groupId> @@ -35,6 +39,12 @@ </dependency> <dependency> <groupId>org.openo.gso.gui</groupId> + <artifactId>portal-resmgr</artifactId> + <version>1.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.openo.gso.gui</groupId> <artifactId>portal-extsys</artifactId> <version>1.0.0-SNAPSHOT</version> <type>war</type> @@ -45,10 +55,22 @@ <version>1.0.0-SNAPSHOT</version> <type>war</type> </dependency> + <dependency> + <groupId>org.openo.gso.gui</groupId> + <artifactId>portal-auth</artifactId> + <version>1.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.openo.gso.gui</groupId> + <artifactId>portal-lifecyclemgr</artifactId> + <version>1.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> </dependencies> <build> - <finalName>open-portal</finalName> + <finalName>openo-portal</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -62,15 +84,68 @@ </overlay> <overlay> <groupId>org.openo.gso.gui</groupId> + <artifactId>portal-resmgr</artifactId> + </overlay> + <overlay> + <groupId>org.openo.gso.gui</groupId> <artifactId>portal-extsys</artifactId> </overlay> <overlay> <groupId>org.openo.gso.gui</groupId> <artifactId>portal-catalog</artifactId> </overlay> + <overlay> + <groupId>org.openo.gso.gui</groupId> + <artifactId>portal-auth</artifactId> + </overlay> + <overlay> + <groupId>org.openo.gso.gui</groupId> + <artifactId>portal-lifecyclemgr</artifactId> + </overlay> </overlays> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>zip</id> + <phase>package</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks name="${project.artifactId}"> + <zip destfile="target/${packagename}-${project.version}.zip" update="true"> + <zipfileset dir="target" includes="*.war"/> + </zip> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>attach-artifacts</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>target/${packagename}-${project.version}.zip</file> + <type>zip</type> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </project> |