Vincent Siveton wrote:
Staging repo:
https://repository.apache.org/content/repositories/maven-004/
// current project
File outFile = new File( doapFile );
if ( !doapFile.contains( File.separator ) )
{
outFile = new File( outputDirectory, doapFile );
}
writeDoapFile( project, outFile );
This causes a regression for doapFile="target/foo.rdf" on Windows. Even
on Unix, it would write the file into the working directory instead of
the project basedir.
if ( artifact != null )
{
about = project.getUrl();
}
try
{
new URL( about );
It seems troublesome to unconditionally overwrite the user-specified
"about" param with the project URL, which could be null, and to use
java.net.URL instead of java.net.URI to verify the syntax.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]