Skip to content
Merged
Show file tree
Hide file tree
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 @@ -34,6 +34,4 @@ Attributes attrs = mf.getMainAttributes();

String classPath = (String) attrs.get( Attributes.Name.CLASS_PATH );

System.out.println( "Got Main-Class: " + mainClass );

return classPath.contains("plexus-utils");
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ import java.io.File;
This is where you verify the results of the assembly build. You may need to check the existence of a file,
or even peek within a jar file to determine whether the assembly did the right thing.
*/
return new File( basedir, "target/${artifactId}-${version}-bin.dir/lib/junit-jupiter-api.jar" ).exists();
return new File( basedir, 'target/${artifactId}-${version}-bin.dir/lib/junit-jupiter-api.jar' ).exists();
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ try
boolean found30 = false;
boolean found40 = false;

String line = null;
line = null;
while( ( line = br.readLine() ) != null )
{
if ( line.endsWith( "spring-aop-3.0.xsd" ) )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
import java.io.*;

File dir = new File( basedir, "target/dep-transfilter-wildcard-massembly544-1-bin/maven-libs" );
File[] files = {
File[] files = [
new File( dir, "wagon-webdav-jackrabbit-1.0-beta-4.jar" ),
new File( dir, "xercesMinimal-1.9.6.2.jar" ),
new File( dir, "maven-reporting-api-2.0.4.jar" ),
new File( dir, "doxia-sink-api-1.0-alpha-7.jar" )
};
];

boolean result = true;
for( int i = 0; i<files.length; i++ )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import java.io.*;

if ( basedir == void )
if ( !binding.hasVariable( "basedir" ) )
{
basedir = new File( "." );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ try
return false;
}
s = r.readLine();
if(!s.contains("escapedString=${project.artifactId}"))
if(!s.contains('escapedString=${project.artifactId}'))
{
System.out.println("file-1.properties did not escape filtering");
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@ Attributes attrs = mf.getMainAttributes();

String foo = (String) attrs.get( new Attributes.Name( "foo" ) );

System.out.println( "Got foo: " + mode );

return "beer".equals( foo );
Loading