I tried to run the test for my codes using junit 5 in Visual Studio Code the test case was passed but shows some error in the plugin Jackrabbit in pom.xml file
Error Description :
[{
"resource": "/C:/AEM_Training/genc-aem-training/ui.content/pom.xml",
"owner": "_generated_diagnostic_collection_name_#2",
"code": "0",
"severity": 8,
"message": "Found 1 violation(s) (with severity=ERROR). Check above errors for details (org.apache.jackrabbit:filevault-package-maven-plugin:1.1.6:validate-files:default-validate-files:process-classes)\n\norg.apache.maven.plugin.MojoFailureException: Found 1 violation(s) (with severity=ERROR). Check above errors for details\r\n\tat org.apache.jackrabbit.filevault.maven.packaging.ValidationHelper.failBuildInCaseOfViolations(ValidationHelper.java:160)\r\n\tat org.apache.jackrabbit.filevault.maven.packaging.ValidateFilesMojo.doExecute(ValidateFilesMojo.java:199)\r\n\tat org.apache.jackrabbit.filevault.maven.packaging.AbstractValidateMojo.execute(AbstractValidateMojo.java:257)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:336)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenImpl.lambda$8(MavenImpl.java:1423)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:182)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:117)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1422)\r\n\tat org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:55)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:135)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:169)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$1(MavenBuilder.java:114)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:182)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:117)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$0(MavenBuilder.java:105)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:182)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:156)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:103)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:88)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:198)\r\n\tat org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:860)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:232)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:281)\r\n\tat org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:334)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:337)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:392)\r\n\tat org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:417)\r\n\tat org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:161)\r\n\tat org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:255)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)\r\n",
"source": "Java",
"startLineNumber": 46,
"startColumn": 14,
"endLineNumber": 46,
"endColumn": 21
}]
I also have this issue in pom.xml file
Can you try running in eclipse or intelliJ?
Yes Its working without error on eclipse only have error when execute in VScode
can't we solve this error in VScode ??
Hi @Nandheswara,
As this is only seen in VS code can you raise the issue here: https://github.com/microsoft/vscode/issues
Hope this helps!
Thanks,
Kiran Vedantam.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies