New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find artifact native-src #2558

Closed
Lekanich opened this Issue Jun 10, 2014 · 58 comments

Comments

Projects
None yet
9 participants
@Lekanich

Lekanich commented Jun 10, 2014

Hello,
When I try to build Netty I see this error. It wants native-src.zip. Where do I can get it?

Error log:

[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.10:build (build-native-lib) on project netty-transport-native-epoll: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist. Could not find artifact io.netty:netty-transport-native-epoll:zip:native-src:4.0.20.Final-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 10, 2014

@Lekanich that is pretty strange... what os do you use ? Also did you try:
mvn -U clean package
?

@Lekanich

This comment has been minimized.

Lekanich commented Jun 10, 2014

@normanmaurer
[INFO] os.detected.name: linux
[INFO] os.detected.arch: x86_64
[INFO] os.detected.classifier: linux-x86_64

When I try do this, I take:
[ERROR] Failed to execute goal me.normanmaurer.maven.autobahntestsuite:autobahntestsuite-maven-plugin:0.1.3:fuzzingclient (default) on project netty-testsuite: Unable to start server: io.netty.testsuite.websockets.autobahn.AutobahnServer -> [Help 1]

Maybe it's because version is SNAPSHOT?

P.S.
I think it can't download this:
Downloading: https://oss.sonatype.org/content/repositories/snapshots/io/netty/netty-transport-native-epoll/4.0.20.Final-SNAPSHOT/netty-transport-native-epoll-4.0.20.Final-SNAPSHOT-native-src.zip

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 10, 2014

@Lekanich run with -X and paste the stacktrace please

@Lekanich

This comment has been minimized.

Lekanich commented Jun 10, 2014

I run: "-U -X clean package"

Dclassworlds.conf=/usr/lib/apache-maven/apache-maven-3.1.1/bin/m2.conf -Didea.launcher.port=7533 -Didea.launcher.bin.path=/home/alex/IDEA/idea-IU-135.475/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/apache-maven/apache-maven-3.1.1/boot/plexus-classworlds-2.5.1.jar:/home/alex/IDEA/idea-IU-135.475/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=13.1.3 -U -X clean package Downloading: https://oss.sonatype.org/content/repositories/snapshots/io/netty/netty-transport-native-epoll/4.0.20.Final-SNAPSHOT/netty-transport-native-epoll-4.0.20.Final-SNAPSHOT-native-src.zip
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 18:22:22+0300)
Maven home: /usr/lib/apache-maven/apache-maven-3.1.1
Java version: 1.8.0, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-22-generic", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/lib/apache-maven/apache-maven-3.1.1/conf/settings.xml
[DEBUG] Reading user settings from /home/alex/.m2/settings.xml
[DEBUG] Using local repository at /home/alex/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/alex/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=1, ConflictMarker.nodeCount=20, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=16, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=4, ConflictResolver.conflictItemCount=20, DefaultDependencyCollector.collectTime=69, DefaultDependencyCollector.transformTime=8}
[DEBUG] kr.motd.maven:os-maven-plugin:jar:1.2.3.Final:
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-model:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-artifact:jar:3.2.1:compile
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M5:compile
[DEBUG] javax.enterprise:cdi-api:jar:1.0:compile
[DEBUG] javax.annotation:jsr250-api:jar:1.0:compile
[DEBUG] javax.inject:javax.inject:jar:1:compile
[DEBUG] com.google.guava:guava:jar:10.0.1:compile
[DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:compile
[DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
[DEBUG] aopalliance:aopalliance:jar:1.0:compile
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.17:compile
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Created new class realm extension>kr.motd.maven:os-maven-plugin:1.2.3.Final
[DEBUG] Importing foreign packages into class realm extension>kr.motd.maven:os-maven-plugin:1.2.3.Final
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm extension>kr.motd.maven:os-maven-plugin:1.2.3.Final
[DEBUG] Included: kr.motd.maven:os-maven-plugin:jar:1.2.3.Final
[DEBUG] Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG] Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG] Included: javax.inject:javax.inject:jar:1
[DEBUG] Included: com.google.guava:guava:jar:10.0.1
[DEBUG] Included: com.google.code.findbugs:jsr305:jar:1.3.9
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG] Included: aopalliance:aopalliance:jar:1.0
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.17
[DEBUG] Extension realms for project io.netty:netty-parent:pom:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Created new class realm project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT
[DEBUG] Populating class realm project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-common:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-buffer:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-codec:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-codec-http:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-codec-socks:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-transport:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-transport-rxtx:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-transport-sctp:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-transport-udt:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-handler:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-example:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-testsuite:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-microbench:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-all:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-tarball:pom:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project io.netty:netty-transport-native-epoll:jar:4.0.20.Final-SNAPSHOT: [ClassRealm[extension>kr.motd.maven:os-maven-plugin:1.2.3.Final, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[project>io.netty:netty-parent:4.0.20.Final-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[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
[DEBUG] Extension realms for project org.sonatype.oss:oss-parent:pom:9: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Netty
[INFO] Netty/Common
[INFO] Netty/Buffer
[INFO] Netty/Transport
[INFO] Netty/Codec
[INFO] Netty/Handler
[INFO] Netty/Codec/HTTP
[INFO] Netty/Codec/Socks
[INFO] Netty/Transport/RXTX
[INFO] Netty/Transport/SCTP
[INFO] Netty/Transport/UDT
[INFO] Netty/Example
[INFO] Netty/Testsuite
[INFO] Netty/Microbench
[INFO] Netty/Transport/Native/Epoll
[INFO] Netty/All-in-One
[INFO] Netty/Tarball
[DEBUG] Resolving plugin prefix Downloading from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for http://repo.maven.apache.org/maven2
Downloading: http://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
[DEBUG] Writing tracking file /home/alex/.m2/repository/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom.lastUpdated
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for http://repo.maven.apache.org/maven2
Downloading: http://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
[DEBUG] Writing tracking file /home/alex/.m2/repository/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar.lastUpdated
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in central (http://repo.maven.apache.org/maven2)
org.apache.maven.plugin.PluginResolutionException: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in central (http://repo.maven.apache.org/maven2)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:133)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:146)
at org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:64)
at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:138)
at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:125)
at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:85)
at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
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)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in central (http://repo.maven.apache.org/maven2)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:129)
... 29 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in central (http://repo.maven.apache.org/maven2)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1012)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/home/alex/.m2/repository)
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/home/alex/.m2/repository)
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for http://repo.maven.apache.org/maven2
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for http://repo.maven.apache.org/maven2
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 113.4 KB/sec)
[DEBUG] Writing tracking file /home/alex/.m2/repository/org/apache/maven/plugins/resolver-status.properties
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (22 KB at 163.6 KB/sec)
[DEBUG] Writing tracking file /home/alex/.m2/repository/org/codehaus/mojo/resolver-status.properties
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/home/alex/.m2/repository)
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/home/alex/.m2/repository)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Netty ............................................. SKIPPED
[INFO] Netty/Common ...................................... SKIPPED
[INFO] Netty/Buffer ...................................... SKIPPED
[INFO] Netty/Transport ................................... SKIPPED
[INFO] Netty/Codec ....................................... SKIPPED
[INFO] Netty/Handler ..................................... SKIPPED
[INFO] Netty/Codec/HTTP .................................. SKIPPED
[INFO] Netty/Codec/Socks ................................. SKIPPED
[INFO] Netty/Transport/RXTX .............................. SKIPPED
[INFO] Netty/Transport/SCTP .............................. SKIPPED
[INFO] Netty/Transport/UDT ............................... SKIPPED
[INFO] Netty/Example ..................................... SKIPPED
[INFO] Netty/Testsuite ................................... SKIPPED
[INFO] Netty/Microbench .................................. SKIPPED
[INFO] Netty/Transport/Native/Epoll ...................... SKIPPED
[INFO] Netty/All-in-One .................................. SKIPPED
[INFO] Netty/Tarball ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.125s
[INFO] Finished at: Tue Jun 10 17:42:48 EEST 2014
[INFO] Final Memory: 16M/179M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'Downloading' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/alex/.m2/repository), central (http://repo.maven.apache.org/maven2)] -> [Help 1]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'Downloading' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/alex/.m2/repository), central (http://repo.maven.apache.org/maven2)]
at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:93)
at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
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)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

Process finished with exit code 1

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 10, 2014

@Lekanich try maven 3.2.1

@Lekanich

This comment has been minimized.

Lekanich commented Jun 10, 2014

@normanmaurer
Again when I use mvn -U -X clean package -Dmaven.test.skip=true

[ERROR] Failed to execute goal me.normanmaurer.maven.autobahntestsuite:autobahntestsuite-maven-plugin:0.1.3:fuzzingclient (default) on project netty-testsuite: Unable to start server: io.netty.testsuite.websockets.autobahn.AutobahnServer -> [Help 1]

Stack trace = 2Mb, maybe you want something concrete, I can't paste 2MB)

PS file with trace here

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 11, 2014

@Lekanich please upload it somewhere where I can get it without download a exe first. I'm on osx and linux ;)

@Lekanich

This comment has been minimized.

Lekanich commented Jun 12, 2014

@normanmaurer No ideas?

@Lekanich

This comment has been minimized.

Lekanich commented Jun 12, 2014

Maybe this better describes the problem.

[INFO]
[INFO] --- maven-hawtjni-plugin:1.10:build (build-native-lib) @ netty-transport-native-epoll ---
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/io/netty/netty-transport-native-epoll/4.0.20.Final-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://oss.sonatype.org/content/repositories/snapshots/io/netty/netty-transport-native-epoll/4.0.20.Final-SNAPSHOT/maven-metadata.xml (2 KB at 0.9 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/io/netty/netty-transport-native-epoll/4.0.20.Final-SNAPSHOT/netty-transport-native-epoll-4.0.20.Final-SNAPSHOT-native-src.zip
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Netty ............................................. SUCCESS [ 6.692 s]
[INFO] Netty/Common ...................................... SUCCESS [ 40.670 s]
[INFO] Netty/Buffer ...................................... SUCCESS [ 16.872 s]
[INFO] Netty/Transport ................................... SUCCESS [ 54.548 s]
[INFO] Netty/Codec ....................................... SUCCESS [ 13.620 s]
[INFO] Netty/Handler ..................................... SUCCESS [ 10.195 s]
[INFO] Netty/Codec/HTTP .................................. SUCCESS [ 11.963 s]
[INFO] Netty/Codec/Socks ................................. SUCCESS [ 6.309 s]
[INFO] Netty/Transport/RXTX .............................. SUCCESS [ 4.227 s]
[INFO] Netty/Transport/SCTP .............................. SUCCESS [ 5.542 s]
[INFO] Netty/Transport/UDT ............................... SUCCESS [ 22.572 s]
[INFO] Netty/Example ..................................... SUCCESS [ 6.468 s]
[INFO] Netty/Testsuite ................................... SUCCESS [11:17 min]
[INFO] Netty/Microbench .................................. SUCCESS [ 5.843 s]
[INFO] Netty/Transport/Native/Epoll ...................... FAILURE [ 7.151 s]
[INFO] Netty/All-in-One .................................. SKIPPED
[INFO] Netty/Tarball ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:54 min
[INFO] Finished at: 2014-06-12T16:15:02+02:00
[INFO] Final Memory: 98M/1439M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.10:build (build-native-lib) on project netty-transport-native-epoll: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist. Could not find artifact io.netty:netty-transport-native-epoll:zip:native-src:4.0.20.Final-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=io.netty -DartifactId=netty-transport-native-epoll -Dversion=4.0.20.Final-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[JENKINS] Archiving /var/lib/jenkins/jobs/netty-fork/workspace/transport-sctp/pom.xml to io.netty/netty-transport-sctp/4.0.20.Final-SNAPSHOT/netty-transport-sctp-4.0.20.Final-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/netty-fork/workspace/transport-sctp/target/netty-transport-sctp-4.0.20.Final-SNAPSHOT.jar to io.netty/netty-transport-sctp/4.0.20.Final-SNAPSHOT/netty-transport-sctp-4.0.20.Final-SNAPSHOT.jar
[JENKINS] Archiving /var/lib/jenkins/jobs/netty-fork/workspace/transport-sctp/target/netty-transport-sctp-4.0.20.Final-SNAPSHOT-sources.jar to io.netty/netty-transport-sctp/4.0.20.Final-SNAPSHOT/netty-transport-sctp-4.0.20.Final-SNAPSHOT-sources.jar
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=io.netty -DartifactId=netty-transport-native-epoll -Dversion=4.0.20.Final-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] io.netty:netty-transport-native-epoll:zip:4.0.20.Final-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]

