You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sailer, Richard" <Ri...@cassidian.com> on 2011/04/12 07:45:19 UTC

A lot of Warnings in execution of Reports

Hello I get a log of warnings, when I execute Reports( Checkstyle,
FindBugs, ...)

here is a extract of the maven output:

Instrumenting 78 files to
/data/jenkins/jobs/fo_rpm_nightly/workspace/fo_rpm_package_ss/temp_rpmsr
c/alerts_java_ss/target/generated-classes/cobertura

Cobertura: Saved information on 78 classes.

Instrument time: 360ms



[INFO] Instrumentation was successful.

[INFO] [resources:testResources {execution: default-testResources}]

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!

[INFO] skip non existing resourceDirectory
/data/jenkins/jobs/fo_rpm_nightly/workspace/fo_rpm_package_ss/temp_rpmsr
c/alerts_java_ss/test/resources

[INFO] [compiler:testCompile {execution: default-testCompile}]

[INFO] No sources to compile

[INFO] [surefire:test {execution: default-test}]

[INFO] No tests to run.

[INFO] Preparing jdepend:generate

[INFO] [resources:resources {execution: default-resources}]

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!

[INFO] skip non existing resourceDirectory
/data/jenkins/jobs/fo_rpm_nightly/workspace/fo_rpm_package_ss/temp_rpmsr
c/alerts_java_ss/resources

[INFO] [compiler:compile {execution: default-compile}]

[INFO] Nothing to compile - all classes are up to date

[INFO] Preparing findbugs:findbugs

[INFO] [resources:resources {execution: default-resources}]

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!

[INFO] skip non existing resourceDirectory
/data/jenkins/jobs/fo_rpm_nightly/workspace/fo_rpm_package_ss/temp_rpmsr
c/alerts_java_ss/resources

[INFO] [compiler:compile {execution: default-compile}]

[INFO] Nothing to compile - all classes are up to date

[INFO] [site:site {execution: default-site}]

[WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport -
AbstractMethodError: canGenerateReport()

[INFO] Unable to load parent project from a relative path: Could not
find the model file
'/data/jenkins/jobs/fo_rpm_nightly/workspace/fo_rpm_package_ss/temp_rpms
rc/pom.xml'. for project unknown

[INFO] Parent project loaded from repository.

[WARNING] Unable to load parent project from repository: Failed to
validate POM for project ${top_level_group_id}:master_project at
Artifact [${top_level_group_id}:master_project:pom:${top_level_version}]

[WARNING] No URL defined for the project - decoration links will not be
resolved

[INFO] Generating "Issue Tracking" report.

[INFO] Generating "Project Team" report.

[INFO] Generating "Dependency Management" report.

[INFO] Generating "Dependencies" report.

[WARNING] The parameter 'dependencyLocationsEnabled' is ignored in
offline mode.

[INFO] Generating "Project Plugins" report.

[INFO] Generating "Checkstyle" report.

[WARNING] File encoding has not been set, using platform encoding UTF-8,
i.e. build is platform dependent!

[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
org/apache/maven/plugin/checkstyle/checkstyle-rss.vm [line 6,column 11]
: ${project.url} is not a valid reference.

[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
org/apache/maven/plugin/checkstyle/checkstyle-rss.vm [line 1,column 1] :
${project.url} is not a valid reference.

[INFO] Generating "PMD Report" report.

I use the following master pom file.



 <<pom_tests_and_reports.xml>> 

Can you please give me hints which warnings can be ignored and if not
how can I resolve the warnings.
I also don't see the Java Compiler Warnings but I turned on the Compiler
Warnings in the pom file.

Many Thanks
Richard Sailer

Re: A lot of Warnings in execution of Reports

Posted by Wayne Fay <wa...@gmail.com>.
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!

Oh great and mighty Google, we ask that you bestow your wisdom upon
this humble supplicant:
http://www.lmgtfy.com/?q=maven+%22using+platform+encoding%22

As for the others, Google may be able to help, or probably you can
ignore most of them unless you have a specific problem with the site
that is generated... I admit that (on my work projects) we don't pay a
whole lot of attention to the generated site on a regular basis unless
we have a specific need/problem with it. And we ignore most warnings
like the ones you posted.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org