Home » Modeling » TMF (Xtext) » SecurityException in Maven build
| |
Re: SecurityException in Maven build [message #1840279 is a reply to message #1840277] |
Sun, 11 April 2021 11:13   |
Axel Guckelsberger Messages: 354 Registered: July 2009 |
Senior Member |
|
|
Hello Christian,
thanks for the pointers.
I disabled the m2 cache in my GitHub action - implementation inspired from http://www.lorenzobettini.it/2020/12/caching-dependencies-in-github-actions/ - but this didn't change anything so I reenabled it again.
After checking the build with `-X` I think I possibly found something:
It adds this file to the classpath entries: /home/runner/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.util/2.25.0.v20210301-0843/org.eclipse.xtext.util-2.25.0.v20210301-0843.jar
But when calling Mwe2Launcher it includes org.eclipse.xtext:org.eclipse.xtext.util:jar:2.26.0-SNAPSHOT:runtime to the pluginDependencies.
2021-04-11T11:02:03.9360026Z [DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.6.0:java from plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.6.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc]
2021-04-11T11:02:03.9381994Z [DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.6.0:java' with basic configurator -->
2021-04-11T11:02:03.9383359Z [DEBUG] (f) addOutputToClasspath = true
2021-04-11T11:02:03.9384375Z [DEBUG] (f) addResourcesToClasspath = false
2021-04-11T11:02:03.9395065Z [DEBUG] (f) arguments = [file:///home/runner/work/...mydsl/src/de/.../GenerateMyDsl.mwe2, -p, rootPath=//home/runner/work/...mydsl/../..]
2021-04-11T11:02:03.9397368Z [DEBUG] (f) classpathScope = compile
2021-04-11T11:02:03.9398377Z [DEBUG] (f) cleanupDaemonThreads = false
2021-04-11T11:02:03.9399425Z [DEBUG] (f) daemonThreadJoinTimeout = 15000
2021-04-11T11:02:03.9476678Z [DEBUG] (f) includePluginDependencies = true
2021-04-11T11:02:03.9478040Z [DEBUG] (f) includeProjectDependencies = true
2021-04-11T11:02:03.9479039Z [DEBUG] (f) keepAlive = false
2021-04-11T11:02:03.9480244Z [DEBUG] (f) killAfter = -1
2021-04-11T11:02:03.9481212Z [DEBUG] (f) localRepository = id: local
2021-04-11T11:02:03.9482413Z url: file:///home/runner/.m2/repository/
2021-04-11T11:02:03.9483284Z layout: default
2021-04-11T11:02:03.9484143Z snapshots: [enabled => true, update => always]
2021-04-11T11:02:03.9485055Z releases: [enabled => true, update => always]
2021-04-11T11:02:03.9485670Z
2021-04-11T11:02:03.9486925Z [DEBUG] (f) mainClass = org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher
2021-04-11T11:02:03.9649380Z [DEBUG] (f) pluginDependencies = [org.codehaus.mojo:exec-maven-plugin:maven-plugin:1.6.0:, org.eclipse.emf:org.eclipse.emf.mwe2.launch:jar:2.11.2:runtime, org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:2.11.2:runtime, com.google.inject:guice:jar:3.0:runtime, javax.inject:javax.inject:jar:1:runtime, aopalliance:aopalliance:jar:1.0:runtime, org.eclipse.emf:org.eclipse.emf.mwe2.language:jar:2.11.2:runtime, com.google.guava:guava:jar:27.1-jre:runtime, com.google.guava:failureaccess:jar:1.0.1:runtime, com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:runtime, com.google.code.findbugs:jsr305:jar:3.0.2:runtime, org.checkerframework:checker-qual:jar:2.5.2:runtime, com.google.errorprone:error_prone_annotations:jar:2.2.0:runtime, com.google.j2objc:j2objc-annotations:jar:1.1:runtime, org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:runtime, commons-cli:commons-cli:jar:1.2:compile, log4j:log4j:jar:1.2.16:runtime, org.eclipse.xtext:org.eclipse.xtext.common.types:jar:2.21.0:runtime, org.eclipse.xtext:org.eclipse.xtext:jar:2.21.0:runtime, org.eclipse.xtend:org.eclipse.xtend.lib:jar:2.21.0:runtime, org.eclipse.xtend:org.eclipse.xtend.lib.macro:jar:2.21.0:runtime, org.eclipse.platform:org.eclipse.osgi:jar:3.15.100:runtime, org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:2.16.0:runtime, org.ow2.asm:asm-commons:jar:7.2:runtime, org.ow2.asm:asm:jar:7.2:runtime, org.ow2.asm:asm-tree:jar:7.2:runtime, org.ow2.asm:asm-analysis:jar:7.2:runtime, io.github.classgraph:classgraph:jar:4.8.35:runtime, org.eclipse.xtext:org.eclipse.xtext.generator:jar:2.21.0:runtime, org.eclipse.xtext:org.eclipse.xtext.xtext.generator:jar:2.21.0:runtime, org.eclipse.emf:org.eclipse.emf.mwe.utils:jar:1.5.2:runtime, org.eclipse.emf:org.eclipse.emf.mwe.core:jar:1.5.2:runtime, commons-logging:commons-logging:jar:1.1.3:runtime, org.eclipse.emf:org.eclipse.emf.mwe2.lib:jar:2.11.2:runtime, com.ibm.icu:icu4j:jar:52.1:runtime, org.eclipse.xpand:org.eclipse.xpand:jar:2.0.0:runtime, org.eclipse.xpand:org.eclipse.xtend:jar:2.0.0:runtime, org.eclipse.xtext:org.eclipse.xtext.xbase:jar:2.21.0:runtime, org.eclipse.xtext:xtext-antlr-generator:jar:2.1.1:runtime, org.xtext:antlr-generator:jar:3.2.1:runtime, org.eclipse.xtext:org.eclipse.xtext.ecore:jar:2.21.0:runtime, org.eclipse.emf:org.eclipse.emf.ecore.xcore:jar:1.11.0:runtime, org.eclipse.emf:org.eclipse.emf.ecore:jar:2.23.0:runtime, org.eclipse.xtext:org.eclipse.xtext.util:jar:2.26.0-SNAPSHOT:runtime, org.antlr:antlr-runtime:jar:3.2:runtime, org.antlr:stringtemplate:jar:3.2:runtime, antlr:antlr:jar:2.7.7:runtime, org.eclipse.xtext:org.eclipse.xtext.xbase.lib:jar:2.26.0-SNAPSHOT:runtime, org.eclipse.platform:org.eclipse.core.runtime:jar:3.20.100:runtime, org.eclipse.platform:org.eclipse.equinox.common:jar:3.14.100:runtime, org.eclipse.platform:org.eclipse.core.jobs:jar:3.10.1100:runtime, org.eclipse.platform:org.eclipse.equinox.registry:jar:3.10.100:runtime, org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.8.200:runtime, org.eclipse.platform:org.eclipse.core.contenttype:jar:3.7.900:runtime, org.eclipse.platform:org.eclipse.equinox.app:jar:1.5.100:runtime, org.eclipse.emf:org.eclipse.emf.codegen.ecore:jar:2.25.0:runtime, org.eclipse.platform:org.eclipse.core.resources:jar:3.14.0:runtime, org.eclipse.platform:org.eclipse.core.expressions:jar:3.7.100:runtime, org.eclipse.platform:org.eclipse.core.filesystem:jar:1.7.700:runtime, org.eclipse.jdt:org.eclipse.jdt.core:jar:3.25.0:runtime, org.eclipse.jdt:org.eclipse.jdt.launching:jar:3.19.100:runtime, org.eclipse.platform:org.eclipse.debug.core:jar:3.18.0:runtime, org.eclipse.jdt:org.eclipse.jdt.debug:jar:3.17.100:runtime, org.eclipse.platform:org.eclipse.core.variables:jar:3.4.800:runtime, org.eclipse.emf:org.eclipse.emf.codegen:jar:2.21.0:runtime, org.eclipse.platform:org.eclipse.text:jar:3.11.0:runtime, org.eclipse.platform:org.eclipse.core.commands:jar:3.9.800:runtime, org.eclipse.emf:org.eclipse.emf.ecore.xcore.lib:jar:1.4.0:runtime, org.eclipse.emf:org.eclipse.emf.common:jar:2.22.0:runtime, org.eclipse.emf:org.eclipse.emf.codegen.ecore.xtext:jar:1.4.0:runtime, org.apache.maven:maven-toolchain:jar:2.2.1:compile, org.apache.maven:maven-project:jar:2.2.1:compile, org.apache.maven:maven-settings:jar:2.2.1:compile, org.apache.maven:maven-profile:jar:2.2.1:compile, org.apache.maven:maven-plugin-registry:jar:2.2.1:compile, org.codehaus.plexus:plexus-interpolation:jar:1.11:compile, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile, org.apache.maven:maven-model:jar:2.2.1:compile, org.apache.maven:maven-artifact:jar:2.2.1:compile, org.apache.maven:maven-artifact-manager:jar:2.2.1:compile, org.apache.maven:maven-repository-metadata:jar:2.2.1:compile, backport-util-concurrent:backport-util-concurrent:jar:3.1:compile, org.apache.maven:maven-core:jar:2.2.1:compile, org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile, org.slf4j:slf4j-jdk14:jar:1.5.6:runtime, org.slf4j:slf4j-api:jar:1.5.6:runtime, org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime, org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile, org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile, org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile, org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile, org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile, org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile, org.apache.maven:maven-monitor:jar:2.2.1:compile, classworlds:classworlds:jar:1.1:compile, org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile, org.sonatype.plexus:plexus-cipher:jar:1.4:compile, org.apache.maven:maven-plugin-api:jar:2.2.1:compile, org.codehaus.plexus:plexus-utils:jar:3.0.20:compile, org.apache.commons:commons-exec:jar:1.3:compile]
Going to try setting these dependencies to fixed versions next.
|
|
| | |
Goto Forum:
Current Time: Mon Jun 05 00:13:00 GMT 2023
Powered by FUDForum. Page generated in 0.02421 seconds
|