Skip to content

Commit

Permalink
Merge pull request #105 from chrischrischris/setStructureModelPkg
Browse files Browse the repository at this point in the history
Export structure as sling model
  • Loading branch information
auniverseaway authored Jun 5, 2020
2 parents 59d3823 + 8097df2 commit 817d45c
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion apps/structure/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,33 @@
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<executions>
<execution>
<id>bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
<configuration>
<bnd><![CDATA[
Bundle-Category: dx
Bundle-SymbolicName: com.adobe.dx.structure
Import-Package: javax.annotation;version=0.0.0,*
-exportcontents: ${packages;VERSIONED}
Sling-Model-Packages: com.adobe.dx.structure
-snapshot: ${tstamp;yyyyMMddHHmmssSSS}
Bundle-DocURL:
-plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin
]]></bnd>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.caconfig.bnd-plugin</artifactId>
<version>1.0.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
Expand Down Expand Up @@ -71,6 +98,10 @@
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
Expand All @@ -94,7 +125,7 @@
<dependency>
<groupId>com.adobe.dx</groupId>
<artifactId>com.adobe.dx.testing</artifactId>
<version>0.0.2</version>
<version>0.0.3-SNAPSHOT</version>
</dependency>
</dependencies>
</project>

0 comments on commit 817d45c

Please sign in to comment.