| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.geronimo.plugins</groupId> |
| <artifactId>console</artifactId> |
| <version>2.2.1</version> |
| </parent> |
| |
| <artifactId>plugin-portlets</artifactId> |
| <name>Geronimo Plugins, Console :: Plugin and Deployment Portlets</name> |
| <packaging>war</packaging> |
| |
| <dependencies> |
| <!-- for jspc maven plugin --> |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>jee-specs</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- for jspc maven plugin --> |
| <dependency> |
| <groupId>org.apache.pluto</groupId> |
| <artifactId>pluto-taglib</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-connector-builder</artifactId> |
| <version>${version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.modules</groupId> |
| <artifactId>geronimo-security-builder</artifactId> |
| <version>${version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>geronimo-deploy-jsr88</artifactId> |
| <version>${version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.plugins</groupId> |
| <artifactId>console-core</artifactId> |
| <version>${version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.portlet</groupId> |
| <artifactId>portlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.directwebremoting</groupId> |
| <artifactId>dwr</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.framework</groupId> |
| <artifactId>xmlbeans</artifactId> |
| <version>${version}</version> |
| <type>car</type> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-stax-api_1.0_spec</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| |
| <plugins> |
| <!-- |
| |
| The pluto-maven-plugin doesn't retain the xmlns for <web-app> which makes |
| geronimo angry. so for now we can't use this plugin. so for now the web.xml |
| has to be updated by hand when a portlet is added/removed from portlet.xml. |
| See GERONIMO-3252 for an idea about a module builder extension in Geronimo |
| that would eliminate the need for updating the web.xml at build time. |
| |
| configure maven-war-plugin to use updated web.xml |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <webXml>${project.build.directory}/pluto-resources/web.xml</webXml> |
| <resource> |
| <directory>${pom.basedir}</directory> |
| <includes> |
| <include>LICENSE.txt</include> |
| <include>NOTICE.txt</include> |
| </includes> |
| <targetPath>META-INF</targetPath> |
| </resource> |
| </configuration> |
| </plugin> |
| |
| bind 'pluto:assemble' goal to 'process-resources' lifecycle |
| <plugin> |
| <groupId>org.apache.pluto</groupId> |
| <artifactId>maven-pluto-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>assemble</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <copy overwrite="true" todir="target/classes"> |
| <fileset dir="src/main/i18n-resources"> |
| <include name="*_en.properties" /> |
| </fileset> |
| <mapper type="glob" from="*_en.properties" to="*.properties" /> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo.jspc</groupId> |
| <artifactId>jspc-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <webXml>${project.build.directory}/jspweb.xml</webXml> |
| <warSourceExcludes>**/*.jsp</warSourceExcludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>native2ascii-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |