Skip to content
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

#145 - fixed grammar #146

Merged
merged 1 commit into from
Sep 15, 2017
Merged

#145 - fixed grammar #146

merged 1 commit into from
Sep 15, 2017

Conversation

g4s8
Copy link
Contributor

@g4s8 g4s8 commented Sep 14, 2017

Reimplemented ANTLR grammar

  • Fixed all indentation issues
  • Fixed object copying arguments
  • Reused object copying in constructors

Fixes #139 and #145

@0crat
Copy link

0crat commented Sep 14, 2017

@yegor256 please, pay attention to this pull request

@0crat
Copy link

0crat commented Sep 14, 2017

Job gh:yegor256/eo#146 is in scope.

@yegor256
Copy link
Member

@rultor merge

@rultor
Copy link
Contributor

rultor commented Sep 15, 2017

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Contributor

rultor commented Sep 15, 2017

@rultor merge

@g4s8 @yegor256 Oops, I failed. You can see the full log here (spent 11min)

[INFO] eo-archetype ....................................... SKIPPED
[INFO] eo-core ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:59 min
[INFO] Finished at: 2017-09-15T04:44:17+00:00
[INFO] Final Memory: 65M/500M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.17.1:check (jcabi-check) on project eo-maven-plugin: Failure: java.lang.IllegalArgumentException: 2 error(s) in XML document: -1:-1: schema_reference.4: Failed to read schema document 'https://maven.apache.org/xsd/settings-1.0.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.;-1:-1: cvc-elt.1: Cannot find the declaration of element 'settings'. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.qulice:qulice-maven-plugin:0.17.1:check (jcabi-check) on project eo-maven-plugin: 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(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.MojoFailureException: Failure
	at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:72)
	at com.qulice.maven.AbstractQuliceMojo.execute(AbstractQuliceMojo.java:172)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: com.qulice.spi.ValidationException: java.lang.IllegalArgumentException: 2 error(s) in XML document: -1:-1: schema_reference.4: Failed to read schema document 'https://maven.apache.org/xsd/settings-1.0.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.;-1:-1: cvc-elt.1: Cannot find the declaration of element 'settings'.
	at com.qulice.xml.XmlValidator.validate(XmlValidator.java:120)
	at com.qulice.maven.CheckMojo.run(CheckMojo.java:121)
	at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:66)
	... 23 more
Caused by: java.lang.IllegalArgumentException: 2 error(s) in XML document: -1:-1: schema_reference.4: Failed to read schema document 'https://maven.apache.org/xsd/settings-1.0.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.;-1:-1: cvc-elt.1: Cannot find the declaration of element 'settings'.
	at com.jcabi.xml.StrictXML.<init>(StrictXML.java:110)
	at com.jcabi.xml.StrictXML.<init>(StrictXML.java:83)
	at com.jcabi.xml.StrictXML.<init>(StrictXML.java:74)
	at com.qulice.xml.XmlValidator.validate(XmlValidator.java:106)
	... 25 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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :eo-maven-plugin
container af0d7c03854cda107a81b9e024e6d05d44c5091c2a26463b3007244917686d1a is dead
Fri Sep 15 06:44:58 CEST 2017

@g4s8
Copy link
Contributor Author

g4s8 commented Sep 15, 2017

@yegor256 Rultor failed with strange error:

Failed to execute goal com.qulice:qulice-maven-plugin:0.17.1:check (jcabi-check) on project eo-maven-plugin: Failure: java.lang.IllegalArgumentException: 2 error(s) in XML document: -1:-1: schema_reference.4: Failed to read schema document 'https://maven.apache.org/xsd/settings-1.0.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema.;-1:-1: cvc-elt.1: Cannot find the declaration of element 'settings'. -> [Help 1]

Could you please see this logs? Do you know how to fix it?

@yegor256
Copy link
Member

@rultor try to merge again

@rultor
Copy link
Contributor

rultor commented Sep 15, 2017

@rultor try to merge again

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 53dd750 into objectionary:master Sep 15, 2017
@rultor
Copy link
Contributor

rultor commented Sep 15, 2017

@rultor try to merge again

@yegor256 Done! FYI, the full log is here (took me 10min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants