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/25 12:48:04 UTC
[jira] [Resolved] (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:all-tabpanel ]
Robert Munteanu resolved SLING-6879.
------------------------------------
Resolution: Fixed
Applied in [r1796149|https://svn.apache.org/r1796149] with a minor change made to ensure that the service.ranking property is an Integer.
Thanks [~amrverma] for the contribution!
> [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
> Assignee: Robert Munteanu
> Fix For: Rewriter 1.2.2
>
> Attachments: SLING-6879.patch
>
>
> 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)