Alex Parvulescu created FELIX-4003:
--------------------------------------
Summary: SCR descriptor generation fails for a commented-out class
Key: FELIX-4003
URL: https://issues.apache.org/jira/browse/FELIX-4003
Project: Felix
Issue Type: Bug
Components: Maven SCR Plugin
Affects Versions: maven-scr-plugin-1.11.0
Reporter: Alex Parvulescu
Priority: Minor
There's a failure to generate scr descriptor when there's a java file that is
all commented out in the project.
I'm not really sure this is something the plugin needs to take into
consideration,
I happened to run into it when I commented out a java class (each line starts
with a line comment '//') and the maven project would not build anymore because
the scr-plugin keps failng:
bq. [ERROR] Failed to execute goal
org.apache.felix:maven-scr-plugin:1.11.1-SNAPSHOT:scr (generate-scr-descriptor)
on project basic-built-it:
/home/alex/work/felix/trunk/scrplugin/maven-scr-plugin/target/it/basic-build-it/src/main/java/org/apache/felix/scr/DummyClass.java
: Unable to load compiled class: org.apache.felix.scr.DummyClass, 907 -> [Help
1]
I'll attach a patch to reproduce this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira