sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-6879) [Rewriter] mvn clean install generates empty files under empty files under target/classes/OSGI-INF
Date Wed, 24 May 2017 13:09:04 GMT

    [ https://issues.apache.org/jira/browse/SLING-6879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022859#comment-16022859
] 

Robert Munteanu commented on SLING-6879:
----------------------------------------

Moving to the new annotations is fine, we're gradually doing that for all modules.

> [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)

Mime
View raw message