continuum-webapp
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-webapp</artifactId> <version>1.4.2</version> </dependency>
<?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. --> <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"> <parent> <artifactId>continuum</artifactId> <groupId>org.apache.continuum</groupId> <version>1.4.2</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>continuum-webapp</artifactId> <name>Continuum :: Web APP</name> <packaging>war</packaging> <build> <resources> <resource> <filtering>true</filtering> <directory>src/main/resources</directory> <includes> <include>localization/Continuum.properties</include> <include>localization/Continuum_fr.properties</include> <include>localization/Continuum_pt_BR.properties</include> <include>localization/Continuum_de.properties</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <excludes> <exclude>localization/Continuum.properties</exclude> <exclude>localization/Continuum_fr.properties</exclude> <exclude>localization/Continuum_pt_BR.properties</exclude> <exclude>localization/Continuum_de.properties</exclude> </excludes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory>${basedir}/data</directory> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <!-- Some versions of maven-war-plugin (snapshots) have this incorrectly defaulted to true. Specifically setting this to false to avoid accidental jar file creation. --> <archiveClasses>false</archiveClasses> <dependentWarExcludes>META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml,WEB-INF/lib/** </dependentWarExcludes> </configuration> </plugin> <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-maven-plugin</artifactId> <configuration> <roleDefaults> <roleDefault> <role>com.opensymphony.xwork2.Action</role> <instantiation-strategy>per-lookup</instantiation-strategy> </roleDefault> <roleDefault> <role>com.opensymphony.xwork2.validator.Validator</role> <instantiation-strategy>per-lookup</instantiation-strategy> </roleDefault> </roleDefaults> </configuration> <executions> <execution> <id>generate</id> <goals> <goal>descriptor</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <executions> <execution> <id>web summary model classes</id> <configuration> <models> <model>src/main/mdo/view-models.mdo</model> </models> <version>1.4.1</version> </configuration> <goals> <goal>java</goal> </goals> </execution> <execution> <id>appearence model classes</id> <configuration> <models> <model>src/main/mdo/appearance-models.mdo</model> </models> <version>1.0.0</version> </configuration> <goals> <goal>java</goal> <goal>xpp3-reader</goal> <goal>xpp3-writer</goal> </goals> </execution> </executions> <configuration> <useJava5>true</useJava5> </configuration> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>replace</goal> </goals> <configuration> <basedir>${basedir}</basedir> <includes> <include>target/generated-sources/**</include> </includes> <token>Generated by Modello.*</token> <value>Generated by Modello</value> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jspc-maven-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>compile</goal> </goals> </execution> </executions> <configuration> <source>1.5</source> <warSourceDirectory>${project.build.directory}/${project.build.finalName}/</warSourceDirectory> <injectString><![CDATA[<!-- [jspc-maven-plugin:post-compiled-jsps-as-servlets] -->]]></injectString> <!-- Uncomment outputWebXml if you want the generated web.xml to be placed in the working directory that the war:war mojo uses. --> <!-- <outputWebXml>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</outputWebXml> --> </configuration> </plugin> <!-- hack for jetty:run, continuum web config files are checked in /WEB-INF/ dir --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>copy-web-config-files</id> <goals> <goal>run</goal> </goals> <phase>compile</phase> <configuration> <tasks> <mkdir dir="${basedir}/target/continuum/WEB-INF/" /> <copy todir="${basedir}/target/continuum/WEB-INF/"> <fileset dir="${basedir}/target" includes="classes/" excludes="**/struts.xml" /> </copy> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-redback-war</id> <goals> <goal>unpack</goal> </goals> <phase>compile</phase> <configuration> <artifactItems> <artifactItem> <groupId>org.codehaus.redback</groupId> <artifactId>redback-struts2-content</artifactId> <version>${redback.version}</version> <type>war</type> <overWrite>false</overWrite> <outputDirectory>${project.build.directory}/redback</outputDirectory> <excludes>**/struts-security.xml</excludes> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <configuration> <webAppConfig> <contextPath>/</contextPath> <jettyEnvXml>${basedir}/src/jetty-env.xml</jettyEnvXml> </webAppConfig> <connectors> <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> <port>9090</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> <systemProperties> <systemProperty> <name>appserver.base</name> <value>${project.build.directory}/appserver-base</value> </systemProperty> <systemProperty> <name>appserver.home</name> <value>${project.build.directory}/appserver-home</value> </systemProperty> <systemProperty> <name>derby.system.home</name> <value>${project.build.directory}/appserver-base/logs</value> </systemProperty> </systemProperties> <stopKey>stopkey</stopKey> <stopPort>9099</stopPort> </configuration> <dependencies> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.1.3.1</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <path>/continuum</path> <port>9090</port> <contextFile>${basedir}/src/test/tomcat/tomcat-context-continuum.xml</contextFile> <systemProperties> <appserver.base>${project.build.directory}/appserver-base</appserver.base> <appserver.home>${project.build.directory}/appserver-home</appserver.home> <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home> </systemProperties> </configuration> <dependencies> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.1.3.1</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/ReleasePrepareActionTest.*</exclude> <!-- TODO: test not working, and doesn't belong here. It should be mocking the logger, not setting sys out. It fails because the logger can't be created as it tries to write to /logs/continuum.log --> <exclude>**/ContinuumActionLoggingTest.*</exclude> <exclude>**/*$*</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <copy todir="${project.build.directory}/appserver-base"> <fileset dir="src/appserver-base" /> </copy> </tasks> </configuration> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> <excludes combine.children="append"> <exclude>src/main/webapp/js/jquery-*</exclude> <exclude>src/main/webapp/js/prototype.js</exclude> <exclude>src/main/webapp/css/no-theme/jquery-*</exclude> </excludes> </configuration> </plugin> </plugins> </pluginManagement> </build> <dependencies> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-security</artifactId> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-model</artifactId> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-api</artifactId> <exclusions> <exclusion> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-taskqueue</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-quartz</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus.registry</groupId> <artifactId>plexus-registry-api</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus.registry</groupId> <artifactId>plexus-registry-commons</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-project</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-app-configuration-model</artifactId> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-app-configuration-web</artifactId> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-builder</artifactId> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-core</artifactId> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-release</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-api</artifactId> </dependency> <dependency> <!-- added since depMgt doesn't override imported dependencies --> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </dependency> <dependency> <groupId>opensymphony</groupId> <artifactId>sitemesh</artifactId> <version>2.4.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.extremecomponents</groupId> <artifactId>extremecomponents</artifactId> <version>1.0.1</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-slf4j-logging</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> </dependency> <dependency> <groupId>com.atlassian.xmlrpc</groupId> <artifactId>atlassian-xmlrpc-binder-server-spring</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.1.2</version> </dependency> <dependency> <groupId>taglibs</groupId> <artifactId>standard</artifactId> <version>1.1.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-providers-standard</artifactId> <type>pom</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-svn-commons</artifactId> </dependency> <dependency> <groupId>org.apache.maven.release</groupId> <artifactId>maven-release-manager</artifactId> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-notifier-irc</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-notifier-jabber</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-notifier-msn</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-notifier-wagon</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-xmlrpc-server</artifactId> <scope>runtime</scope> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-reports</artifactId> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.continuum</groupId> <artifactId>continuum-distributed-master-server</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-file</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-http-lightweight</artifactId> <scope>runtime</scope> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh-external</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-webdav-jackrabbit</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-spring-plugin</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jsp-api</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <!-- Redback Dependencies --> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-struts2-content</artifactId> <type>war</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-struts2-integration</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-common-integrations</artifactId> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-rbac-role-manager</artifactId> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-users-api</artifactId> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-authorization-api</artifactId> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-system</artifactId> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-rbac-model</artifactId> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-xmlrpc-services</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>redback-xmlrpc-security</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <scope>runtime</scope> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </dependency> <dependency> <groupId>org.codehaus.redback</groupId> <artifactId>plexus-spring</artifactId> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> </dependency> <dependency> <groupId>jmock</groupId> <artifactId>jmock</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.jsoup</groupId> <artifactId>jsoup</artifactId> </dependency> <dependency> <groupId>jpox</groupId> <artifactId>jpox-ehcache</artifactId> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>ehcache</groupId> <artifactId>ehcache</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <profiles> <profile> <id>postgres</id> <dependencies> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>8.2-504.jdbc3</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <configuration> <jettyEnvXml>src/jetty-env-postgres.xml</jettyEnvXml> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>mysql</id> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.0.4</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <configuration> <jettyEnvXml>src/jetty-env-mysql.xml</jettyEnvXml> </configuration> </plugin> </plugins> </build> </profile> <profile> <!-- profile for dev an log output in the console --> <id>dev</id> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>override-log4j-with-console-output</id> <phase>process-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <copy overwrite="true" file="${basedir}/src/test/resources/log4j.xml" todir="${basedir}/src/main/webapp/WEB-INF/classes" /> <copy overwrite="true" file="${basedir}/src/test/resources/log4j.xml" todir="${project.build.directory}/classes" /> </tasks> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <!-- local dev settings use a file which is ignore in svn --> <id>local-jetty-env</id> <activation> <file> <exists>src/local-jettyenv.xml</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <configuration> <jettyEnvXml>src/local-jettyenv.xml</jettyEnvXml> </configuration> </plugin> </plugins> </build> </profile> <profile> <!-- local dev settings use a file which is ignore in svn --> <id>local-tomcat-env</id> <activation> <file> <exists>src/test/tomcat/tomcat-context-local.xml</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <contextFile>${basedir}/src/test/tomcat/tomcat-context-local.xml</contextFile> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>