@JatinderSingh

This comment has been minimized.

Contributor

JatinderSingh commented Jun 16, 2014

@normanmaurer i just upgraded to netty 4.0.20 i also got below error from netty jar in maven central

Exception in thread "main" java.lang.UnsatisfiedLinkError: no netty-transport-native-epoll in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:174)
at io.netty.channel.epoll.Native.(Native.java:46)
at io.netty.channel.epoll.EpollEventLoop.(EpollEventLoop.java:71)
at io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:71)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:64)
at io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:49)
at io.netty.channel.epoll.EpollEventLoopGroup.(EpollEventLoopGroup.java:56)
at io.netty.channel.epoll.EpollEventLoopGroup.(EpollEventLoopGroup.java:48)
at io.netty.channel.epoll.EpollEventLoopGroup.(EpollEventLoopGroup.java:41)
at io.netty.channel.epoll.EpollEventLoopGroup.(EpollEventLoopGroup.java:34)

Is this related to same issue?

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 18, 2014

@JatinderSingh what OS you try to use the native transport with ?

@JatinderSingh

This comment has been minimized.

Contributor

JatinderSingh commented Jun 18, 2014

@normanmaurer I got this error on ubuntu and centos,

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 18, 2014

Which versions?

Am 18.06.2014 um 08:06 schrieb JatinderSingh notifications@github.com:

