代码拉取完成,页面将自动刷新
同步操作将从 dragonwarrior/netty-in-action-cn 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?xml version="1.0" encoding="ISO-8859-15"?>
<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>
<groupId>me.normanmaurer.nettyinaction</groupId>
<artifactId>netty-in-action</artifactId>
<name>netty-in-action</name>
<version>0.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<optimize>true</optimize>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
<argument>${mainClass}</argument>
<argument>${args}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.npn</groupId>
<artifactId>npn-api</artifactId>
<version>${npn.version}</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty.npn</groupId>
<artifactId>npn-boot</artifactId>
<version>${npn.boot.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<properties>
<npn.version>1.1.0.v20120525</npn.version>
<npn.boot.version>1.1.10.v20150130</npn.boot.version>
<netty.version>4.0.25.Final</netty.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<profiles>
<profile>
<id>chapter11-ChatServer</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
<argument>${mainClass}</argument>
<argument>${port}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<mainClass>com.manning.nettyinaction.chapter11.ChatServer</mainClass>
<port>9999</port>
</properties>
</profile>
<profile>
<id>chapter11-SecureChatServer</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
<argument>${mainClass}</argument>
<argument>${port}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<mainClass>com.manning.nettyinaction.chapter11.SecureChatServer</mainClass>
<port>9999</port>
</properties>
</profile>
<profile>
<id>chapter12-SpdyServer</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${npn.boot.version}/npn-boot-${npn.boot.version}.jar</argument>
<argument>-classpath</argument>
<classpath/>
<argument>${mainClass}</argument>
<argument>${port}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<mainClass>com.manning.nettyinaction.chapter12.SpdyServer</mainClass>
<port>9999</port>
</properties>
</profile>
<profile>
<id>chapter13-LogEventMonitor</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
<argument>${mainClass}</argument>
<argument>${port}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<mainClass>com.manning.nettyinaction.chapter13.LogEventMonitor</mainClass>
<port>9999</port>
</properties>
</profile>
<profile>
<id>chapter13-LogEventBroadcaster</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
<argument>${mainClass}</argument>
<argument>${port}</argument>
<argument>${logfile}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<mainClass>com.manning.nettyinaction.chapter13.LogEventBroadcaster</mainClass>
<port>9999</port>
<logfile>/var/log/messages</logfile>
</properties>
</profile>
</profiles>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。