Skip to content

Commit

Permalink
Fix #253 Add licenseMergesUrl also in report goals
Browse files Browse the repository at this point in the history
There is still something missing in this fix #253. It should be included in next release because licenseMergeUrl in not reliable if there is more then one raw in content of file linked by licenseMergeUrl
  • Loading branch information
balessandr committed Feb 25, 2019
1 parent 9e343a3 commit b7439a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
APACHE|The Apache Software License, Version 2.0|Apache License, Version 2.0|Apache Public License 2.0
MIT - MIT License|The MIT License|MIT License
APACHE|The Apache Software License, Version 2.0|Apache License, Version 2.0|Apache Public License 2.0
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ protected void init()
getLog().warn( "" );
if ( UrlRequester.isStringUrl( licenseMergesUrl ) )
{
licenseMerges = Arrays.asList( UrlRequester.getFromUrl( licenseMergesUrl ) );
licenseMerges = Arrays.asList( UrlRequester.getFromUrl( licenseMergesUrl ).split( "\n" ) );
}
}
}
Expand Down

0 comments on commit b7439a9

Please sign in to comment.