You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/05/24 08:54:04 UTC
[jira] [Commented] (SLING-6879) [Rewriter] mvn clean install
generates empty files under empty files under target/classes/OSGI-INF
[ https://issues.apache.org/jira/browse/SLING-6879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022558#comment-16022558 ]
Robert Munteanu commented on SLING-6879:
----------------------------------------
Thanks for the report [~amrverma] . Would you be willing to submit a patch or a pull request?
> [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)