Skip to content

Instantly share code, notes, and snippets.

@yupadhyay
Created November 5, 2014 17:37
Show Gist options
  • Save yupadhyay/387789fc1bb96faf1a74 to your computer and use it in GitHub Desktop.
Save yupadhyay/387789fc1bb96faf1a74 to your computer and use it in GitHub Desktop.
<!-- All other configuration in your bundle pom -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>
com.myotherpackages
</Export-Package>
<Sling-Model-Packages>
com.allmymodelpackage
</Sling-Model-Packages>
<Bundle-Category>sling-model-demo</Bundle-Category>
</instructions>
</configuration>
</plugin>
<!-- All other dependecies -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.models.api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.models.impl</artifactId>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment