Amrit Verma created SLING-6879:
----------------------------------
Summary: [Rewriter] mvn clean install generates empty files under
empty files under target/classes/OSGI-INF
Key: SLING-6879
URL: https://issues.apache.org/jira/browse/SLING-6879
Project: Sling
Issue Type: Bug
Components: Extensions
Environment: Windows 10, Ubuntu 16.04, Java 8, Maven 3.5.0
Reporter: Amrit Verma
Building the {{org.apache.sling.rewriter}} module using mvn clean install
(Maven 3.5.0 and Java 8) generates empty files under
{{target/classes/OSGI-INF}} eg the generated file
org.apache.sling.rewriter.impl.components.HtmlGeneratorFactory.xml is empty
If I change the annotations on those components to osgi annotations instead of
felix scr annotations eg {{org.osgi.service.component.annotations.Component}}
instead of {{org.apache.felix.scr.annotations.Component}}, the files are
generated properly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)