You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by pg...@apache.org on 2009/11/18 21:39:34 UTC
svn commit: r881925 - in
/maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant:
DependenciesTask.java Pom.java
Author: pgier
Date: Wed Nov 18 20:39:33 2009
New Revision: 881925
URL: http://svn.apache.org/viewvc?rev=881925&view=rev
Log:
Minor improvements to comments.
Modified:
maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java
maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java
Modified: maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java
URL: http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java?rev=881925&r1=881924&r2=881925&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java (original)
+++ maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java Wed Nov 18 20:39:33 2009
@@ -521,6 +521,11 @@
this.verbose = verbose;
}
+ /**
+ * Use the maven artifact filtering for a particular scope.
+ *
+ * @param useScope
+ */
public void setUseScope( String useScope )
{
this.useScope = useScope;
@@ -536,6 +541,11 @@
return scopes;
}
+ /**
+ * Only include artifacts that fall under one of the specified scopes.
+ *
+ * @return
+ */
public void setScopes( String scopes )
{
this.scopes = scopes;
Modified: maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java
URL: http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java?rev=881925&r1=881924&r2=881925&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java (original)
+++ maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/Pom.java Wed Nov 18 20:39:33 2009
@@ -85,11 +85,21 @@
return refid;
}
+ /**
+ * The ID used to retrieve this pom object from the Ant project.
+ *
+ * @param refid
+ */
public void setRefid( String refid )
{
this.refid = refid;
}
+ /**
+ * The ID used to store this pom object in the Ant project.
+ *
+ * @param id
+ */
public void setId( String id )
{
this.antId = id;
@@ -194,127 +204,127 @@
public String getArtifactId()
{
return getMavenProject().getArtifactId();
- } // -- String getArtifactId()
+ }
public Build getBuild()
{
return getMavenProject().getBuild();
- } // -- Build getBuild()
+ }
public CiManagement getCiManagement()
{
return getMavenProject().getCiManagement();
- } // -- CiManagement getCiManagement()
+ }
public List getContributors()
{
return getMavenProject().getContributors();
- } // -- List getContributors()
+ }
public List getDependencies()
{
return getMavenProject().getDependencies();
- } // -- List getDependencies()
+ }
public DependencyManagement getDependencyManagement()
{
return getMavenProject().getDependencyManagement();
- } // -- DependencyManagement getDependencyManagement()
+ }
public String getDescription()
{
return getMavenProject().getDescription();
- } // -- String getDescription()
+ }
public List getDevelopers()
{
return getMavenProject().getDevelopers();
- } // -- List getDevelopers()
+ }
public DistributionManagement getDistributionManagement()
{
return getMavenProject().getDistributionManagement();
- } // -- DistributionManagement getDistributionManagement()
+ }
public String getGroupId()
{
return getMavenProject().getGroupId();
- } // -- String getGroupId()
+ }
public String getInceptionYear()
{
return getMavenProject().getInceptionYear();
- } // -- String getInceptionYear()
+ }
public IssueManagement getIssueManagement()
{
return getMavenProject().getIssueManagement();
- } // -- IssueManagement getIssueManagement()
+ }
public List getLicenses()
{
return getMavenProject().getLicenses();
- } // -- List getLicenses()
+ }
public List getMailingLists()
{
return getMavenProject().getMailingLists();
- } // -- List getMailingLists()
+ }
public String getModelVersion()
{
return getMavenProject().getModelVersion();
- } // -- String getModelVersion()
+ }
public List getModules()
{
return getMavenProject().getModules();
- } // -- List getModules()
+ }
public String getName()
{
return getMavenProject().getName();
- } // -- String getName()
+ }
public Organization getOrganization()
{
return getMavenProject().getOrganization();
- } // -- Organization getOrganization()
+ }
public String getPackaging()
{
return getMavenProject().getPackaging();
- } // -- String getPackaging()
+ }
public List getPluginRepositories()
{
return getMavenProject().getPluginRepositories();
- } // -- List getPluginRepositories()
+ }
public Reporting getReporting()
{
return getMavenProject().getReporting();
- } // -- Reports getReports()
+ }
public List getRepositories()
{
return getMavenProject().getRepositories();
- } // -- List getRepositories()
+ }
public Scm getScm()
{
return getMavenProject().getScm();
- } // -- Scm getScm()
+ }
public String getUrl()
{
return getMavenProject().getUrl();
- } // -- String getUrl()
+ }
public String getVersion()
{
return getMavenProject().getVersion();
- } // -- String getVersion()
+ }
public String getId()
{