creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P. Ottlinger" <pottlin...@aiki-it.de>
Subject Re: svn commit: r1617162 - /creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
Date Mon, 11 Aug 2014 05:25:15 GMT
Hi *,

Am 11.08.2014 um 00:53 schrieb sebb:
> Fails with NPE - likely because getProject() is null - same issue as
> I'd already discovered.

That's rather strange .... I've replaced the injection of project in
AbstractRatMojo:
	//@Parameter(name = "project", readonly = true)
	@Component
	private MavenProject project;


@Sebb: can you verify if that (r1617203) fixes the problem with your
projects?

I'm not sure how to solve
https://issues.apache.org/jira/browse/RAT-168
-one should invoke maven directly?
-or just check that project is not null in an integration test?

What do you think?

Thanks
Phil




Mime
View raw message