Author: sbavencoff Date: 2014-07-07 15:42:56 +0200 (Mon, 07 Jul 2014) New Revision: 1040 Url: http://forge.codelutin.com/projects/echobase/repository/revisions/1040 Log: refs #4194 : assembly lizmap zip Added: trunk/echobase-ui/src/main/assembly/lizmap-zip.xml Modified: trunk/echobase-ui/pom.xml Modified: trunk/echobase-ui/pom.xml =================================================================== --- trunk/echobase-ui/pom.xml 2014-07-07 13:22:12 UTC (rev 1039) +++ trunk/echobase-ui/pom.xml 2014-07-07 13:42:56 UTC (rev 1040) @@ -27,6 +27,7 @@ <env>dev</env> <fullWarName>echobase-full-${project.version}</fullWarName> + <lizmapZipName>echobase-lizmap-${project.version}</lizmapZipName> <!-- deploy configuration --> <deployFiles>${project.build.directory}/${fullWarName}.war</deployFiles> @@ -537,6 +538,19 @@ <finalName>${fullWarName}</finalName> </configuration> </execution> + <execution> + <id>create-lizmap-zip</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>src/main/assembly/lizmap-zip.xml</descriptor> + </descriptors> + <finalName>${lizmapZipName}</finalName> + </configuration> + </execution> </executions> </plugin> </plugins> Added: trunk/echobase-ui/src/main/assembly/lizmap-zip.xml =================================================================== --- trunk/echobase-ui/src/main/assembly/lizmap-zip.xml (rev 0) +++ trunk/echobase-ui/src/main/assembly/lizmap-zip.xml 2014-07-07 13:42:56 UTC (rev 1040) @@ -0,0 +1,23 @@ +<assembly + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <id>lizmap-zip</id> + <formats> + <format>zip</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + + <fileSets> + + <!-- content of lizmap wwww --> + <fileSet> + <directory>src/main/resources/lizmap/www</directory> + <outputDirectory>/www</outputDirectory> + <includes> + <include>**/*</include> + </includes> + </fileSet> + + </fileSets> +</assembly> \ No newline at end of file
participants (1)
-
sbavencoffļ¼ users.forge.codelutin.com