You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2016/01/03 21:20:24 UTC
svn commit: r1722753 - in /maven/plugins/trunk/maven-jar-plugin/src:
main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java
test/java/org/apache/maven/plugins/jar/MockArtifact.java
Author: khmarbaise
Date: Sun Jan 3 20:20:24 2016
New Revision: 1722753
URL: http://svn.apache.org/viewvc?rev=1722753&view=rev
Log:
Removed TODO entries.
Modified:
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java
maven/plugins/trunk/maven-jar-plugin/src/test/java/org/apache/maven/plugins/jar/MockArtifact.java
Modified: maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java?rev=1722753&r1=1722752&r2=1722753&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java Sun Jan 3 20:20:24 2016
@@ -253,7 +253,6 @@ public abstract class AbstractJarMojo
/**
* Generates the JAR.
*
- * @todo Add license files in META-INF directory.
*/
public void execute()
throws MojoExecutionException
Modified: maven/plugins/trunk/maven-jar-plugin/src/test/java/org/apache/maven/plugins/jar/MockArtifact.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/test/java/org/apache/maven/plugins/jar/MockArtifact.java?rev=1722753&r1=1722752&r2=1722753&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/test/java/org/apache/maven/plugins/jar/MockArtifact.java (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/test/java/org/apache/maven/plugins/jar/MockArtifact.java Sun Jan 3 20:20:24 2016
@@ -116,181 +116,152 @@ class MockArtifact
public String getId()
{
- // TODO
return null;
}
public String getDependencyConflictId()
{
- // TODO
return null;
}
public void addMetadata( ArtifactMetadata artifactMetadata )
{
- // TODO
+ // intentionally empty.
}
public Collection getMetadataList()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setRepository( ArtifactRepository artifactRepository )
{
//To change body of implemented methods use File | Settings | File Templates.
- // TODO
}
public ArtifactRepository getRepository()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void updateVersion( String string, ArtifactRepository artifactRepository )
{
//To change body of implemented methods use File | Settings | File Templates.
- // TODO
}
public String getDownloadUrl()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setDownloadUrl( String string )
{
//To change body of implemented methods use File | Settings | File Templates.
- // TODO
}
public ArtifactFilter getDependencyFilter()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setDependencyFilter( ArtifactFilter artifactFilter )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public ArtifactHandler getArtifactHandler()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public List getDependencyTrail()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setDependencyTrail( List list )
{
//To change body of implemented methods use File | Settings | File Templates.
- // TODO
}
public void setScope( String string )
{
//To change body of implemented methods use File | Settings | File Templates.
- // TODO
}
public VersionRange getVersionRange()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setVersionRange( VersionRange versionRange )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public void selectVersion( String string )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isSnapshot()
{
- // TODO
return false; //To change body of implemented methods use File | Settings | File Templates.
}
public void setResolved( boolean b )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isResolved()
{
- // TODO
return false; //To change body of implemented methods use File | Settings | File Templates.
}
public void setResolvedVersion( String string )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public void setArtifactHandler( ArtifactHandler artifactHandler )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isRelease()
{
- // TODO
return false; //To change body of implemented methods use File | Settings | File Templates.
}
public void setRelease( boolean b )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public List getAvailableVersions()
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setAvailableVersions( List list )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isOptional()
{
return false; //To change body of implemented methods use File | Settings | File Templates.
- // TODO
}
public void setOptional( boolean b )
{
- // TODO
//To change body of implemented methods use File | Settings | File Templates.
}
public ArtifactVersion getSelectedVersion()
throws OverConstrainedVersionException
{
- // TODO
return null; //To change body of implemented methods use File | Settings | File Templates.
}
@@ -298,7 +269,6 @@ class MockArtifact
throws OverConstrainedVersionException
{
return false; //To change body of implemented methods use File | Settings | File Templates.
- // TODO
}
public void setGroupId( String groupId )
@@ -323,13 +293,11 @@ class MockArtifact
public int compareTo( Artifact o )
{
- // TODO Auto-generated method stub
return 0;
}
public ArtifactMetadata getMetadata( Class<?> metadataClass )
{
- // TODO Auto-generated method stub
return null;
}
}