Tag List Report

The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.

Tag Class Total number of occurrences Tag strings used by tag class
Deprecated Work 55 @deprecated
FIXME Work 1 fixme, @fixme
Todo Work 120 todo, @todo

Each tag is detailed below:

Deprecated Work

Number of occurrences found in the code: 55

org.apache.maven.ArtifactFilterManager Line
use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core and plugin extensions. 35
use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core and plugin extensions. 51
org.apache.maven.ArtifactFilterManagerDelegate Line
use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core extensions. 25
org.apache.maven.DefaultProjectDependenciesResolver Line
As of 3.2.2, and there is no direct replacement. This is an internal class which was not marked as such, but should have been. 48
org.apache.maven.ProjectDependenciesResolver Line
As of 3.2.2, and there is no direct replacement. This is an internal class which was not marked as such, but should have been. 32
org.apache.maven.artifact.handler.DefaultArtifactHandler Line
This ctor is present only for Plexus XML defined component compatibility, do not use it. 51
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException Line
use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)} 34
use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)} 44
use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)} 55
org.apache.maven.classrealm.ClassRealmRequest Line
Use {@link #getParentImports()} instead. 74
org.apache.maven.execution.DefaultMavenExecutionRequest Line
use {@link #setPom(File)} 662
org.apache.maven.execution.MavenExecutionRequest Line
Since Maven 4: use {@link #getProjectActivation()}. 158
Since Maven 4: use {@link #getProjectActivation()}. 164
Since Maven 4: use {@link #getProjectActivation()}. 173
Since Maven 4: use {@link #getProjectActivation()}. 181
Since Maven 4: use {@link #getProfileActivation()}. 293
Since Maven 4: use {@link #getProfileActivation()}. 299
Since Maven 4: use {@link #getProfileActivation()}. 305
Since Maven 4: use {@link #getProfileActivation()}. 312
Since Maven 4: use {@link #getProfileActivation()}. 318
Since Maven 4: use {@link #getProfileActivation()}. 324
Since Maven 4: use {@link #getProfileActivation()}. 330
Since Maven 4: use {@link #getProfileActivation()}. 337
org.apache.maven.execution.MavenSession Line
This appears not to be used anywhere within Maven itself. 309
Use either {@link #getUserProperties()} or {@link #getSystemProperties()}. 424
org.apache.maven.execution.ProfileActivation Line
Use {@link #getRequiredActiveProfileIds()} and {@link #getOptionalActiveProfileIds()} instead. 42
Use {@link #getRequiredInactiveProfileIds()} and {@link #getOptionalInactiveProfileIds()} instead. 52
Use {@link #activateOptionalProfile(String)} or {@link #activateRequiredProfile(String)} instead. 63
Use {@link #deactivateOptionalProfile(String)} or {@link #deactivateRequiredProfile(String)} instead. 75
org.apache.maven.execution.ProjectActivation Line
Use {@link #getRequiredActiveProjectSelectors()} and {@link #getOptionalActiveProjectSelectors()} instead. 121
Use {@link #getRequiredInactiveProjectSelectors()} and {@link #getOptionalInactiveProjectSelectors()} instead. 132
Use {@link #activateOptionalProject(String)} or {@link #activateRequiredProject(String)} instead. 144
Use {@link #deactivateOptionalProject(String)} or {@link #deactivateRequiredProject(String)} instead. 157
org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub Line
instead use {@link #getNumberOfExecutions(ProjectBuildList)} 100
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping Line
use lifecycles instead 41
Should not be used in Java code. 48
org.apache.maven.plugin.CacheUtils Line
Use {@link Objects#equals(Object)} 37
Use {@link Objects#hashCode(Object)} 46
org.apache.maven.project.DefaultProjectBuildingRequest Line
This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized. 229
This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized. 241
org.apache.maven.project.DuplicateProjectException Line
use {@link #DuplicateProjectException(String, File, File, String)} 39
use {@link #DuplicateProjectException(String, File, File, String)} 47
org.apache.maven.project.MavenProject Line
Please use {@link MavenProjectHelper} 934
Use MavenProjectHelper.attachArtifact(..) instead. 1937
Use {@link org.apache.maven.model.io.ModelWriter}. 1945
Use {@link org.apache.maven.model.io.ModelWriter}. 1956
org.apache.maven.project.ProjectBuildingException Line
use {@link #getPomFile()} 81
org.apache.maven.project.ProjectBuildingRequest Line
This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized. 176
This got added when implementing MNG-2199 and is no longer used. Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized. 184
org.apache.maven.repository.DelegatingLocalArtifactRepository Line
instead use {@link #getIdeWorkspace()} 65
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException Line
use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)} 36
use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)} 46
use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)} 57
org.apache.maven.toolchain.DefaultToolchainsBuilder Line
instead use {@link org.apache.maven.toolchain.building.DefaultToolchainsBuilder} 36
org.apache.maven.toolchain.java.DefaultJavaToolChain Line
clients that do not require compatibility with Maven 3.2.3 and earlier should link to {@link JavaToolchainImpl} instead. 30

FIXME Work

Number of occurrences found in the code: 1

org.apache.maven.project.MavenProject Line
This is hacky. What if module directory doesn't match artifactid, and parent is coming from the repository?? 1503

Todo Work

Number of occurrences found in the code: 120

org.apache.maven.AbstractMavenLifecycleParticipant Line
This is too early for build extensions, so maybe just remove it? 62
org.apache.maven.DefaultMaven Line
Hack to make the cycle detection the same for the new graph builder 166
org.apache.maven.artifact.DependencyResolutionRequiredException Line
it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception? 26
org.apache.maven.artifact.repository.MavenArtifactRepository Line
completely separate local and remote artifact repositories 36
need to URL decode for spaces? 248
org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata Line
not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact replaces? 184
not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact replaces? 192
org.apache.maven.artifact.repository.metadata.RepositoryMetadata Line
not happy about the store method - they use "this" 29
org.apache.maven.artifact.resolver.ArtifactResolutionResult Line
carlos: all these possible has*Exceptions and get*Exceptions methods make the clients too complex requiring a long list of checks, need to create a parent/interface/encapsulation for the types of exceptions 44
this needs to accept a {@link OverConstrainedVersionException} as returned by {@link #getVersionRangeViolation(int)} but it's not used like that in DefaultLegacyArtifactCollector 189
org.apache.maven.artifact.resolver.ResolutionListener Line
Use the following two instead of manageArtifact 85
Remove ResolutionListenerDM interface 86
org.apache.maven.artifact.resolver.ResolutionNode Line
if it was null, we really need to go find them now... or is this taken care of by the ordering? 207
org.apache.maven.artifact.resolver.filter.ExcludesArtifactFilter Line
I think this is equiv. to exclusion set filter in maven-core 30
org.apache.maven.artifact.resolver.filter.IncludesArtifactFilter Line
what about wildcards? Just specifying groups? versions? 52
org.apache.maven.execution.BuildSummary Line
Validate for < 0? 53
org.apache.maven.execution.DefaultMavenExecutionRequest Line
this does not belong here. 1078
org.apache.maven.internal.impl.AbstractSession Line
--No comment-- 139
--No comment-- 152
org.apache.maven.internal.impl.DefaultNode Line
--No comment-- 78
org.apache.maven.internal.impl.DefaultProjectManager Line
apiv4 75
apiv4 130
apiv4 164
org.apache.maven.internal.impl.DefaultSession Line
--No comment-- 324
org.apache.maven.internal.impl.TestRepositorySystem Line
Auto-generated method stub 205
Auto-generated method stub 325
org.apache.maven.lifecycle.DefaultLifecycleExecutor Line
This whole method could probably removed by injecting lifeCyclePluginAnalyzer straight into client site. 106
But for some reason the whole plexus appcontext refuses to start when I try this. 107
org.apache.maven.lifecycle.DefaultLifecycles Line
The configuration for the lifecycle needs to be externalized so that I can use the annotations properly for the wiring and reference and external source for the lifecycle configuration. 44
Remove the following code when maven-compat is gone This code is here to ensure maven-compat's EmptyLifecycleExecutor keeps on working. 152
org.apache.maven.lifecycle.MavenExecutionPlan Line
lifecycles being executed 37
what runs in each phase 38
plugins that need downloading 39
project dependencies that need downloading 40
unfortunately the plugins need to be downloaded in order to get the plugin.xml file. need to externalize this from the plugin archive. 41
this will be the class that people get in IDEs to modify 43
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator Line
take repo mans into account as one may be aggregating prefixes of many 582
collect at the root of the repository, read the one at the root, and fetch remote if something is missing or the user forces the issue 583
org.apache.maven.lifecycle.internal.DependencyContext Line
From a concurrency perspective, this class is not good. The combination of mutable/immutable state is not nice 39
org.apache.maven.lifecycle.internal.MojoDescriptorCreator Line
take repo mans into account as one may be aggregating prefixes of many 248
collect at the root of the repository, read the one at the root, and fetch remote if something is missing or the user forces the issue 249
org.apache.maven.lifecycle.internal.MojoExecutor Line
ideally, the builder should take care of the ordering in a smarter way 240
and concurrency issues fixed with MNG-7157 241
when resolver 1.7.3 is released, the code below should be changed to 308
Map<MavenProject, Lock> locks = ( Map ) ((Map) data).computeIfAbsent( 309
ProjectLock.class, l -> new ConcurrentHashMap<>() ); 310
org.apache.maven.lifecycle.internal.ProjectBuildList Line
Optimize; or maybe just rewrite the whole way aggregating mojos are being run. 55
org.apache.maven.lifecycle.internal.ProjectBuildListTest Line
Make multiple segments on projectBuildList 44
org.apache.maven.lifecycle.internal.ProjectIndex Line
Kristian wonders if this class really is necessary and if it overlaps other concepts. 39
org.apache.maven.lifecycle.internal.TaskSegment Line
Consider throwing UnsupportedSomething on hashCode/equals 72
org.apache.maven.lifecycle.internal.builder.BuilderCommon Line
I'm really wondering where this method belongs; smells like it should be on MavenProject, but for some reason it isn't ? This localization is kind-of a code smell. 249
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder Line
MNG-5766 changes likely made this redundant 189
org.apache.maven.lifecycle.providers.packaging.AbstractLifecycleMappingProvider Line
Update!!! 60
org.apache.maven.plugin.DefaultBuildPluginManager Line
the antrun plugin has its own configurator, the only plugin that does. might need to think about how that works 49
remove the coreArtifactFilterManager 50
pluginDescriptor classRealm and artifacts are set as a side effect of this call, which is not nice. 225
org.apache.maven.plugin.PluginManagerTest Line
These two tests display a lack of symmetry with respect to the input which is a free form string and the mojo descriptor which comes back. All the free form parsing needs to be done somewhere else, this is really the function of the CLI, and then the pre-processing of that output still needs to be fed into a hinting process which helps flesh out the full specification of the plugin. The plugin manager should only deal in concrete terms -- all version finding mumbo jumbo is a customization to base functionality the plugin manager provides. 99
turn an equivalent back on when the RR plugin is released. 110
this will be the basis of the customizable lifecycle execution so need to figure this out quickly. 135
org.apache.maven.plugin.PluginParameterExpressionEvaluator Line
don't catch exception 224
don't catch exception 260
don't catch exception 292
don't catch exception 349
without #, this could just be an evaluate call... 404
Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a similar component for re-usage 449
org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest Line
Auto-generated method stub 454
org.apache.maven.plugin.PluginParameterExpressionEvaluatorV4 Line
v4 200
v4 209
don't catch exception 227
v4 247
don't catch exception 265
v4 272
v4 280
don't catch exception 298
v4 305
v4 310
don't catch exception 357
without #, this could just be an evaluate call... 412
Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a similar component for re-usage 457
org.apache.maven.plugin.internal.DefaultMavenPluginManager Line
could the configuration be passed to lookup and the configurator known to plexus via the descriptor so that this method could entirely be handled by a plexus lookup? 658
store plugin version 857
figure out how to use the same PluginDescriptor when running mojos 899
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver Line
We currently cannot tell which <dependencyManagement> section contained the management information. When the resolver provides this information, these log messages should be updated to contain it. 263
org.apache.maven.project.DefaultProjectBuildingHelper Line
not used? Then remove 72
org.apache.maven.project.DefaultProjectDependenciesResolver Line
We currently cannot tell which <dependencyManagement> section contained the management information. When the resolver provides this information, these log messages should be updated to contain it. 277
org.apache.maven.project.DuplicateArtifactAttachmentException Line
Make this a checked exception, and modify the API of MavenProjectHelper. Currently, this modification would create compatibility problems for existing plugins. 30
org.apache.maven.project.MavenProject Line
I would like to get rid of this. jvz. 235
let the scope handler deal with this 370
this checking for file == null happens because the resolver has been confused about the root artifact or not. things like the stupid dummy artifact coming from surefire. 382
let the scope handler deal with this 426
this should not be allowed to be null. 488
classpath check doesn't belong here - that's the other method 1599
let the scope handler deal with this 1602
let the scope handler deal with this 1627
classpath check doesn't belong here - that's the other method 1653
let the scope handler deal with this 1704
classpath check doesn't belong here - that's the other method 1729
let the scope handler deal with this 1731
let the scope handler deal with this 1756
classpath check doesn't belong here - that's the other method 1773
let the scope handler deal with this 1776
let the scope handler deal with this 1800
org.apache.maven.project.ProjectBuilderTest Line
a similar test should be created to test the dependency management (basically all usages of DefaultModelBuilder.getCache() are affected by MNG-6530 170
org.apache.maven.project.ProjectSorter Line
!![jc; 28-jul-2005] check this; if we're using '-r' and there are aggregator tasks, this will result in weirdness. 223
org.apache.maven.project.artifact.ActiveProjectArtifact Line
I think this exposes a design flaw in that the immutable and mutable parts of an artifact are in one class and should be split. ie scope, file, etc depend on the context of use, whereas everything else is immutable. 41
org.apache.maven.project.artifact.MavenMetadataSource Line
hack: don't rebuild model if it was already loaded during reactor resolution 184
shouldn't the versions be merged across relocations? 660
org.apache.maven.project.artifact.PluginArtifact Line
this is duplicate of MavenPluginArtifactHandlerProvider provided one 59
org.apache.maven.project.artifact.ProjectArtifact Line
this is duplicate of PomArtifactHandlerProvider provided one 68
org.apache.maven.repository.TestRepositoryConnector Line
Auto-generated method stub 157
org.apache.maven.repository.TestRepositorySystem Line
Auto-generated method stub 202
Auto-generated method stub 322
org.apache.maven.settings.DefaultMavenSettingsBuilder Line
This replacing shouldn't be necessary as user.home should be in the context of the container and thus the value would be interpolated by Plexus 138
org.apache.maven.settings.SettingsUtilsTest Line
deep compare the lists 143
deep compare the lists 145
org.apache.maven.toolchain.DefaultToolchainManager Line
this class is extended, needs refactoring 49
why is this using the context 147
org.apache.maven.toolchain.DefaultToolchainManagerPrivate Line
refactor this, component extending component is bad practice. 35
org.apache.maven.toolchain.RequirementMatcherFactory Line
error reporting 97
org.apache.maven.toolchain.ToolchainFactory Line
keep around?? */ 42