Total time: 10.027s
Finished at: Wed Jul 26 11:25:21 ART 2017
Final Memory: 26M/323M
Failed to execute goal on project core: Could not resolve dependencies for project cc.blynk.server:core:jar:0.25.4: Failure to find cc.blynk.server.acme:acme:jar:0.25.4 in https://jitpack.io was cached in the local repository, resolution will not be reattempted until the update interval of jitpack.io has elapsed or updates are forced -> [Help 1]
Dear Mr Dmitriy,
Iam using cmd: mvn clean install -Dmaven.test.skip=true
and it do not build Blynk Server from sources 0.27.2
Can you help me check and fix?
Thank you very much
Dear Mr @Dmitriy
Good morning,
Today i reinstall JDK (jdk-8u144-windows-x64.exe) again and build sources Local Blynk v0.27.1 it working now.
and run build from sources Local Blynk v0.27.2 it do not working.
I don’t know it problem and can you help advis fix for me?
Thank you very much
Please see the 2 picture below:
1/ v0.27.1
blynk-server-0.27.2\server\notifications\email\src\main\java\cc\blynk\server\notifications\mail\GMailClient.java:0: error: File does not end with a newline.
blynk-server-0.27.2\server\notifications\email\src\main\java\cc\blynk\server\notifications\mail\MailClient.java:0: error: File does not end with a newline.
blynk-server-0.27.2\server\notifications\email\src\main\java\cc\blynk\server\notifications\mail\MailWrapper.java:0: error: File does not end with a newline.
blynk-server-0.27.2\server\notifications\email\src\main\java\cc\blynk\server\notifications\mail\QrHolder.java:0: error: File does not end with a newline.
blynk-server-0.27.2\server\notifications\email\src\main\java\cc\blynk\server\notifications\mail\SparkPostMailClient.java:0: error: File does not end with a newline.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Blynk Server ....................................... SUCCESS [ 5.695 s]
[INFO] server ............................................. SUCCESS [ 2.231 s]
[INFO] utils .............................................. FAILURE [ 3.925 s]
[INFO] notifications ...................................... SKIPPED
[INFO] email .............................................. SKIPPED
[INFO] push ............................................... SKIPPED
[INFO] twitter ............................................ SKIPPED
[INFO] sms ................................................ SKIPPED
[INFO] acme ............................................... SKIPPED
[INFO] core ............................................... SKIPPED
[INFO] http-core .......................................... SKIPPED
[INFO] http-admin ......................................... SKIPPED
[INFO] tcp-hardware-server ................................ SKIPPED
[INFO] tcp-app-server ..................................... SKIPPED
[INFO] http-api ........................................... SKIPPED
[INFO] launcher ........................................... SKIPPED
[INFO] tools .............................................. SKIPPED
[INFO] client ............................................. SKIPPED
[INFO] miner .............................................. SKIPPED
[INFO] integration-tests .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.288 s
[INFO] Finished at: 2018-01-28T17:30:35+07:00
[INFO] Final Memory: 19M/314M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project utils: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project utils: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
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:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.compiler.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1165)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:168)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :utils
C:\Program Files\Java\jre1.8.0_161
I build with latest source >0.30.3-SNAPSHOT
command clean install -Dmaven.test.skip=true -X
and i tried mvn clean install -Dmaven.test.skip=true -Dcheckstyle.skip=true
but it still not work.
please help me check it
Hi Dmitriy.
May i found where is problem
That detect [DEBUG] C:\Program Files\Java\jre-9.0.4\bin\javac to build
i fixed path:
configuration>
source>9/source>
target>9
fork>true/fork>
executable>C:\Program Files\Java\jdk-9.0.4\bin\javac/executable>
excludes>
exclude>${version.specific.exclusions}/exclude>
excludes>
/configuration>
now it work well.
Thank you very much.