Skip to content

Commit bebaed3

Browse files
committed
🔥 Removed bundle plugin
The rest-services client jar does not need to be a bundle, so I removed the bundle plugin.
1 parent c14526c commit bebaed3

1 file changed

Lines changed: 1 addition & 62 deletions

File tree

‎rest-services/client/pom.xml‎

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<relativePath>../pom.xml</relativePath>
2525
</parent>
2626
<artifactId>rest-services.client</artifactId>
27-
<packaging>bundle</packaging>
27+
<packaging>jar</packaging>
2828
<name>AEM Document Services REST Services - Client</name>
2929
<description>Client bundle for AEM Document Services REST Services</description>
3030

@@ -42,67 +42,6 @@
4242

4343
<build>
4444
<plugins>
45-
<plugin>
46-
<groupId>org.apache.sling</groupId>
47-
<artifactId>maven-sling-plugin</artifactId>
48-
</plugin>
49-
<plugin>
50-
<groupId>org.apache.felix</groupId>
51-
<artifactId>maven-bundle-plugin</artifactId>
52-
<extensions>true</extensions>
53-
<executions>
54-
<execution>
55-
<id>generate-osgi-metadata-for-unittests</id>
56-
<goals>
57-
<goal>manifest</goal>
58-
</goals>
59-
<phase>process-classes</phase>
60-
</execution>
61-
<execution>
62-
<id>scr-metadata</id>
63-
<goals>
64-
<goal>manifest</goal>
65-
</goals>
66-
<configuration>
67-
<supportIncrementalBuild>true</supportIncrementalBuild>
68-
</configuration>
69-
</execution>
70-
</executions>
71-
<configuration>
72-
<exportScr>true</exportScr>
73-
<instructions>
74-
<!-- Import any version of javax.inject and javax.annotation, to allow running on multiple versions of AEM -->
75-
<Import-Package>
76-
javax.inject;version=0.0.0,
77-
javax.annotation;version=0.0.0,
78-
*
79-
</Import-Package>
80-
<Sling-Model-Packages>
81-
com._4point.aem.docservices.rest_services.core
82-
</Sling-Model-Packages>
83-
<_dsannotations>*</_dsannotations>
84-
<_metatypeannotations>*</_metatypeannotations>
85-
<_plugin>
86-
<!-- Enable registration of Sling Models classes via bnd plugin -->
87-
org.apache.sling.bnd.models.ModelsScannerPlugin,
88-
<!-- Allow the processing of SCR annotations via a bnd plugin -->
89-
org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin;destdir=${project.build.outputDirectory}
90-
</_plugin>
91-
</instructions>
92-
</configuration>
93-
<dependencies>
94-
<dependency>
95-
<groupId>org.apache.felix</groupId>
96-
<artifactId>org.apache.felix.scr.bnd</artifactId>
97-
<version>1.9.0</version>
98-
</dependency>
99-
<dependency>
100-
<groupId>org.apache.sling</groupId>
101-
<artifactId>org.apache.sling.bnd.models</artifactId>
102-
<version>1.0.0</version>
103-
</dependency>
104-
</dependencies>
105-
</plugin>
10645
<plugin>
10746
<groupId>org.apache.maven.plugins</groupId>
10847
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)