@normanmaurer I got this error on ubuntu and centos,


Reply to this email directly or view it on GitHub.

@JatinderSingh

This comment has been minimized.

Contributor

JatinderSingh commented Jun 18, 2014

Ubuntu 12.04 and CentOS release 6.4 (Final). Same are working fine with 4.0.17.

@JatinderSingh

This comment has been minimized.

Contributor

JatinderSingh commented Jun 24, 2014

@normanmaurer in 4.0.20.Final jar the epoll native library file .so is missing (which caused above issue for me) was it moved to a different location?

@trustin

This comment has been minimized.

Member

trustin commented Jun 24, 2014

Yes, you have to specify the classifier when you pull it in, since 4.0.20. I've just update the wiki page. Sorry for the confusion: http://netty.io/wiki/native-transports.html

@trustin

This comment has been minimized.

Member

trustin commented Jun 24, 2014

BTW, I cannot reproduce the problem @Lekanich reported.

@JatinderSingh

This comment has been minimized.

Contributor

JatinderSingh commented Jun 24, 2014

Thanks @trustin I think this will solve issue i mentioned.

@Lekanich

This comment has been minimized.

Lekanich commented Jun 25, 2014

@trustin
What OS you use?
I use Ubuntu 13.10, and 13.04 and Mint 12 (can't buil on them)

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 25, 2014

@Lekanich I tried on ubuntu 14 and centos 6.5 ... worked so far.

@Lekanich

This comment has been minimized.

Lekanich commented Jun 25, 2014

Thanks for all.
I install

Debian/Ubuntu:
sudo apt-get install autoconf automake libtool make gcc-multilib tar
And it built well.

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 25, 2014

isn't this what is explained in our docs ;) ?

@Lekanich

This comment has been minimized.

Lekanich commented Jun 25, 2014

Yeh, but for me it was not so obvious.)

@Lekanich

This comment has been minimized.

Lekanich commented Jun 25, 2014

And now I have new Error( maybe I again didn't readsomething?):

INFO] --- maven-hawtjni-plugin:1.10:build (build-native-lib) @ netty-transport-native-epoll ---
[INFO] executing: /bin/sh -c ./autogen.sh
[INFO] executing: /bin/sh -c ./configure --disable-ccache --prefix=/media/vbox/jenkins/jobs/netty-fork/workspace/transport-native-epoll/target/native-build/target
[INFO] executing: /bin/sh -c make install
[INFO] /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -g -O2 -I/usr/lib/jvm/jdk1.8.0//include -I/usr/lib/jvm/jdk1.8.0//include/linux -c -o src/io_netty_channel_epoll_Native.lo src/io_netty_channel_epoll_Native.c
[INFO] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -g -O2 -I/usr/lib/jvm/jdk1.8.0//include -I/usr/lib/jvm/jdk1.8.0//include/linux -c src/io_netty_channel_epoll_Native.c -fPIC -DPIC -o src/.libs/io_netty_channel_epoll_Native.o
[INFO] src/io_netty_channel_epoll_Native.c: In function 'getOption':
[INFO] src/io_netty_channel_epoll_Native.c:110:5: warning: passing argument 4 of 'getsockopt' discards 'const' qualifier from pointer target type [enabled by default]
[INFO] In file included from /usr/include/netinet/tcp.h:66:0,
[INFO] from src/io_netty_channel_epoll_Native.c:23:
[INFO] /usr/include/x86_64-linux-gnu/sys/socket.h:220:12: note: expected 'void * restrict' but argument is of type 'const void '
[INFO] src/io_netty_channel_epoll_Native.c: At top level:
[INFO] src/io_netty_channel_epoll_Native.c:653:6: warning: conflicting types for 'incrementPosition' [enabled by default]
[INFO] src/io_netty_channel_epoll_Native.c:564:9: note: previous implicit declaration of 'incrementPosition' was here
[INFO] src/io_netty_channel_epoll_Native.c: In function 'Java_io_netty_channel_epoll_Native_setReusePort':
[INFO] src/io_netty_channel_epoll_Native.c:987:36: error: 'SO_REUSEPORT' undeclared (first use in this function)
[INFO] src/io_netty_channel_epoll_Native.c:987:36: note: each undeclared identifier is reported only once for each function it appears in
[INFO] src/io_netty_channel_epoll_Native.c: In function 'Java_io_netty_channel_epoll_Native_isReusePort':
[INFO] src/io_netty_channel_epoll_Native.c:1052:40: error: 'SO_REUSEPORT' undeclared (first use in this function)
[INFO] make: *
* [src/io_netty_channel_epoll_Native.lo] Error 1
[INFO] rc: 2

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 25, 2014

you need to have kernel >= 3.x to compile the native stuff. What kernel version you have ?

@Lekanich

This comment has been minimized.

Lekanich commented Jun 25, 2014

You mean this?
uname -r
3.8.0-35-generic

@trustin

This comment has been minimized.

Member

trustin commented Jun 26, 2014

@normanmaurer Maybe we are missing a '.h' file in the includes? The kernel folks might have moved SO_REUSEPORT to a different header file for example.

@Lekanich Could you try to build it after adding the following line:

#include <asm/socket.h>

to src/main/c/io_netty_channel_epoll_Native.c, right after the following line:

#include <sys/socket.h>
@Lekanich

This comment has been minimized.

Lekanich commented Jun 26, 2014

@trustin
I added and then have same error.

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jun 26, 2014

@Lekanich can you tell me the exact version of debian/ubuntu you use so I can install on a vm and reproduce ?

@trustin

This comment has been minimized.

Member

trustin commented Jul 1, 2014

That's interesting. So, it's being deprecated. @normanmaurer, we should deprecate it, too? I also would use #ifundef-#define trick to define it. (it's 15 anyways)

@trustin trustin reopened this Jul 1, 2014

@trustin trustin added defect and removed not a bug labels Jul 1, 2014

@trustin trustin added this to the 4.0.22.Final milestone Jul 1, 2014

@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jul 2, 2014

@trustin where do you read that it is deprecated ? I don't think this is true... the stackoverflow article is from 2010

@trustin

This comment has been minimized.

Member

trustin commented Jul 2, 2014

Ugh, I misread it. No deprecation. We should do this anyways:

#ifndef SO_REUSEPORT
#define SO_REUSEPORT 15
#endif

normanmaurer pushed a commit that referenced this issue Jul 2, 2014

Norman Maurer
[#2558] Define SO_REUSEPORT if not defined
Motivation:

Currently it is impossible to build netty on linux system that not define SO_REUSEPORT even if it is supported.

Modification:

Define SO_REUSEPORT if not defined.

Result:

Possible to build on more linux dists.

normanmaurer pushed a commit that referenced this issue Jul 2, 2014

Norman Maurer
[#2558] Define SO_REUSEPORT if not defined
Motivation:

Currently it is impossible to build netty on linux system that not define SO_REUSEPORT even if it is supported.

Modification:

Define SO_REUSEPORT if not defined.

Result:

Possible to build on more linux dists.

normanmaurer pushed a commit that referenced this issue Jul 2, 2014

Norman Maurer
[#2558] Define SO_REUSEPORT if not defined
Motivation:

Currently it is impossible to build netty on linux system that not define SO_REUSEPORT even if it is supported.

Modification:

Define SO_REUSEPORT if not defined.

Result:

Possible to build on more linux dists.
@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Jul 2, 2014

@trustin done... Thanks to all of you for the comments !

@normanmaurer normanmaurer self-assigned this Aug 14, 2014

@jazzmr

This comment has been minimized.

jazzmr commented Sep 18, 2014

hello,I downloads os-maven-plugin-1.2.3.Final.jar to eclipse plugins folder, all projects works well except
neety-transport-native-epoll has some errors. eclipse tips me that "build-helper-plugin:1.7:regex-property" error.

org.codehaus.mojo build-helper-maven-plugin 1.7 initialize regex-glibc-sendmmsg regex-property glibc.sendmmsg.support ${ldd_version} ^((?!^[^)]+)\s+(0_2.1[4-9]|0_2.[2-9][0-9]+|0_[3-9][0-9]_|0_[1-9]+[0-9]+)._).)_$ IO_NETTY_SENDMSSG_NOT_FOUND false initialize regex-linux-sendmmsg regex-property linux.sendmmsg.support ${uname_os_version} ^((?!^[0-9]_[3-9].?._).)_$ IO_NETTY_SENDMSSG_NOT_FOUND false generate-sources regex-combined-sendmmsg regex-property jni.compiler.args ${linux.sendmmsg.support}${glibc.sendmmsg.support} ._IO_NETTY_SENDMSSG_NOT_FOUND._ CFLAGS="-DIO_NETTY_SENDMMSG_NOT_FOUND" false generate-sources regex-unset-if-needed-sendmmsg regex-property jni.compiler.args ${jni.compiler.args} ^((?!CFLAGS=).)*$ CFLAGS="" false

above node is red color....it's seems tell me is something wrong~

@jazzmr

This comment has been minimized.

jazzmr commented Sep 18, 2014

execution node is wrong....

@trustin

This comment has been minimized.

Member

trustin commented Sep 18, 2014

could you please format your comment? I also would like to know the exact OS, JDK, and Maven version.

@jazzmr

This comment has been minimized.

jazzmr commented Sep 19, 2014

sorry,how can I format the xml. OS is mac os X 10.9.5,jdk is 1.7.0_67, maven is apache 3.1.1

@jazzmr

This comment has been minimized.

jazzmr commented Sep 19, 2014

eclipse tips 'Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property (execution: regex-combined-sendmmsg, phase:
generate-sources)'

@Scottmitch

This comment has been minimized.

Member

Scottmitch commented Sep 19, 2014

@jiangzhangzhi - You can also take a screen shot of the relevant error and post it if that is easier.

Also what version of eclipse and m2e are you running?

@Scottmitch

This comment has been minimized.

Member

Scottmitch commented Sep 19, 2014

@jiangzhangzhi - Also as an experiment can you make a few changes in transport-native-epoll/pom.xml to see if this fixes the issue?

Try to change all of the <phase>...</phase> contents in the <artifactId>build-helper-maven-plugin</artifactId> plugin to <phase>validate</phase>. Let me know what the results of this experiment are.

@jazzmr

This comment has been minimized.

jazzmr commented Sep 19, 2014

thinks, It's OK now, I try to ignore the errors then run Maven->Update Project.

@Scottmitch

This comment has been minimized.

Member

Scottmitch commented Sep 19, 2014

@jiangzhangzhi - Glad to hear things are working for you. Just to clarify...are things working after you made the changes to transport-native-epoll/pom.xml or could you explain what you did? I want to make sure if it is an issue on our end we fix it so others will also not experience issues. Thanks!

@junjiemars

This comment has been minimized.

junjiemars commented Mar 10, 2015

I'd the following maven output, after run: mvn -X -U clean package under the transport-native-epoll dir:

Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/jdk1.6.0_45/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-69-generic-pae", arch: "i386", family: "unix"
...
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:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:259)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:242)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)

My Ubuntu box with Linux K27 3.2.0-69-generic-pae #103-Ubuntu SMP Tue Sep 2 05:15:53 UTC 2014 i686 i686 i686 GNU/Linux,
and netty branch is : 4.1,
needs help.

@trustin

This comment has been minimized.

Member

trustin commented Mar 10, 2015

Please upgrade your Maven to the latest stable version. 3.0 is way too old.

@junjiemars

This comment has been minimized.

junjiemars commented Mar 10, 2015

mvn -version:

Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/jdk1.6.0_45/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-69-generic-pae", arch: "i386", family: "unix"
@normanmaurer

This comment has been minimized.

Member

normanmaurer commented Mar 10, 2015

@junjiemars like @trustin said you need to upgrade. 3.2.1 or later works great

@junjiemars

This comment has been minimized.

junjiemars commented Mar 10, 2015

@normanmaurer yes, I'd upgraded to maven 3.2.x, the issue gone, but I can not resolve this issue

@ghost

This comment has been minimized.

ghost commented Jun 23, 2016

@normanmaurer @trustin thanks, i meet the same problem before i upgraded to maven 3.3.9

@bedlimate

This comment has been minimized.

bedlimate commented Feb 18, 2018

@normanmaurer I meet the same problem.
mvn -version:
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T15:58:13+08:00)
Maven home: /usr/share/maven
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: /usr/local/lib/jdk1.8.0_161/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: "unix"

After run mvn -U clean package -e under transport-native-epoll dir:
[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.14:build (build-native-lib) on project netty-transport-native-epoll: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.: Could not find artifact io.netty:netty-transport-native-epoll:zip:native-src:4.1.22.Final-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=io.netty -DartifactId=netty-transport-native-epoll -Dversion=4.1.22.Final-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=io.netty -DartifactId=netty-transport-native-epoll -Dversion=4.1.22.Final-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] io.netty:netty-transport-native-epoll:zip:4.1.22.Final-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.14:build (build-native-lib) on project netty-transport-native-epoll: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:498)
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: org.apache.maven.plugin.MojoExecutionException: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.
at org.fusesource.hawtjni.maven.BuildMojo.execute (BuildMojo.java:254)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:498)
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: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.
at org.fusesource.hawtjni.maven.BuildMojo.downloadNativeSourcePackage (BuildMojo.java:409)
at org.fusesource.hawtjni.maven.BuildMojo.configureBasedBuild (BuildMojo.java:331)
at org.fusesource.hawtjni.maven.BuildMojo.execute (BuildMojo.java:245)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:498)
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: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Could not find artifact io.netty:netty-transport-native-epoll:zip:native-src:4.1.22.Final-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=io.netty -DartifactId=netty-transport-native-epoll -Dversion=4.1.22.Final-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=io.netty -DartifactId=netty-transport-native-epoll -Dversion=4.1.22.Final-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

io.netty:netty-transport-native-epoll:zip:4.1.22.Final-SNAPSHOT

from the specified remote repositories:
sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true),
central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:221)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways (DefaultArtifactResolver.java:161)
at org.fusesource.hawtjni.maven.BuildMojo.downloadNativeSourcePackage (BuildMojo.java:405)
at org.fusesource.hawtjni.maven.BuildMojo.configureBasedBuild (BuildMojo.java:331)
at org.fusesource.hawtjni.maven.BuildMojo.execute (BuildMojo.java:245)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:498)
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: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact io.netty:netty-transport-native-epoll:zip:native-src:4.1.22.Final-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:422)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:224)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:201)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:260)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:215)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways (DefaultArtifactResolver.java:161)
at org.fusesource.hawtjni.maven.BuildMojo.downloadNativeSourcePackage (BuildMojo.java:405)
at org.fusesource.hawtjni.maven.BuildMojo.configureBasedBuild (BuildMojo.java:331)
at org.fusesource.hawtjni.maven.BuildMojo.execute (BuildMojo.java:245)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:498)
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: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.netty:netty-transport-native-epoll:zip:native-src:4.1.22.Final-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed (ArtifactTransportListener.java:48)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:365)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (RunnableErrorForwarder.java:75)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute (BasicRepositoryConnector.java:583)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRepositoryConnector.java:259)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:498)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:399)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:224)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:201)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:260)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:215)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways (DefaultArtifactResolver.java:161)
at org.fusesource.hawtjni.maven.BuildMojo.downloadNativeSourcePackage (BuildMojo.java:405)
at org.fusesource.hawtjni.maven.BuildMojo.configureBasedBuild (BuildMojo.java:331)
at org.fusesource.hawtjni.maven.BuildMojo.execute (BuildMojo.java:245)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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:498)
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)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment