Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -999,13 +999,19 @@ public void setCollectedProjects( List<MavenProject> collectedProjects )
*
* @return {@link Set} &lt; {@link Artifact} &gt;
* @see #getArtifacts() to get all transitive dependencies
* @deprecated
*/
@Deprecated
public Set<Artifact> getDependencyArtifacts()
{
return dependencyArtifacts;
}

/**
*
* @param dependencyArtifacts
* @deprecated
*/
@Deprecated
public void setDependencyArtifacts( Set<Artifact> dependencyArtifacts )
{
Expand Down Expand Up @@ -1477,6 +1483,9 @@ public void addLifecyclePhase( String lifecyclePhase )

private Map<String, String> moduleAdjustments;

/**
* @deprecated
*/
@Deprecated // This appears only to be used in test code
public String getModulePathAdjustment( MavenProject moduleProject )
throws IOException
Expand Down Expand Up @@ -1533,6 +1542,9 @@ public String getModulePathAdjustment( MavenProject moduleProject )
return moduleAdjustments.get( module );
}

/**
* @deprecated
*/
@Deprecated
public Set<Artifact> createArtifacts( ArtifactFactory artifactFactory, String inheritedScope,
ArtifactFilter filter )
Expand All @@ -1541,12 +1553,18 @@ public Set<Artifact> createArtifacts( ArtifactFactory artifactFactory, String in
return MavenMetadataSource.createArtifacts( artifactFactory, getDependencies(), inheritedScope, filter, this );
}

/**
* @deprecated
*/
@Deprecated
protected void setScriptSourceRoots( List<String> scriptSourceRoots )
{
this.scriptSourceRoots = scriptSourceRoots;
}

/**
* @deprecated
*/
@Deprecated
public void addScriptSourceRoot( String path )
{
Expand All @@ -1563,12 +1581,18 @@ public void addScriptSourceRoot( String path )
}
}

/**
* @deprecated
*/
@Deprecated
public List<String> getScriptSourceRoots()
{
return scriptSourceRoots;
}

/**
* @deprecated
*/
@Deprecated
public List<Artifact> getCompileArtifacts()
{
Expand All @@ -1590,6 +1614,9 @@ public List<Artifact> getCompileArtifacts()
return list;
}

/**
* @deprecated
*/
@Deprecated
public List<Dependency> getCompileDependencies()
{
Expand Down Expand Up @@ -1623,6 +1650,9 @@ public List<Dependency> getCompileDependencies()
return Collections.unmodifiableList( list );
}

/**
* @deprecated
*/
@Deprecated
public List<Artifact> getTestArtifacts()
{
Expand All @@ -1639,6 +1669,9 @@ public List<Artifact> getTestArtifacts()
return list;
}

/**
* @deprecated
*/
@Deprecated
public List<Dependency> getTestDependencies()
{
Expand Down Expand Up @@ -1667,6 +1700,9 @@ public List<Dependency> getTestDependencies()
return Collections.unmodifiableList( list );
}

/**
* @deprecated
*/
@Deprecated // used by the Maven ITs
public List<Dependency> getRuntimeDependencies()
{
Expand Down Expand Up @@ -1699,6 +1735,9 @@ public List<Dependency> getRuntimeDependencies()
return Collections.unmodifiableList( list );
}

/**
* @deprecated
*/
@Deprecated
public List<Artifact> getRuntimeArtifacts()
{
Expand All @@ -1717,6 +1756,9 @@ public List<Artifact> getRuntimeArtifacts()
return list;
}

/**
* @deprecated
*/
@Deprecated
public List<String> getSystemClasspathElements()
throws DependencyResolutionRequiredException
Expand All @@ -1743,6 +1785,9 @@ public List<String> getSystemClasspathElements()
return list;
}

/**
* @deprecated
*/
@Deprecated
public List<Artifact> getSystemArtifacts()
{
Expand All @@ -1763,6 +1808,9 @@ public List<Artifact> getSystemArtifacts()
return list;
}

/**
* @deprecated
*/
@Deprecated
public List<Dependency> getSystemDependencies()
{
Expand Down Expand Up @@ -1795,12 +1843,18 @@ public List<Dependency> getSystemDependencies()
return Collections.unmodifiableList( list );
}

/**
* @deprecated
*/
@Deprecated
public void setReporting( Reporting reporting )
{
getModel().setReporting( reporting );
}

/**
* @deprecated
*/
@Deprecated
public Reporting getReporting()
{
Expand All @@ -1815,12 +1869,18 @@ public void setReportArtifacts( Set<Artifact> reportArtifacts )
reportArtifactMap = null;
}

/**
* @deprecated
*/
@Deprecated
public Set<Artifact> getReportArtifacts()
{
return reportArtifacts;
}

/**
* @deprecated
*/
@Deprecated
public Map<String, Artifact> getReportArtifactMap()
{
Expand All @@ -1832,6 +1892,9 @@ public Map<String, Artifact> getReportArtifactMap()
return reportArtifactMap;
}

/**
* @deprecated
*/
@Deprecated
public void setExtensionArtifacts( Set<Artifact> extensionArtifacts )
{
Expand All @@ -1840,12 +1903,18 @@ public void setExtensionArtifacts( Set<Artifact> extensionArtifacts )
extensionArtifactMap = null;
}

/**
* @deprecated
*/
@Deprecated
public Set<Artifact> getExtensionArtifacts()
{
return extensionArtifacts;
}

/**
* @deprecated
*/
@Deprecated
public Map<String, Artifact> getExtensionArtifactMap()
{
Expand All @@ -1857,6 +1926,9 @@ public Map<String, Artifact> getExtensionArtifactMap()
return extensionArtifactMap;
}

/**
* @deprecated
*/
@Deprecated
public List<ReportPlugin> getReportPlugins()
{
Expand All @@ -1867,6 +1939,9 @@ public List<ReportPlugin> getReportPlugins()
return Collections.unmodifiableList( getModel().getReporting().getPlugins() );
}

/**
* @deprecated
*/
@Deprecated
public Xpp3Dom getReportConfiguration( String pluginGroupId, String pluginArtifactId, String reportSetId )
{
Expand Down Expand Up @@ -1943,6 +2018,9 @@ public void writeOriginalModel( Writer writer )
pomWriter.write( writer, getOriginalModel() );
}

/**
* @deprecated
*/
@Deprecated
public Artifact replaceWithActiveArtifact( Artifact pluginArtifact )
{
Expand All @@ -1955,6 +2033,7 @@ public Artifact replaceWithActiveArtifact( Artifact pluginArtifact )
*
* @return The project building request or {@code null}.
* @since 2.1
* @deprecated
*/
@Deprecated
public ProjectBuildingRequest getProjectBuildingRequest()
Expand All @@ -1968,6 +2047,7 @@ public ProjectBuildingRequest getProjectBuildingRequest()
*
* @param projectBuildingRequest The project building request, may be {@code null}.
* @since 2.1
* @deprecated
*/
// used by maven-dependency-tree
@Deprecated
Expand Down