Apache Maven core
This report summarizes scanner evidence for apache/maven, a Java project with 5,370 GitHub stars. SynthScan examined 594,002 lines of code across 6750 source files, recording 263 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 2.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 67 finding(s).
Are imports declared and package/API names verified? 139 finding(s).
Are wrappers, guards, and repeated structures necessary? 57 finding(s).
Which changes need focused human review? 263 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 263 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …org/codehaus/classworlds/ClassRealmReverseAdapter.java | 79 | throw new org.codehaus.plexus.classworlds.realm.NoSuchRealmException(getWorld(), e.getId()); | CODE |
| CRITICAL | …org/codehaus/classworlds/ClassRealmReverseAdapter.java | 100 | throw new org.codehaus.plexus.classworlds.realm.DuplicateRealmException(getWorld(), e.getId()); | CODE |
| CRITICAL⚡ | …org/codehaus/classworlds/ClassWorldReverseAdapter.java | 74 | throw new org.codehaus.plexus.classworlds.realm.DuplicateRealmException(this, e.getId()); | CODE |
| CRITICAL⚡ | …org/codehaus/classworlds/ClassWorldReverseAdapter.java | 83 | throw new org.codehaus.plexus.classworlds.realm.DuplicateRealmException(this, e.getId()); | CODE |
| CRITICAL⚡ | …org/codehaus/classworlds/ClassWorldReverseAdapter.java | 91 | throw new org.codehaus.plexus.classworlds.realm.NoSuchRealmException(this, e.getId()); | CODE |
| CRITICAL⚡ | …org/codehaus/classworlds/ClassWorldReverseAdapter.java | 100 | throw new org.codehaus.plexus.classworlds.realm.NoSuchRealmException(this, e.getId()); | CODE |
| CRITICAL | …n/java/org/codehaus/classworlds/DefaultClassRealm.java | 63 | this.adapter = ClassRealmAdapter.getInstance(new org.codehaus.plexus.classworlds.realm.ClassRealm( | CODE |
| CRITICAL | …s/src/main/java/org/codehaus/classworlds/Launcher.java | 63 | org.codehaus.plexus.classworlds.launcher.Launcher.main(args); | CODE |
| CRITICAL | …s/src/main/java/org/codehaus/classworlds/Launcher.java | 74 | return org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(args); | CODE |
| CRITICAL | …c/main/java/org/codehaus/classworlds/Configurator.java | 62 | new org.codehaus.plexus.classworlds.launcher.Configurator(launcher), launcher); | CODE |
| CRITICAL | …c/main/java/org/codehaus/classworlds/Configurator.java | 71 | new org.codehaus.plexus.classworlds.launcher.Configurator(ClassWorldReverseAdapter.getInstance(world)), | CODE |
| CRITICAL | …org/apache/maven/impl/MavenRepositoryListenerTest.java | 78 | org.eclipse.aether.RepositoryEvent.EventType.values()) { | CODE |
| CRITICAL | …org/apache/maven/impl/MavenRepositoryListenerTest.java | 98 | new org.eclipse.aether.repository.RemoteRepository.Builder("central", "default", "https://repo.example") | CODE |
| CRITICAL | …/org/apache/maven/impl/RepositoryRequestTraceTest.java | 74 | new org.eclipse.aether.repository.RemoteRepository.Builder("test", "default", "https://repo.example") | CODE |
| CRITICAL | …java/org/apache/maven/impl/RequestTraceHelperTest.java | 42 | new org.apache.maven.api.services.RequestTrace(null, "test"); | CODE |
| CRITICAL | …java/org/apache/maven/impl/RequestTraceHelperTest.java | 79 | new org.apache.maven.api.services.RequestTrace(null, "previous"); | CODE |
| CRITICAL | …java/org/apache/maven/impl/RequestTraceHelperTest.java | 81 | new org.apache.maven.api.services.RequestTrace(null, "current"); | CODE |
| CRITICAL⚡ | …java/org/apache/maven/impl/RequestTraceHelperTest.java | 96 | new org.apache.maven.api.services.RequestTrace("context"); | CODE |
| CRITICAL⚡ | …java/org/apache/maven/impl/RequestTraceHelperTest.java | 98 | new org.apache.maven.api.services.RequestTrace("explicit-parent"); | CODE |
| CRITICAL⚡ | …java/org/apache/maven/impl/RequestTraceHelperTest.java | 100 | new org.apache.maven.api.services.RequestTrace(explicitParent, "explicit"); | CODE |
| CRITICAL | …c/test/java/org/apache/maven/impl/DefaultNodeTest.java | 107 | new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …c/test/java/org/apache/maven/impl/DefaultNodeTest.java | 146 | new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …c/test/java/org/apache/maven/impl/DefaultNodeTest.java | 204 | new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …rg/apache/maven/impl/DefaultSettingsValidatorTest.java | 53 | Repository repo = org.apache.maven.api.settings.Repository.newInstance(false); | CODE |
| CRITICAL | …g/apache/maven/impl/model/DefaultModelBuilderTest.java | 739 | new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …g/apache/maven/impl/model/DefaultModelBuilderTest.java | 747 | new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …g/apache/maven/impl/model/DefaultModelBuilderTest.java | 798 | new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …g/apache/maven/impl/model/DefaultModelBuilderTest.java | 807 | new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …va/org/apache/maven/impl/DefaultRepositoryFactory.java | 56 | new org.eclipse.aether.repository.RemoteRepository.Builder(id, "default", url).build()); | CODE |
| CRITICAL | …va/org/apache/maven/impl/DefaultRepositoryFactory.java | 61 | return new DefaultRemoteRepository(new org.eclipse.aether.repository.RemoteRepository.Builder( | CODE |
| CRITICAL | …ain/java/org/apache/maven/impl/RequestTraceHelper.java | 67 | : new org.apache.maven.api.services.RequestTrace(previousTrace, data); | CODE |
| CRITICAL | …ain/java/org/apache/maven/impl/RequestTraceHelper.java | 89 | return new org.apache.maven.api.services.RequestTrace( | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 135 | org.apache.maven.api.settings.ActivationFile.newBuilder() | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 188 | org.apache.maven.api.model.Profile.Builder profile = org.apache.maven.api.model.Profile.newBuilder(); | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 199 | org.apache.maven.api.model.Activation.newBuilder(); | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 209 | activation.property(org.apache.maven.api.model.ActivationProperty.newBuilder() | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 220 | activation.os(org.apache.maven.api.model.ActivationOS.newBuilder() | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 280 | org.apache.maven.api.model.Repository.Builder repo = org.apache.maven.api.model.Repository.newBuilder(); | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 308 | org.apache.maven.api.model.RepositoryPolicy policy = org.apache.maven.api.model.RepositoryPolicy.newBuilder() | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 364 | return org.apache.maven.api.settings.InputLocation.of( | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 367 | source != null ? org.apache.maven.api.settings.InputSource.of(source.getLocation()) : null, | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 380 | return org.apache.maven.api.model.InputLocation.of( | CODE |
| CRITICAL | …c/main/java/org/apache/maven/impl/SettingsUtilsV4.java | 383 | source != null ? org.apache.maven.api.model.InputSource.of("", source.getLocation()) : null, | CODE |
| CRITICAL | …n/java/org/apache/maven/impl/standalone/ApiRunner.java | 657 | Profile profile = settingsBuilder.convert(org.apache.maven.api.settings.Profile.newBuilder() | CODE |
| CRITICAL | …a/org/apache/maven/impl/model/DefaultModelBuilder.java | 395 | new org.eclipse.aether.repository.RemoteRepository.Builder(dr); | CODE |
| CRITICAL | …/src/test/java/org/apache/maven/ReactorReaderTest.java | 216 | new org.apache.maven.artifact.handler.DefaultArtifactHandler("jar"))); | CODE |
| CRITICAL | …/src/test/java/org/apache/maven/ReactorReaderTest.java | 228 | new org.apache.maven.artifact.handler.DefaultArtifactHandler("jar")); | CODE |
| CRITICAL | …ven-core/src/test/java/org/apache/maven/di/DiTest.java | 352 | // @org.apache.maven.api.di.Named("di") | COMMENT |
| CRITICAL | …che/maven/internal/impl/DefaultProjectManagerTest.java | 274 | org.apache.maven.api.model.Build modelBuild = org.apache.maven.api.model.Build.newBuilder() | CODE |
| CRITICAL | …a/org/apache/maven/internal/impl/EventSpyImplTest.java | 60 | org.apache.maven.execution.ExecutionEvent.Type.values()) { | CODE |
| CRITICAL | …ternal/transformation/impl/ConsumerPomBuilderTest.java | 703 | org.apache.maven.api.model.Profile apiProfile = org.apache.maven.api.model.Profile.newBuilder() | CODE |
| CRITICAL | …ternal/transformation/impl/ConsumerPomBuilderTest.java | 752 | org.apache.maven.api.model.Profile apiProfile = org.apache.maven.api.model.Profile.newBuilder() | CODE |
| CRITICAL | …en/lifecycle/internal/concurrent/MojoExecutorTest.java | 91 | org.apache.maven.api.plugin.descriptor.MojoDescriptor.newBuilder() | CODE |
| CRITICAL | …re/src/main/java/org/apache/maven/RepositoryUtils.java | 146 | if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) { | CODE |
| CRITICAL | …c/main/java/org/apache/maven/plugin/MojoExecution.java | 107 | this.configuration = new org.codehaus.plexus.util.xml.Xpp3Dom(configuration); | CODE |
| CRITICAL | …c/main/java/org/apache/maven/plugin/MojoExecution.java | 145 | this.configuration = configuration != null ? new org.codehaus.plexus.util.xml.Xpp3Dom(configuration) : null; | CODE |
| CRITICAL | …plugin/internal/DeprecatedCoreExpressionValidator.java | 86 | org.apache.maven.artifact.repository.ArtifactRepository.class.getName(), parameter.getType()) | CODE |
| CRITICAL | …nal/transformation/impl/DefaultConsumerPomBuilder.java | 495 | : org.apache.maven.api.model.DependencyManagement.newBuilder() | CODE |
| CRITICAL | …nal/transformation/impl/DefaultConsumerPomBuilder.java | 1054 | if (org.apache.maven.api.Repository.CENTRAL_ID.equals(repository.getId())) { | CODE |
| CRITICAL | …he/maven/lifecycle/internal/MojoDescriptorCreator.java | 128 | return new org.codehaus.plexus.util.xml.Xpp3Dom(dom); | CODE |
| 75 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/invoker/mvnup/goals/CompatibilityFixStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ling/invoker/mvnup/goals/CompatibilityWarningTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ker/mvnup/goals/PluginUpgradeJdkCompatibilityTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ng/invoker/mvnup/goals/QuarkusPlatformVersionTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ker/mvnup/goals/PluginUpgradeJdkCompatibilityTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …oker/mvnup/goals/EnforcerVersionRangeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ing/invoker/mvnup/goals/PluginUpgradeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ker/mvnup/goals/PluginUpgradeJdkCompatibilityTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …oker/mvnup/goals/EnforcerVersionRangeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …n/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …er/mvnup/goals/RepositoryHttpsUpgradeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ng/invoker/mvnup/goals/QuarkusPlatformVersionTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …oker/mvnup/goals/NashornCompatibilityStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …/invoker/mvnup/goals/DuplicateElementStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …invoker/mvnup/goals/ResourceFilteringStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ker/mvnup/goals/PluginUpgradeJdkCompatibilityTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …r/mvnup/goals/DeduplicateDependenciesStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ing/invoker/mvnup/goals/PluginUpgradeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ing/invoker/mvnup/goals/PluginUpgradeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …oker/mvnup/goals/EnforcerVersionRangeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …oker/mvnup/goals/NashornCompatibilityStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …r/mvnup/goals/DeduplicateDependenciesStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ling/invoker/mvnup/goals/CompatibilityWarningTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …/invoker/mvnup/goals/DuplicateElementStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …ling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …n/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| HIGH | …a/org/apache/maven/impl/XmlFactoryTransformerTest.java | 0 | <?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0"> <modelversion>4.0.0</modelver | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ternal/transformation/impl/ConsumerPomBuilderTest.java | 789 | // ── executable() condition stripping (GH-12570) ────────────────────────── | COMMENT |
| MEDIUM | …ternal/transformation/impl/ConsumerPomBuilderTest.java | 982 | // ── GH-12981: extension-contributed user property interpolation ────────── | COMMENT |
| MEDIUM | …ternal/transformation/impl/ConsumerPomBuilderTest.java | 1327 | // ── hasNonModelProperties unit tests ───────────────────────────────────── | COMMENT |
| MEDIUM | …ternal/transformation/impl/ConsumerPomBuilderTest.java | 1480 | // ── isBuiltInProperty: env.* and settings.* coverage ──────────────────── | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 20 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 34 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 174 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 176 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 183 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 185 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 194 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 196 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 201 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 203 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 208 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 218 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 220 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-jvm-config.sh | 20 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-jvm-config.sh | 26 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …che-maven/src/test/scripts/test-mvn-path-conversion.sh | 20 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …che-maven/src/test/scripts/test-mvn-path-conversion.sh | 39 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-args.sh | 20 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apache-maven/src/test/scripts/test-mvn-args.sh | 33 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | deploySite.sh | 1 | #!/bin/sh | COMMENT |
| LOW | …org/codehaus/plexus/classworlds/launcher/Launcher.java | 241 | // ---------------------------------------------------------------------- | COMMENT |
| LOW | …g/apache/maven/cling/invoker/mvn/MavenInvokerTest.java | 181 | Files.createDirectories(userConf); | COMMENT |
| LOW | …in/java/org/apache/maven/cling/invoker/BaseParser.java | 441 | COMMENT | |
| LOW | …java/org/apache/maven/cling/invoker/LookupInvoker.java | 861 | } | COMMENT |
| LOW | …g/apache/maven/impl/model/DefaultModelBuilderTest.java | 201 | // to !false = true and fires unconditionally — same footgun as <file><missing>. | COMMENT |
| LOW | …java/org/apache/maven/impl/DefaultSettingsBuilder.java | 481 | // was to make it possible to add "descriptions" to encrypted passwords. Maven 4 is | COMMENT |
| LOW | …a/org/apache/maven/impl/model/DefaultModelBuilder.java | 1721 | // property-based profiles — see #13390), | COMMENT |
| LOW | …a/org/apache/maven/impl/model/DefaultModelBuilder.java | 1741 | return profileSelector.getActiveProfiles(nonFileProfiles, externalContext, this); | COMMENT |
| LOW | …/apache/maven/impl/model/DefaultModelInterpolator.java | 121 | BinaryOperator<String> postprocessor = (e, v) -> postProcess(projectDir, request, e, v); | COMMENT |
| LOW | …che/maven/graph/DefaultProjectDependencyGraphTest.java | 81 | // | -> eProject | COMMENT |
| LOW | …/org/apache/maven/lifecycle/LifecycleExecutorTest.java | 161 | List<MojoExecution> executionPlan = getExecutions(calculateExecutionPlan(session, "clean", "install")); | COMMENT |
| LOW | …/org/apache/maven/lifecycle/LifecycleExecutorTest.java | 201 | COMMENT | |
| LOW | …-core/src/main/java/org/apache/maven/DefaultMaven.java | 161 | legacySupport.setSession(null); | COMMENT |
| LOW | …-core/src/main/java/org/apache/maven/DefaultMaven.java | 181 | // This ensures that the projects passed into the ReactorReader are only those specified. | COMMENT |
| LOW | …apache/maven/graph/FilteredProjectDependencyGraph.java | 121 | filtered.add(project); | COMMENT |
| LOW | …rc/main/java/org/apache/maven/lifecycle/Lifecycle.java | 41 | public Lifecycle( | COMMENT |
| LOW | …he/maven/lifecycle/internal/MojoDescriptorCreator.java | 161 | // This won't be valid, but it constructs something easy to read in the error message | COMMENT |
| LOW | …en/project/inheritance/t04/ProjectInheritanceTest.java | 41 | @SuppressWarnings("checkstyle:UnusedLocalVariable") | COMMENT |
| LOW | …en/project/inheritance/t00/ProjectInheritanceTest.java | 41 | // p4 inherits from p3 | COMMENT |
| LOW | …en/project/inheritance/t01/ProjectInheritanceTest.java | 41 | // p0 inherits from super model | COMMENT |
| LOW | …apache/maven/settings/DefaultMavenSettingsBuilder.java | 101 | } | COMMENT |
| LOW | …main/java/org/apache/maven/artifact/ArtifactUtils.java | 121 | // For some reason with the introduction of MNG-1577 we have the case in Yoko where a depMan section has | COMMENT |
| LOW | …edder/src/main/java/org/apache/maven/cli/MavenCli.java | 1241 | // present supplied by the user. The rule is that we only allow the execution of one ConfigurationProcessor. | COMMENT |
| LOW | its/run-its.sh | 1 | #!/bin/sh | COMMENT |
| LOW | its/run-its.sh | 21 | COMMENT | |
| LOW | …t-suite/src/test/resources/mng-5207/prepare/prepare.sh | 1 | #!/bin/sh | COMMENT |
| LOW | …ore-it-suite/src/test/resources-filtered/bootstrap.txt | 1 | #0 | COMMENT |
| LOW | …g/apache/maven/it/MavenITmng5760ResumeFeatureTest.java | 181 | // The result should be: | COMMENT |
| LOW | …ache/maven/it/MavenITmng7737ProfileActivationTest.java | 61 | // - settings-jdk-8 (source: external) | COMMENT |
| LOW | …aven/it/MavenITmng3813PluginClassPathOrderingTest.java | 61 | COMMENT | |
| LOW | .github/release-drafter.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/release-drafter-3.x.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/dependabot.yml | 1 | # | COMMENT |
| LOW | .github/workflows/maven.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/pr-signal.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/stale.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/pr-automation.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/release-drafter.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/update-lifecycle-plugins.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/pr-check.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/stale-branches.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/BUG.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/config.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/FEATURE.yml | 1 | # | COMMENT |
| LOW | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 1 | #!/bin/sh | COMMENT |
| LOW | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 21 | # Tests the fast version path in bin/mvn that renders the version banner | COMMENT |
| LOW | apache-maven/src/test/scripts/test-mvn-jvm-config.sh | 1 | #!/bin/sh | COMMENT |
| LOW | …che-maven/src/test/scripts/test-mvn-path-conversion.sh | 1 | #!/bin/sh | COMMENT |
| LOW | …che-maven/src/test/scripts/test-mvn-path-conversion.sh | 21 | # Tests the Cygwin/MinGW/MSYS2 path conversion performed by bin/mvn. | COMMENT |
| LOW | apache-maven/src/test/scripts/test-mvn-args.sh | 1 | #!/bin/sh | COMMENT |
| LOW | apache-maven/src/test/scripts/test-mvn-args.sh | 21 | # Tests how bin/mvn hands the MAVEN_ARGS environment variable over to Maven. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …pache/maven/it/MavenITmng12534AfterAnnotationTest.java | 45 | // Step 1: build and install the test plugin (maven-plugin-plugin generates the descriptor) | COMMENT |
| LOW⚡ | …pache/maven/it/MavenITmng12534AfterAnnotationTest.java | 51 | // Step 2: build the consumer project using the concurrent builder | COMMENT |
| LOW | …/maven/it/MavenITgh13059MvnupJarPluginUpgradeTest.java | 62 | // Step 1: run mvnup apply — must upgrade jar-plugin to 3.4.1 | COMMENT |
| LOW⚡ | …/maven/it/MavenITgh13059MvnupJarPluginUpgradeTest.java | 88 | // Step 2: build the upgraded project with Maven 4 — 3.4.1 must work cleanly | COMMENT |
| LOW⚡ | …/maven/it/MavenITgh13059MvnupJarPluginUpgradeTest.java | 96 | // Step 3: re-run mvnup on the already-upgraded project — must be idempotent | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …pache/maven/it/MavenITmng12534AfterAnnotationTest.java | 45 | // Step 1: build and install the test plugin (maven-plugin-plugin generates the descriptor) | COMMENT |
| LOW⚡ | …pache/maven/it/MavenITmng12534AfterAnnotationTest.java | 51 | // Step 2: build the consumer project using the concurrent builder | COMMENT |
| LOW | …/maven/it/MavenITgh13059MvnupJarPluginUpgradeTest.java | 62 | // Step 1: run mvnup apply — must upgrade jar-plugin to 3.4.1 | COMMENT |
| LOW⚡ | …/maven/it/MavenITgh13059MvnupJarPluginUpgradeTest.java | 88 | // Step 2: build the upgraded project with Maven 4 — 3.4.1 must work cleanly | COMMENT |
| LOW⚡ | …/maven/it/MavenITgh13059MvnupJarPluginUpgradeTest.java | 96 | // Step 3: re-run mvnup on the already-upgraded project — must be idempotent | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …java/org/apache/maven/project/ResourceIncludeTest.java | 295 | .filter(r -> r.getDirectory().endsWith("placeholder")) | CODE |
| LOW⚡ | …a/org/apache/maven/toolchain/DefaultToolchainTest.java | 94 | assertFalse(toolchain.matchesRequirements(Collections.singletonMap("name", "John Doe"))); | CODE |
| LOW⚡ | …a/org/apache/maven/toolchain/DefaultToolchainTest.java | 103 | toolchain.addProvideToken("name", RequirementMatcherFactory.createExactMatcher("Jane Doe")); | CODE |
| LOW⚡ | …a/org/apache/maven/toolchain/DefaultToolchainTest.java | 105 | assertFalse(toolchain.matchesRequirements(Collections.singletonMap("name", "John Doe"))); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …n/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java | 785 | * Simple version comparison to check if current version is below minimum version. This is a basic implementation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …a/org/apache/maven/impl/model/DefaultModelBuilder.java | 910 | // Use toAbsolutePath().normalize() for robust comparison — rootDirectory from | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apache-maven/src/test/scripts/test-mvn-fast-version.sh | 61 | # Create the precomputed version properties file. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …java/org/apache/maven/testing/di/MavenDIExtension.java | 210 | // TODO: implement | COMMENT |