Maven Repository - POM file for Data apollo-web 1.6 1.6

Summary

${project.artifactId}.

Adds web administration support..

Declaration

Here is the list of declaration for apollo-web. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.apache.activemq</groupId>
   <artifactId>apollo-web</artifactId>
   <version>1.6</version>
</dependency>

If you think this Maven repository POM file listing for apollo-web is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Apache License.

Depends on

The apollo-web-1.6 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Dataapollo-broker 1.6
A reliable messaging server.
18
Dataapollo-broker 1.6
A reliable messaging server.
18
Data Structurecommons-codec 1.4
The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.
248




Depended by

The following table lists the most popular artifacts which are depending on apollo-web-1.6. Their categories and depend by count are also listed.

CategoryArtifactDepended By Count
Document Databaseapollo-leveldb 1.6
LevelDB based message storage for Apollo
6

Plugin

The following plugins are used in the apollo-web-1.6.jar

  1. jetty-maven-plugin
  2. maven-jar-plugin
  3. maven-scalate-plugin_2.10
  4. maven-surefire-plugin

Packages

The following packages are defined in the apollo-web-1.6.jar

org.apache.activemq.apollo.web
org.apache.activemq.apollo.web.resources




POM File Source

Here is the content of the POM file.

<?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">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.activemq</groupId>
    <artifactId>apollo-scala</artifactId>
    <version>1.6</version>
    <relativePath>../apollo-scala</relativePath>
  </parent>

  <groupId>org.apache.activemq</groupId>
  <artifactId>apollo-web</artifactId>
  <packaging>jar</packaging>
  <version>1.6</version>

  <name>${project.artifactId}</name>
  <description>Adds web administration support.</description>

  <properties>
    <jetty-port>8080</jetty-port>
    <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
  </properties>

  <dependencies>
    
    <!-- Core Dependency -->
    <dependency>
      <groupId>org.apache.activemq</groupId>
      <artifactId>apollo-broker</artifactId>
      <version>1.6</version>
    </dependency>

    <!-- Web Framework APIs -->
    <dependency>
      <groupId>org.fusesource.scalate</groupId>
      <artifactId>scalate-core_2.10</artifactId>
      <version>${scalate-version}</version>
    </dependency>
    <dependency>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-server</artifactId>
      <version>${jersey-version}</version>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.jaxrs</groupId>
      <artifactId>jackson-jaxrs-json-provider</artifactId>
      <version>${jackson-version}</version>
    </dependency>

    <dependency>
      <groupId>com.wordnik</groupId>
      <artifactId>swagger-jaxrs_2.10.0-RC5</artifactId>
      <version>${swagger-version}</version>
      <exclusions>
        <exclusion>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

    <dependency>
      <groupId>org.eclipse.jetty.aggregate</groupId>
      <artifactId>jetty-all-server</artifactId>
      <version>${jetty-version}</version>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>net.sf.josql</groupId>
      <artifactId>josql</artifactId>
      <version>${josql-version}</version>
    </dependency>
    <dependency>
      <groupId>net.sf.josql</groupId>
      <artifactId>gentlyweb-utils</artifactId>
      <version>${josql-version}</version>
    </dependency>


    <!-- Scala Support -->
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-library</artifactId>
      <scope>compile</scope>
      <version>${scala-version}</version>
    </dependency>

    <!-- Testing -->
    <dependency>
      <groupId>org.fusesource.scalate</groupId>
      <artifactId>scalate-test_2.10</artifactId>
      <version>${scalate-version}</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <groupId>org.eclipse.jetty</groupId>
          <artifactId>jetty-server</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.eclipse.jetty</groupId>
          <artifactId>jetty-webapp</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.eclipse.jetty</groupId>
          <artifactId>jetty-util</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.activemq</groupId>
      <artifactId>apollo-broker</artifactId>
      <version>1.6</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.activemq</groupId>
      <artifactId>apollo-util</artifactId>
      <version>1.6</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.4</version>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
      <version>${junit-version}</version>
    </dependency>
    <dependency>
      <groupId>org.scalatest</groupId>
      <artifactId>scalatest_${scala-version}</artifactId>
      <version>${scalatest-version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>${slf4j-version}</version>
      <scope>test</scope>
    </dependency>
    
  </dependencies>

  <build>
    
    <plugins>

      <!-- <plugin>
        <groupId>org.fusesource.mvnplugins</groupId>
        <artifactId>maven-fab-plugin</artifactId>
        <version>1.26</version>
        <configuration>
          <descriptor>
            <Name>web</Name>
            <Long-Description></Long-Description>
            <Extends>${project.groupId}:apollo-cli:${project.version}</Extends>
          </descriptor>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin> -->

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven-surefire-plugin-version}</version>
        
        <configuration>
          <forkMode>once</forkMode>
          <!-- these settings are mandatory to avoid SureFire giving a bogus system property to the web container -->
          <useSystemClassLoader>false</useSystemClassLoader>
          <useManifestOnlyJar>false</useManifestOnlyJar>
          <includes>
            <include>**/*Test.*</include>
          </includes>
          <excludes>
            <exclude>**/htmlunit/**.*</exclude>
          </excludes>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>jetty-maven-plugin</artifactId>
        <version>${jetty-plugin-version}</version>
        <configuration>
          <webAppConfig>
            <contextPath>/</contextPath>
          </webAppConfig>
          <systemProperties>
            <systemProperty>
              <name>scalate.editor</name>
              <value>${env.SCALATE_EDITOR}</value>
            </systemProperty>
            <systemProperty>
              <name>scalate.workdir</name>
              <value>${basedir}/target/_scalate</value>
            </systemProperty>
          </systemProperties>
          <scanIntervalSeconds>0</scanIntervalSeconds>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.fusesource.scalate</groupId>
        <artifactId>maven-scalate-plugin_2.10</artifactId>
        <version>${scalate-version}</version>
        <executions>
          <execution>
            <goals>
              <goal>precompile</goal>
            </goals>
            <configuration>
              <templates>
                <template>/WEB-INF/scalate/errors/500.scaml</template>
              </templates>
              <bootClassName>org.apache.activemq.apollo.web.Boot</bootClassName>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.3.1</version>
        <executions>
          <!-- embed the wabapp resources in jar as resource -->
          <execution>
            <id>webapp.war</id>
            <phase>process-resources</phase>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <outputDirectory>${basedir}/target/classes/META-INF/services/org.apache.activemq.apollo</outputDirectory>
              <finalName>webapp-resources</finalName>
              <classesDirectory>${basedir}/src/main/webapp</classesDirectory>
              <excludes>
                <exclude>META-INF/**</exclude>
                <exclude>**/*.scaml</exclude>
                <exclude>**/*.jade</exclude>
                <exclude>**/*.ssp</exclude>
              </excludes>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <archive>
            <manifestEntries>
              <Fabric-Include-Optional-Dependency>
                org.eclipse.jetty.aggregate:jetty-all-server
              </Fabric-Include-Optional-Dependency>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      
    </plugins>
  </build>
  
  <profiles>
  </profiles> 
   
</project>