This project is just a parent POM for all other Java projects in "jcabi family".
See www.jcabi.com website for more details.
SSL Plugin for Apache Maven: it generates fake SSL certificates for the testing purposes of your Java web app
Home Page: https://ssl.jcabi.com/index.html
License: Other
This project is just a parent POM for all other Java projects in "jcabi family".
See www.jcabi.com website for more details.
Please, publish a new release 0.12 (or higher). Don't forget to update us here regularly (at least once a week), as explained in this article.
yegor256/s3auth#191 needs updates intoduced in jcabi-ssl-maven-plugin by #8.
Please add information on how I can get to know the latest release version of jcabi-ssl-maven-plugin.
For example, the bugfix for issue #4 was merged. Now I want to know what version I have to write in pom.xml
of as s3auth proect, which uses jcabi-ssl-maven-plugin in order for that bugfix to be present in s3auth build.
One solution: Provide a short description in README.md on where to get the latest release version.
When I try to run mvn clean install -Pqulice
in s3auth, I get lots of warnings like takes mor e than 1min, 14min already
and nothing seems to happen.
Here's the output:
DP118M@DP118M-PC /D/dev/teamed.io/s3auth (s3auth-202)
$ mvn clean install -Pqulice
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] s3auth
[INFO] s3auth-hosts
[INFO] s3auth-relay
[INFO] s3auth-rest
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building s3auth 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ s3auth ---
[INFO] Deleting d:\dev\teamed.io\s3auth\target
[INFO]
[INFO] --- jcabi-ssl-maven-plugin:0.7.22:keygen (default) @ s3auth ---
[ERROR] JSR-303 validator failed to initialize: Unable to create a Configuration
, because no Bean Validation provider could be found. Add a provider like Hibern
ate Validator (RI) to your classpath. (see http://www.jcabi.com/jcabi-aspects/js
r-303.html)
[INFO] jcabi-aspects 0.7.22/fd7496f started new daemon thread jcabi-loggable for
watching of @Loggable annotated methods
[WARNING] #genkey(): takes more than 1min, 2min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 2min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 3min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 3min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 4min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 4min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 5min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 5min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 6min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 6min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 7min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 7min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 8min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 8min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 9min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 9min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 10min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 10min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 11min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 11min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 12min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 12min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 13min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 13min already, thread=main/RUNNABLE
[WARNING] #genkey(): takes more than 1min, 14min already, thread=main/RUNNABLE
[WARNING] #activate(d:\\dev\\teamed.io\\s3auth\\target\\keystore.jks): takes mor
e than 1min, 14min already, thread=main/RUNNABLE
I'm using Maven 3.2.2:
DP118M@DP118M-PC /D/dev/teamed.io/rultor (rultor-681)
$ mvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T17:51:4
2+04:00)
Maven home: c:\Program Files\apache-maven-3.2.2
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.7.0_45\jre
Default locale: de_AT, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
As stated in yegor256/s3auth#234 , this is a bug in jcabi-ssl-maven-plugin.
How can I fix this error (make mvn clean install -Pqulice
actually build s3auth in a reasonable time) ?
[INFO] [WARNING] The requested profile "qulice" could not be activated because it does not exist. [INFO] run script verify.groovy [INFO] Running post-build script: Z:\jcabi-ssl-maven-plugin\target\it\end-to-end\verify.groovy [INFO] Finished post-build script: Z:\jcabi-ssl-maven-plugin\target\it\end-to-end\verify.groovy [INFO] ..SUCCESS (6.7 s) [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 1, Failed: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [INFO] [INFO] --- qulice-maven-plugin:0.10:check (jcabi-check) @ jcabi-ssl-maven-plugin --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:36 min [INFO] Finished at: 2015-01-27T14:38:06+03:00 [INFO] Final Memory: 39M/247M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.10:check (jcabi-check) on project jcabi-ssl-maven-plugin: Execution jcabi-ch eck of goal com.qulice:qulice-maven-plugin:0.10:check failed: Illegal character in path at index 19: file://C:/Documents and Settings/JustUs er/.m2/repository/com/jcabi/jcabi-log/0.15.1/jcabi-log-0.15.1.jar -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.qulice:qulice-maven-plugin:0.10:check (jcabi-check) on pr oject jcabi-ssl-maven-plugin: Execution jcabi-check of goal com.qulice:qulice-maven-plugin:0.10:check failed: Illegal character in path at i ndex 19: file://C:/Documents and Settings/JustUser/.m2/repository/com/jcabi/jcabi-log/0.15.1/jcabi-log-0.15.1.jar at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.PluginExecutionException: Execution jcabi-check of goal com.qulice:qulice-maven-plugin:0.10:check failed: Illegal character in path at index 19: file://C:/Documents and Settings/JustUser/.m2/repository/com/jcabi/jcabi-log/0.15.1/jcabi-log-0.15.1 .jar at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 19: file://C:/Documents and Settings/JustUser/.m2/reposito ry/com/jcabi/jcabi-log/0.15.1/jcabi-log-0.15.1.jar at java.net.URI.create(URI.java:859) at com.qulice.maven.DefaultMavenEnvironment.classloader(DefaultMavenEnvironment.java:152) at com.qulice.checkstyle.CheckstyleValidator.validate(CheckstyleValidator.java:81) at com.qulice.maven.CheckMojo.run(CheckMojo.java:83) at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:59) at com.qulice.maven.AbstractQuliceMojo.execute(AbstractQuliceMojo.java:175) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 20 more Caused by: java.net.URISyntaxException: Illegal character in path at index 19: file://C:/Documents and Settings/JustUser/.m2/repository/com/ jcabi/jcabi-log/0.15.1/jcabi-log-0.15.1.jar at java.net.URI$Parser.fail(URI.java:2829) at java.net.URI$Parser.checkChars(URI.java:3002) at java.net.URI$Parser.parseHierarchical(URI.java:3086) at java.net.URI$Parser.parse(URI.java:3034) at java.net.URI.(URI.java:595) at java.net.URI.create(URI.java:857) ... 26 more [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/PluginExecutionException Z:\jcabi-ssl-maven-plugin>
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
org.junit.jupiter:junit-jupiter-engine
, org.junit.vintage:junit-vintage-engine
).github/workflows/codecov.yml
actions/checkout v3
actions/setup-java v3
actions/cache v3
codecov/codecov-action v3
ubuntu 20.04
.github/workflows/mvn.yml
actions/checkout v3
actions/setup-java v3
actions/cache v3
.github/workflows/pdd.yml
actions/checkout v3
ubuntu 20.04
.github/workflows/xcop.yml
actions/checkout v3
ubuntu 20.04
pom.xml
com.jcabi:jcabi 1.34.1
com.jcabi:jcabi-log 0.22.0
com.jcabi:jcabi-aspects 0.24.1
com.jcabi:jcabi-maven-slf4j 0.12.2
org.projectlombok:lombok 1.18.24
org.aspectj:aspectjrt 1.9.9.1
javax.validation:validation-api 2.0.1.Final
org.hibernate.validator:hibernate-validator 6.0.20.Final
org.glassfish:javax.el 3.0.1-b12
org.slf4j:slf4j-log4j12 2.0.0-beta1
log4j:log4j 1.2.17
org.apache.maven:maven-plugin-api 3.8.6
org.apache.maven:maven-artifact 3.8.6
org.apache.maven:maven-settings 3.8.6
org.apache.maven:maven-model 3.8.6
org.apache.maven:maven-core 3.8.6
commons-io:commons-io 2.11.0
commons-codec:commons-codec 1.15
junit:junit 4.13.2
org.junit.vintage:junit-vintage-engine 5.9.0
org.junit.jupiter:junit-jupiter-engine 5.9.0
org.mockito:mockito-core 1.10.19
org.hamcrest:hamcrest-core 2.2
com.qulice:qulice-maven-plugin 0.13
src/it/end-to-end/pom.xml
I've tried three(3)times as "mvn clean install -Pqulice".
The process duration had from 57sec to 1 min.
I see that the person of bug report used Windows OS.
And procBuilder from Keytool.java run as "%s/bin/keytool" as linux OS process.
thanks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.547 s
[INFO] Finished at: 2015-01-14T20:32:22-03:00
[INFO] Final Memory: 113M/616M
[INFO] ------------------------------------------------------------------------
alex@ubuntu:~/workspace/jcabi-ssl-maven-plugin$
Build logs attached.
ip-192-168-3-104:jcabi-ssl-maven-plugin roman$ ~/apache-maven-3.2.5/bin/mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T21:29:23+04:00)
Maven home: /Users/roman/apache-maven-3.2.5
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: ru_RU, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
ip-192-168-3-104:jcabi-ssl-maven-plugin roman$ ~/apache-maven-3.2.5/bin/mvn verify -Pqulice
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jcabi-ssl-maven-plugin 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-plugin-plugin:3.2:helpmojo (generated-helpmojo) @ jcabi-ssl-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[WARNING] Error injecting: org.jfrog.maven.annomojo.extractor.AnnoMojoDescriptorExtractor
java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2663)
at java.lang.Class.getDeclaredConstructors(Class.java:2012)
at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:657)
at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:875)
at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798)
at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281)
at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213)
at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044)
at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54)
at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113)
at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122)
at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at java.util.AbstractMap.get(AbstractMap.java:187)
at org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:99)
at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:233)
at org.apache.maven.plugin.plugin.HelpGeneratorMojo.execute(HelpGeneratorMojo.java:88)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
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: com.sun.mirror.apt.AnnotationProcessorFactory
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)
... 59 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.113 s
[INFO] Finished at: 2015-01-17T21:34:41+04:00
[INFO] Final Memory: 17M/251M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:helpmojo (generated-helpmojo) on project jcabi-ssl-maven-plugin: The API of the mojo scanner is not compatible with this plugin version. Please check the plugin dependencies configured in the POM and ensure the versions match. com/sun/mirror/apt/AnnotationProcessorFactory: com.sun.mirror.apt.AnnotationProcessorFactory -> [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/MojoExecutionException
mvn qulice:check -Pqulice
Line does not match expected header line of ' * BSD License'. (HeaderCheck)
messages.This is a known bug of qulice configuration in parent-0.31 (jcabi/jcabi-parent#19), accessed via jcabi-0.16. Suggested action is waiting until jcabi/jcabi#297 fix is released and upgrading jcabi version.
Steps to reproduce:
git pull origin master
mvn clean install -Pqulice
Result
java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2658)
at java.lang.Class.getDeclaredConstructors(Class.java:2007)
at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.
java:245)
at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorB
indingImpl.java:99)
at com.google.inject.internal.InjectorImpl.createUninitializedBinding(In
jectorImpl.java:653)
at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(Injec
torImpl.java:863)
at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecurs
ive(InjectorImpl.java:790)
at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(Injector
Impl.java:278)
at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImp
l.java:210)
at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorIm
pl.java:986)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java
:1019)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java
:982)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java
:1032)
at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClas
s.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision(Provider
InternalFactory.java:86)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.prov
ision(InternalFactoryToInitializableAdapter.java:55)
at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInt
ernalFactory.java:70)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.p
rovision(ProvisionListenerStackCallback.java:100)
at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLife
cycleManager.java:133)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.p
rovision(ProvisionListenerStackCallback.java:109)
at com.google.inject.internal.ProvisionListenerStackCallback.provision(P
rovisionListenerStackCallback.java:55)
at com.google.inject.internal.ProviderInternalFactory.circularGet(Provid
erInternalFactory.java:68)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(
InternalFactoryToInitializableAdapter.java:47)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(Pr
oviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.ja
va:1054)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(Provi
derToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(Inter
nalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:99
7)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.ja
va:1047)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:5
1)
at java.util.AbstractMap.get(AbstractMap.java:187)
at org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePlug
inDescriptor(DefaultMojoScanner.java:99)
at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(Abstract
GeneratorMojo.java:233)
at org.apache.maven.plugin.plugin.HelpGeneratorMojo.execute(HelpGenerato
rMojo.java:88)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:208)
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.buildProje
ct(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)
Caused by: java.lang.ClassNotFoundException: com.sun.mirror.apt.AnnotationProces
sorFactory
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadCl
ass(ClassRealm.java:259)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:235)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:227)
... 59 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.443 s
[INFO] Finished at: 2015-01-28T15:46:17+04:00
[INFO] Final Memory: 12M/30M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:
helpmojo (generated-helpmojo) on project jcabi-ssl-maven-plugin: The API of the
mojo scanner is not compatible with this plugin version. Please check the plugin
dependencies configured in the POM and ensure the versions match. com/sun/mirro
r/apt/AnnotationProcessorFactory: com.sun.mirror.apt.AnnotationProcessorFactory
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
Environment:
$ mvn -version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T17:51:4
2+04:00)
Maven home: c:\Program Files\apache-maven-3.2.2
Java version: 1.8.0_20, vendor: Oracle Corporation
Java home: c:\Program Files\Java\jdk1.8.0_20\jre
Default locale: de_AT, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "dos"
Copyright sections still feature 2013 as a year.
Puzzle 25-04bb79eb
in src/main/java/com/jcabi/ssl/maven/plugin/Keytool.java:173-173
has to be resolved: In JDK 1.8, there is no "yes" word in... The puzzle was created by Suseika on 26-Jun-2015.
If you have any technical questions, don't ask me, submit new tickets instead
There is a problem when I try to build it using JDK 1.8.0 u25
The full build message:
[INFO] ------------------------------------------------------------------------
[INFO] Building jcabi-ssl-maven-plugin 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jcabi-ssl-maven-plugin ---
[INFO] Deleting C:\prj\jcabi-ssl-maven-plugin\target
[INFO]
[INFO] --- maven-plugin-plugin:3.2:helpmojo (generated-helpmojo) @ jcabi-ssl-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[WARNING] Error injecting: org.jfrog.maven.annomojo.extractor.AnnoMojoDescriptorExtractor
java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2663)
at java.lang.Class.getDeclaredConstructors(Class.java:2012)
at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:657)
at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:875)
at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798)
at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281)
at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213)
at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031)
at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044)
at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54)
at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113)
at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122)
at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at java.util.AbstractMap.get(AbstractMap.java:187)
at org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:99)
at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:233)
at org.apache.maven.plugin.plugin.HelpGeneratorMojo.execute(HelpGeneratorMojo.java:88)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
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: com.sun.mirror.apt.AnnotationProcessorFactory
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)
... 59 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
jcabi-ssl-maven-plugin can't be built with Java 8, because we use Jfrog Anno Mojo maven plugin, and it's not ready for Java8 (for details see #13).
It is decided to get rid of Jfrog Anno Mojo maven plugin and use normal maven xdoclet annotations.
(Jfrog Anno Mojo allows to use Java5-style annotations instead of writing them in javadoc comments.
We need to switch back to this comments option.)
You can find the plugin's occurrences in pom.xml by searching for jfrog
.
See com.jcabi.ssl.maven.plugin.Keytool#createLocaleDependentYes
:
/**
* Creates a text, which represents "yes" in either English or German
* language, depending on the locale.
* @return Return "Ja", if the locale is German, "Yes" otherwise.
*/
private String createLocaleDependentYes() {
final String language = Locale.getDefault().getLanguage();
final String yes;
/**
* @todo #11:30m/DEV Currently, the implementation below recognizes only
* German and English locales. It should be extended so that other
* locales (e. g. Spanish) is supported as well. If a particular
* locale is not supported, the user should get a hint about that.
*/
if ("de".equals(language)) {
yes = "Ja";
} else {
yes = "Yes";
}
return yes;
}
When I run mvn qulice:check -Pqulice
, I get the error message XML validation exception: missing schema in \src\it\settings.xml
.
Full output:
$ mvn qulice:check -Pqulice
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jcabi-ssl-maven-plugin 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- qulice-maven-plugin:0.8.2:check (default-cli) @ jcabi-ssl-maven-plugi
n ---
[INFO] LICENSE found: file:d:/dev/teamed.io/jcabi-ssl-maven-plugin/LICENSE.txt
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.
converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
fo.
[INFO] No Checkstyle violations found in 21 files
[INFO] No PMD violations found in 10 files
[INFO] \src\changes\changes.xml: to be validated
[ERROR] JSR-303 validator failed to initialize: Unable to create a Configuration
, because no Bean Validation provider could be found. Add a provider like Hibern
ate Validator (RI) to your classpath. (see http://www.jcabi.com/jcabi-aspects/js
r-303.html)
[INFO] jcabi-aspects 0.15/1409f87 started new daemon thread jcabi-loggable for w
atching of @Loggable annotated methods
[INFO] \src\it\end-to-end\pom.xml: to be validated
[INFO] \src\it\settings.xml: to be validated
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.055 s
[INFO] Finished at: 2014-12-28T03:21:58+04:00
[INFO] Final Memory: 15M/49M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.8.2:check (defau
lt-cli) on project jcabi-ssl-maven-plugin: Failure: XML validation exception: mi
ssing schema in \src\it\settings.xml -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
Please fix this problem by either adding a schema to src/it/settings.xml
or excluding it from XML validation.
When I run mvn clean install -Pqulice
the build of jcabi-ssl-maven-plugin
fails due to errors in tests:
Tests in error:
KeytoolTest.generatesAndActivatesKeystore:62 โ IllegalArgument Non-zero exit c
...
KeystoreTest.generatesAndActivatesKeystore:64 โ IllegalArgument Non-zero exit
...
CacertsTest.importsCertificatesFromKeystore:64 โ IllegalArgument Non-zero exit
...
Tests run: 4, Failures: 0, Errors: 3, Skipped: 0
Please make sure that it is possible to build jcabi-ssl-maven-plugin
using mvn clean install -Pqulice
.
[INFO] --- jcabi-ssl-maven-plugin:0.11:keygen (default) @ s3auth ---
[ERROR] JSR-303 validator failed to initialize: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. (see http://aspects.jcabi.com/jsr-303.html)
[INFO] Existing cacerts '/opt/jdk1.8.0_40/jre/lib/security/cacerts' copied to '/tmp/s3auth/target/cacerts.jks' (30 bytes)
[INFO] jcabi-aspects 0.20.1/f0aff93 started new daemon thread jcabi-loggable for watching of @Loggable annotated methods
[ERROR] #genkey(): thrown java.util.MissingResourceException(Can't find resource for bundle sun.security.util.Resources, key yes) out of java.util.ResourceBundle#getObject[450] in 221ms
[ERROR] #activate(/tmp/s3auth/target/keystore.jks): thrown java.util.MissingResourceException(Can't find resource for bundle sun.security.util.Resources, key yes) out of java.util.ResourceBundle#getObject[450] in 240ms
originally reported in yegor256/s3auth#301
[ERROR] \src\it\settings.xml[66]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[131]: Should be indented by 16 spaces (20 instead) (CascadeIndentationCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[132]: Should be indented by 16 spaces (20 instead) (CascadeIndentationCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[133]: Should be indented by 16 spaces (20 instead) (CascadeIndentationCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[134]: Should be indented by 16 spaces (20 instead) (CascadeIndentationCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[41]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[53]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[58]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[63]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[68]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[73]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[96]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[114]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Cacerts.java[138]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[41]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[52]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[63]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[73]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[83]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[93]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[101]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[128]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\KeygenMojo.java[130]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[39]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[50]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[55]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[60]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[65]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[73]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[100]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[110]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[125]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[150]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keystore.java[152]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[45]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[61]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[66]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[71]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[76]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[86]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[96]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[133]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[156]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[166]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[186]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\ssl\maven\plugin\Keytool.java[214]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\ssl\maven\plugin\KeytoolTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\ssl\maven\plugin\KeytoolTest.java[37]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\ssl\maven\plugin\KeytoolTest.java[44]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\ssl\maven\plugin\KeytoolTest.java[51]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\ssl\maven\plugin\KeytoolTest.java[67]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\ssl\maven\plugin\KeytoolTest.java[69]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
com.jcabi.ssl.maven.plugin.Keytool#imprt
should be renamed to import
.
Review our existing source code and all other technical artifacts and report at least 8 bugs. More about such reviews you can read here. The task will be closed once we have that bugs reported and classified. Don't forget to add itr
tag to each of them.
@dmarkov Looks like we need to add .gitattributes to force EOL of the repo.
Puzzle 11-721ca2c9
in src/main/java/com/jcabi/ssl/maven/plugin/Keytool.java:172-175
has to be resolved: Currently, the implementation below recognizes only German and English locales. It should be extended so that other locales (e. g. Spanish) is supported as well. If a particular locale is not supported, the user should get a hint about that.
If you have any technical questions, don't ask me, submit new tickets instead
There is no estimate in the project yet. We have to create one as explained here
In the license.txt file the Copyright year should be 2016
Cos we need to populate mvn props always, not only when keystore is inactive.
I'm trying to enable a SSL-related unit test in the S3Auth project (see yegor256/s3auth#194). I incorporated jcabi-ssl-maven-plugin
in the Maven build, and the unit test passes just fine on my machine. However, the build fails on Rultor. See for example, the following log excerpt (from http://www.rultor.com/t/529-49795456):
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 322.974 sec <<< FAILURE! - in com.s3auth.relay.HttpFacadeTest
getsContentOverSSL(com.s3auth.relay.HttpFacadeTest) Time elapsed: 31.773 sec <<< ERROR! java.io.IOException: Failed GET request to https://localhost:59055/a at com.jcabi.http.request.JdkRequest$1.send(JdkRequest.java:125) at
com.jcabi.http.request.BaseRequest.fetch_aroundBody10(BaseRequest.java:210) at
com.jcabi.http.request.BaseRequest$AjcClosure11.run(BaseRequest.java:1) at
org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at
com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:200) at
com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1) at
com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:128) at
com.jcabi.http.request.BaseRequest.fetch(BaseRequest.java:209) at
com.s3auth.relay.HttpFacadeTest.getsContentOverSSL(HttpFacadeTest.java:533) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at
java.lang.reflect.Method.invoke(Method.java:606) at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at
org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:258) at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at
java.util.concurrent.FutureTask.run(FutureTask.java:262) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at
java.lang.Thread.run(Thread.java:744)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at
sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at
sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959) at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077) at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300) at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) at
com.jcabi.http.request.JdkRequest$1.send(JdkRequest.java:117) ... 26 more
If it helps, this is my machine's mvn --version
output:
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-15T01:37:52+08:00)
Maven home: D:\apache-maven-3.2.1
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_45\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
I've tried three(3)times as "mvn clean install -Pqulice".
The process duration had from 57sec to 1 min.
I see that the person of bug report used Windows OS.
And procBuilder from Keytool.java run as "%s/bin/keytool" as linux OS process.
thanks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.547 s
[INFO] Finished at: 2015-01-14T20:32:22-03:00
[INFO] Final Memory: 113M/616M
[INFO] ------------------------------------------------------------------------
alex@ubuntu:~/workspace/jcabi-ssl-maven-plugin$
see the log.
Expected: a string containing "localhost" but: was "".
And this is despite
[info] Keystore created in '/tmp/junit8976659806579518028/keystore.jks' (42 bytes)
[info] >>
[info] >> Keystore type: JKS
[info] >> Keystore provider: SUN
[info] >>
[info] >> Your keystore contains 1 entry
[info] >>
[info] >> Alias name: localhost <--------------
[info] >> Creation date: Dec 28, 2014
[info] >> Entry type: PrivateKeyEntry
The test passes locally for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.