[jira] [Commented] (OPENJPA-2898) Cannot resolve the name 'orm:versionType'
[ https://issues.apache.org/jira/browse/OPENJPA-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816699#comment-17816699 ] Romain Manni-Bucau commented on OPENJPA-2898: - looks good to me, just misses a test. side note: you can do a PR, can be easier to review > Cannot resolve the name 'orm:versionType' > - > > Key: OPENJPA-2898 > URL: https://issues.apache.org/jira/browse/OPENJPA-2898 > Project: OpenJPA > Issue Type: Bug > Components: Enhance >Affects Versions: 3.2.1, 3.2.2 >Reporter: Patrice DUROUX >Priority: Major > Attachments: openjpa.patch > > > Hi, > Switching from 3.2.0 to 3.2.1 to not face anymore issue OPENJPA-2881 and > without any change in the source code, I am getting the following one: > {noformat} > [ERROR] Failed to execute goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance (enhancer) on project > IMGTPersistence: Execution enhancer of goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance failed: > org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance (enhancer) on > project IMGTPersistence: Execution enhancer of goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance failed: > org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > 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:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:566) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > enhancer of goal org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance > failed: org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:148) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at >
[jira] [Commented] (OPENJPA-2898) Cannot resolve the name 'orm:versionType'
[ https://issues.apache.org/jira/browse/OPENJPA-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816692#comment-17816692 ] Patrice DUROUX commented on OPENJPA-2898: - Hi Could you please consider this patch? Thanks! [^openjpa.patch] > Cannot resolve the name 'orm:versionType' > - > > Key: OPENJPA-2898 > URL: https://issues.apache.org/jira/browse/OPENJPA-2898 > Project: OpenJPA > Issue Type: Bug > Components: Enhance >Affects Versions: 3.2.1, 3.2.2 >Reporter: Patrice DUROUX >Priority: Major > Attachments: openjpa.patch > > > Hi, > Switching from 3.2.0 to 3.2.1 to not face anymore issue OPENJPA-2881 and > without any change in the source code, I am getting the following one: > {noformat} > [ERROR] Failed to execute goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance (enhancer) on project > IMGTPersistence: Execution enhancer of goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance failed: > org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance (enhancer) on > project IMGTPersistence: Execution enhancer of goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance failed: > org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > 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:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:566) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > enhancer of goal org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance > failed: org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:148) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at >
[jira] [Updated] (OPENJPA-2898) Cannot resolve the name 'orm:versionType'
[ https://issues.apache.org/jira/browse/OPENJPA-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrice DUROUX updated OPENJPA-2898: Attachment: openjpa.patch > Cannot resolve the name 'orm:versionType' > - > > Key: OPENJPA-2898 > URL: https://issues.apache.org/jira/browse/OPENJPA-2898 > Project: OpenJPA > Issue Type: Bug > Components: Enhance >Affects Versions: 3.2.1, 3.2.2 >Reporter: Patrice DUROUX >Priority: Major > Attachments: openjpa.patch > > > Hi, > Switching from 3.2.0 to 3.2.1 to not face anymore issue OPENJPA-2881 and > without any change in the source code, I am getting the following one: > {noformat} > [ERROR] Failed to execute goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance (enhancer) on project > IMGTPersistence: Execution enhancer of goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance failed: > org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance (enhancer) on > project IMGTPersistence: Execution enhancer of goal > org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance failed: > org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > 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:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:566) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > enhancer of goal org.apache.openjpa:openjpa-maven-plugin:3.2.1:enhance > failed: org.xml.sax.SAXException: > file:/home/patrice/workspace-imgt/imgt/api/IMGTPersistence/target/classes/META-INF/taxonomy_orm.xml > [Location:Line: 6, C: 16]: org.xml.sax.SAXParseException; lineNumber: 73; > columnNumber: 46; src-resolve: Cannot resolve the name 'orm:versionType' to > a(n) 'type definition' component. > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:148) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) >