Skip to content

Instantly share code, notes, and snippets.

@rektide
Created October 19, 2014 18:18
Show Gist options
  • Save rektide/957724614081c43f34ab to your computer and use it in GitHub Desktop.
Save rektide/957724614081c43f34ab to your computer and use it in GitHub Desktop.
Deriving from Netty-parent
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: linux
[INFO] os.detected.arch: x86_64
[INFO] os.detected.classifier: linux-x86_64
---------------------------------------------------
constituent[0]: file:/usr/share/maven/lib/wagon-http-shaded.jar
constituent[1]: file:/usr/share/maven/lib/plexus-interpolation.jar
constituent[2]: file:/usr/share/maven/lib/aether-spi.jar
constituent[3]: file:/usr/share/maven/lib/maven-core-3.x.jar
constituent[4]: file:/usr/share/maven/lib/commons-codec.jar
constituent[5]: file:/usr/share/maven/lib/sisu-guice.jar
constituent[6]: file:/usr/share/maven/lib/maven-settings-3.x.jar
constituent[7]: file:/usr/share/maven/lib/guava.jar
constituent[8]: file:/usr/share/maven/lib/maven-compat-3.x.jar
constituent[9]: file:/usr/share/maven/lib/sisu-inject-plexus.jar
constituent[10]: file:/usr/share/maven/lib/plexus-cipher.jar
constituent[11]: file:/usr/share/maven/lib/maven-settings-builder-3.x.jar
constituent[12]: file:/usr/share/maven/lib/maven-artifact-3.x.jar
constituent[13]: file:/usr/share/maven/lib/commons-logging.jar
constituent[14]: file:/usr/share/maven/lib/aether-connector-wagon.jar
constituent[15]: file:/usr/share/maven/lib/plexus-sec-dispatcher.jar
constituent[16]: file:/usr/share/maven/lib/plexus-utils.jar
constituent[17]: file:/usr/share/maven/lib/maven-plugin-api-3.x.jar
constituent[18]: file:/usr/share/maven/lib/aether-api.jar
constituent[19]: file:/usr/share/maven/lib/maven-model-builder-3.x.jar
constituent[20]: file:/usr/share/maven/lib/plexus-component-annotations.jar
constituent[21]: file:/usr/share/maven/lib/maven-repository-metadata-3.x.jar
constituent[22]: file:/usr/share/maven/lib/wagon-file.jar
constituent[23]: file:/usr/share/maven/lib/wagon-provider-api.jar
constituent[24]: file:/usr/share/maven/lib/sisu-inject-bean.jar
constituent[25]: file:/usr/share/maven/lib/aether-util.jar
constituent[26]: file:/usr/share/maven/lib/maven-aether-provider-3.x.jar
constituent[27]: file:/usr/share/maven/lib/commons-cli.jar
constituent[28]: file:/usr/share/maven/lib/maven-embedder-3.x.jar
constituent[29]: file:/usr/share/maven/lib/maven-model-3.x.jar
constituent[30]: file:/usr/share/maven/lib/aether-impl.jar
constituent[31]: file:/usr/share/maven/lib/commons-httpclient.jar
---------------------------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/aether/RepositorySystemSession
at kr.motd.maven.os.DetectExtension.injectSession(DetectExtension.java:115)
at kr.motd.maven.os.DetectExtension.afterProjectsRead(DetectExtension.java:92)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.RepositorySystemSession
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 15 more
<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>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>4.1.0.Beta3</version>
</parent>
<groupId>com.voodoowarez.etsockera</groupId>
<artifactId>etsockera</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Etsockera</name>
<description>Double listening websocket forwarder</description>
<properties>
<netty.version>4.1.0.Beta3</netty.version>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-transport</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-transport-sctp</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-handler</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-handler-proxy</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-codec-http</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-codec-memcache</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-codec-http2</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-codec-socks</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-codec-stomp</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-tcnative</artifactId>
<classifier>${os.detected.classifier}</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.npn</groupId>
<artifactId>npn-api</artifactId>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jzlib</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<scope>runtime</scope>
</dependency>
<!-- see https://github.com/netty/netty/issues/874 -->
<dependency>
<groupId>com.yammer.metrics</groupId>
<artifactId>metrics-core</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-transport-udt</artifactId>
<version>${netty.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-transport-rxtx</artifactId>
<version>${netty.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- run-example.sh invokes this plugin to launch an example. -->
<!--
<plugin>
<groupId>kr.motd.maven</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>${java.home}/bin/java</executable>
<commandlineArgs>
${argLine.common}
${argLine.bootcp}
-classpath %classpath
${argLine.leak}
${argLine.coverage}
${argLine.example}
${exampleClass}
</commandlineArgs>
</configuration>
</plugin>
-->
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment