The compiling doc is very clear what we need for compiling.
https://github.com/apache/skywalking/blob/master/docs/en/guides/How-to-build.md

SkyWalking could run JDK 8-14, but compiling is another story.

Sheng Wu 吴晟
Twitter, wusheng1108


gaurav kodmalwar <[email protected]> 于2020年6月21日周日 下午2:48写道:

> I see error is coming from optional plugin, is there option to disable
> optional plugin from maven?
>
> On Sun, 21 Jun 2020 at 11:26, gaurav kodmalwar <[email protected]
> >
> wrote:
>
> > ok, previous error resolved by using additional option
> > (-Dmaven.test.skip=true -Dcheckstyle.skip) but now another error.
> >
> > [INFO] *BUILD FAILURE*
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time:  01:00 min
> > [INFO] Finished at: 2020-06-21T10:53:00+05:30
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
> > (default-compile) on project apm-spring-cloud-gateway-2.1.x-plugin:
> *Compilation
> > failure*
> > [ERROR]
> >
> /C:/Gaurav/software/K8S/apache-skywalking-apm-8.0.1/apm-sniffer/optional-plugins/optional-spring-plugins/optional-spring-cloud/gateway-2.1.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/spring/cloud/PaxHeader/HttpClientFinalizerResponseConnectionInterceptor.java:[1,1]
> > class, interface, or enum expected
> > [ERROR]
> > [ERROR] -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> > -e switch.
> > [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/MojoFailureException
> >
> > On Sun, 21 Jun 2020 at 09:06, Sheng Wu <[email protected]>
> wrote:
> >
> >> Image is not available on the mail list, you need to provide a link or
> >> paste the texts.
> >>
> >> This is a Java project, yes, you need to download dozens of
> dependencies.
> >> There are binary distribution already on the download page.
> >>
> >> Sheng Wu 吴晟
> >> Twitter, wusheng1108
> >>
> >>
> >> gaurav kodmalwar <[email protected]> 于2020年6月21日周日 上午11:31写道:
> >>
> >> > yeah, at-least I can access it from the browser. Is it related to
> >> timeout
> >> > or are there many dependencies in apm-network?
> >> >
> >> > [image: image.png]
> >> >
> >> > On Sun, 21 Jun 2020 at 08:55, Sheng Wu <[email protected]>
> >> wrote:
> >> >
> >> >> Is maven central accessible for you? We need that in compiling.
> >> >>
> >> >> Sheng Wu 吴晟
> >> >> Twitter, wusheng1108
> >> >>
> >> >>
> >> >> gaurav kodmalwar <[email protected]> 于2020年6月21日周日
> 上午11:18写道:
> >> >>
> >> >> > still failed. Does it really take such a long time?
> >> >> >
> >> >> > [INFO] *BUILD FAILURE*
> >> >> > [INFO]
> >> >> >
> >> ------------------------------------------------------------------------
> >> >> > [INFO] Total time:  *30:44 min*
> >> >> > [INFO] Finished at: 2020-06-21T08:34:39+05:30
> >> >> > [INFO]
> >> >> >
> >> ------------------------------------------------------------------------
> >> >> > *[ERROR] Failed to execute goal on project apm-network: Could not
> >> >> resolve
> >> >> > dependencies for project
> org.apache.skywalking:apm-network:jar:8.0.0:
> >> >> Could
> >> >> > not transfer artifact io.netty:netty-buffer:jar:4.1.42.Final
> from/to
> >> >> > central (https://repo.maven.apache.org/maven2
> >> >> > <https://repo.maven.apache.org/maven2>): GET request of:
> >> >> > io/netty/netty-buffer/4.1.42.Final/netty-buffer-4.1.42.Final.jar
> >> from
> >> >> > central failed: Read timed out -> [Help 1]*
> >> >> > [ERROR]
> >> >> > [ERROR] To see the full stack trace of the errors, re-run Maven
> with
> >> >> the -e
> >> >> > switch.
> >> >> > [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/DependencyResolutionException
> >> >> > [ERROR]
> >> >> > [ERROR] After correcting the problems, you can resume the build
> with
> >> the
> >> >> > command
> >> >> > [ERROR]   mvn <args> -rf :apm-network
> >> >> >
> >> >> > On Sun, 21 Jun 2020 at 07:56, Sheng Wu <[email protected]>
> >> >> wrote:
> >> >> >
> >> >> > > Can't see the reason, but likely test failure on your local env?
> >> >> > > Try `> mvn clean package -Dmaven.test.skip=true`.
> >> >> > >
> >> >> > > Sheng Wu 吴晟
> >> >> > > Twitter, wusheng1108
> >> >> > >
> >> >> > >
> >> >> > > gaurav kodmalwar <[email protected]> 于2020年6月21日周日
> >> 上午1:32写道:
> >> >> > >
> >> >> > > > I thought to run on latest version of skywalking i.e. 8 but
> >> there as
> >> >> > well
> >> >> > > > mvn clean package has failed with below error. Any idea what's
> >> >> > happening?
> >> >> > > >
> >> >> > > > [INFO] BUILD FAILURE
> >> >> > > > [INFO]
> >> >> > > >
> >> >> >
> >> ------------------------------------------------------------------------
> >> >> > > > [INFO] Total time:  *05:17 h*
> >> >> > > > [INFO] Finished at: 2020-06-20T22:50:30+05:30
> >> >> > > > [INFO]
> >> >> > > >
> >> >> >
> >> ------------------------------------------------------------------------
> >> >> > > > [ERROR] Failed to execute goal
> >> >> > > > *org.apache.maven.plugins:maven-surefire-plugin*:2.22.0:test
> >> >> > > (default-test)
> >> >> > > > on project apm-datacarrier: There are test failures.
> >> >> > > > [ERROR]
> >> >> > > > [ERROR] Please refer to
> >> >> > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> C:\Gaurav\software\K8S\apache-skywalking-apm-8.0.0\apm-commons\apm-datacarrier\target\surefire-reports
> >> >> > > > for the individual test results.
> >> >> > > > [ERROR] Please refer to dump files (if any exist)
> >> >> > [date]-jvmRun[N].dump,
> >> >> > > > [date].dumpstream and [date]-jvmRun[N].dumpstream.
> >> >> > > > [ERROR] -> [Help 1]
> >> >> > > > [ERROR]
> >> >> > > > [ERROR] To see the full stack trace of the errors, re-run Maven
> >> with
> >> >> > the
> >> >> > > -e
> >> >> > > > switch.
> >> >> > > > [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/MojoFailureException
> >> >> > > > [ERROR]
> >> >> > > > [ERROR] After correcting the problems, you can resume the build
> >> with
> >> >> > the
> >> >> > > > command
> >> >> > > > [ERROR]   mvn <args> -rf :apm-datacarrier
> >> >> > > >
> >> >> > > > On Sat, 20 Jun 2020 at 12:15, gaurav kodmalwar <
> >> >> > > [email protected]
> >> >> > > > >
> >> >> > > > wrote:
> >> >> > > >
> >> >> > > > > dear dev team,
> >> >> > > > >
> >> >> > > > > Any idea about below failures?
> >> >> > > > >
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> C:\apache-skywalking-apm-7.0.0-src\new\apache-skywalking-apm-7.0.0>*mvnw.cmd
> >> >> > > > > clean package*
> >> >> > > > > Exception calling "DownloadFile" with "2" argument(s): "The
> >> >> operation
> >> >> > > has
> >> >> > > > > timed out."
> >> >> > > > > At line:1 char:282
> >> >> > > > > + ... pe]::Tls12; $webclient.DownloadFile('
> >> >> > > > > https://repo.maven.apache.org/ma ...
> >> >> > > > > +
> >> >> > > >  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> >> > > > >     + CategoryInfo          : NotSpecified: (:) [],
> >> >> > > > > MethodInvocationException
> >> >> > > > >     + FullyQualifiedErrorId : WebException
> >> >> > > > >
> >> >> > > > > Error: Could not find or load main class
> >> >> > > > > org.apache.maven.wrapper.MavenWrapperMain
> >> >> > > > > Caused by: java.lang.ClassNotFoundException:
> >> >> > > > > org.apache.maven.wrapper.MavenWrapperMain
> >> >> > > > >
> >> >> > > > >
> >> >> > > > >
> >> >> > > > > [root@localhost apache-skywalking-apm-7.0.0]# *./mvnw clean
> >> >> package*
> >> >> > > > > Exception in thread "main" java.net.ConnectException:
> >> Connection
> >> >> > > refused
> >> >> > > > > (Connection refused)
> >> >> > > > >         at java.net.PlainSocketImpl.socketConnect(Native
> >> Method)
> >> >> > > > >         at
> >> >> > > > > java.net
> >> >> > > >
> >> .AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
> >> >> > > > >         at
> >> >> > > > > java.net
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> .AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
> >> >> > > > >         at
> >> >> > > > > java.net
> >> >> > > >
> >> .AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
> >> >> > > > >         at
> >> >> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> >> >> > > > >         at java.net.Socket.connect(Socket.java:589)
> >> >> > > > >         at
> >> >> > > sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
> >> >> > > > >         at
> >> >> > > > >
> >> >> >
> >> sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
> >> >> > > > >         at
> >> sun.net.NetworkClient.doConnect(NetworkClient.java:180)
> >> >> > > > >         at
> >> >> > sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
> >> >> > > > >         at
> >> >> > sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
> >> >> > > > >         at
> >> >> > > > >
> >> >> sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
> >> >> > > > >         at
> >> >> > > >
> sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.maven.wrapper.DefaultDownloader.downloadInternal(DefaultDownloader.java:90)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.maven.wrapper.DefaultDownloader.download(DefaultDownloader.java:76)
> >> >> > > > >         at
> >> >> > > >
> org.apache.maven.wrapper.Installer.createDist(Installer.java:72)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
> >> >> > > > >         at
> >> >> > > > >
> >> >> > >
> >> >>
> >> org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:61)
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >> >
> >>
> >
>

Reply via email to