Как запустить сервер после установки maven?
Я делаю maven установку из затмения. Я на macOS Сьерра. Maven install просто скопировал банку и пом по следующему пути. Сервер уже запущен? Как мне запустить сервер после этого?
/Users/ishandutta2007/.m2/repository/org/red5/red5-server/1.0.10-M4/
red5-server-1.0.10-M4.pom
red5-server-1.0.10-M4.jar
red5-server-1.0.10-M4-sources.jar
red5-server-1.0.10-M4-javadoc.jar
_remote.repositories
оригинал pom.xml:
<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>
<groupId>org.red5</groupId>
<artifactId>red5-parent</artifactId>
<version>1.0.10-M4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>red5-server</artifactId>
<name>Red5 :: Server</name>
<description>The Red5 server</description>
<packaging>jar</packaging>
<url>https://github.com/Red5/red5-server</url>
<organization>
<name>Red5</name>
<url>https://github.com/Red5</url>
</organization>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<mailingLists>
<mailingList>
<name>red5-interest</name>
<post>https://groups.google.com/forum/?fromgroups#!forum/red5interest</post>
</mailingList>
</mailingLists>
<issueManagement>
<system>github</system>
<url>https://github.com/Red5/red5-server/issues</url>
</issueManagement>
<scm>
<url>https://github.com/Red5/red5-server.git</url>
<connection>scm:git:git@github.com:Red5/red5-server.git</connection>
<developerConnection>scm:git:git@github.com:Red5/red5-server.git</developerConnection>
</scm>
<developers>
<developer>
<id>Dominick Accattato</id>
<email>dominick@red5.org</email>
</developer>
<developer>
<id>Paul Gregoire</id>
<email>mondain@gmail.com</email>
</developer>
<developer>
<id>Dan Rossi</id>
<email>electroteque@gmail.com</email>
</developer>
<developer>
<id>Tiago Jacobs</id>
<email>tiago.jacobs@gmail.com</email>
</developer>
</developers>
<properties>
<build.dir>target</build.dir>
<finalName>${project.artifactId}-${project.version}</finalName>
<red5-io.version>${project.parent.version}</red5-io.version>
<red5-service.version>${project.parent.version}</red5-service.version>
<red5-server-common.version>${project.parent.version}</red5-server-common.version>
<cors-filter.version>2.6</cors-filter.version>
</properties>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
<repository>
<id>sonatype-releases</id>
<name>Sonatype Releases</name>
<url>http://oss.sonatype.org/content/repositories/releases</url>
</repository>
</repositories>
<build>
<defaultGoal>install</defaultGoal>
<directory>${build.dir}</directory>
<finalName>${finalName}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</testResource>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/red5_codeformat_eclipse.xml</exclude>
<exclude>**/red5_codetemplate.xml</exclude>
</excludes>
<archive>
<manifestEntries>
<Build-OS>${os.name} ${os.version}</Build-OS>
<Build-Java>Java ${java.version}</Build-Java>
<Build-Number>${buildNumber}</Build-Number>
<Main-Class>Version</Main-Class>
<Class-Path>lib/slf4j-api-${slf4j.version}.jar lib/logback-classic-${logback.version}.jar lib/logback-core-${logback.version}.jar lib/red5-server-common-${project.parent.version}.jar</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
<version>${tomcat.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<!--
<dependency>
<groupId>uk.org.lidalia</groupId>
<artifactId>sysout-over-slf4j</artifactId>
<version>1.0.2</version>
</dependency>
-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.red5</groupId>
<artifactId>red5-server-common</artifactId>
<version>${red5-server-common.version}</version>
</dependency>
<dependency>
<groupId>org.red5</groupId>
<artifactId>red5-io</artifactId>
<version>${red5-io.version}</version>
<type>jar</type>
<exclusions>
<exclusion>
<artifactId>bcprov-jdk15on</artifactId>
<groupId>org.bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>mina-core</artifactId>
<groupId>org.apache.mina</groupId>
</exclusion>
<exclusion>
<artifactId>mina-integration-jmx</artifactId>
<groupId>org.apache.mina</groupId>
</exclusion>
<exclusion>
<artifactId>mina-integration-beans</artifactId>
<groupId>org.apache.mina</groupId>
</exclusion>
<exclusion>
<artifactId>commons-beanutils</artifactId>
<groupId>commons-beanutils</groupId>
</exclusion>
<exclusion>
<artifactId>commons-codec</artifactId>
<groupId>commons-codec</groupId>
</exclusion>
<exclusion>
<artifactId>commons-lang3</artifactId>
<groupId>org.apache.commons</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.red5</groupId>
<artifactId>red5-service</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.red5</groupId>
<artifactId>red5-service</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
<classifier>daemon</classifier>
</dependency>
<dependency>
<artifactId>mina-integration-beans</artifactId>
<groupId>org.apache.mina</groupId>
<version>${mina.version}</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>${quartz.version}</version>
<exclusions>
<exclusion>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
</exclusion>
<exclusion>
<artifactId>c3p0</artifactId>
<groupId>com.mchange</groupId>
</exclusion>
<exclusion>
<artifactId>HikariCP-java6</artifactId>
<groupId>com.zaxxer</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- Runtime plugin deps -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tomcatplugin</artifactId>
<version>${tomcatplugin.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<version>${tomcat.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-el</artifactId>
<version>${tomcat.version}</version>
<scope>provided</scope>
</dependency>
<!-- Provides CORS functionality http://software.dzhuvinov.com/cors-filter.html -->
<dependency>
<groupId>com.thetransactioncompany</groupId>
<artifactId>cors-filter</artifactId>
<version>${cors-filter.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>assemble</id>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<includeScope>compile</includeScope>
<excludeScope>test</excludeScope>
<excludeTransitive>false</excludeTransitive>
</configuration>
</execution>
<execution>
<id>copy-dependencies-plugin</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/plugins</outputDirectory>
<includeScope>provided</includeScope>
<excludeTransitive>false</excludeTransitive>
</configuration>
</execution>
<execution>
<id>copy-dependency-websocket-plugin</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.red5</groupId>
<artifactId>websocket</artifactId>
<version>${websocket.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/plugins</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-red5-service</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.red5</groupId>
<artifactId>red5-service</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
<classifier>daemon</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/server.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<!-- this is used for inheritance merges -->
<phase>package</phase>
<!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${project.artifactId}</finalName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>war</id>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/war.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<!-- this is used for inheritance merges -->
<phase>package</phase>
<!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
В приведенном выше POM есть куча зависимостей, связанных с tomcat. Так что я подозреваю, что мне не нужен плагин tomcat eclipse. Если мои предположения верны, работающий сервер Tomcat может быть обработан в коде. Вот полный репо