Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2019
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">
  4. <modelVersion>4.0.0</modelVersion>
  5. <!-- ====================================================================== -->
  6. <!-- P A R E N T P R O J E C T D E S C R I P T I O N -->
  7. <!-- ====================================================================== -->
  8. <parent>
  9. <groupId>com.myco</groupId>
  10. <artifactId>example-project</artifactId>
  11. <version>0.0.1-SNAPSHOT</version>
  12. </parent>
  13.  
  14. <!-- ====================================================================== -->
  15. <!-- P R O J E C T D E S C R I P T I O N -->
  16. <!-- ====================================================================== -->
  17.  
  18. <artifactId>example-project.core</artifactId>
  19. <packaging>bundle</packaging>
  20. <name>My AEM Project Bundle</name>
  21.  
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.osgi</groupId>
  25. <artifactId>osgi.core</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.osgi</groupId>
  29. <artifactId>osgi.cmpn</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.osgi</groupId>
  33. <artifactId>osgi.annotation</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.osgi</groupId>
  37. <artifactId>org.osgi.service.component.annotations</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.osgi</groupId>
  41. <artifactId>org.osgi.service.metatype.annotations</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>javax.servlet</groupId>
  45. <artifactId>javax.servlet-api</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.commons</groupId>
  49. <artifactId>commons-lang3</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>commons-codec</groupId>
  53. <artifactId>commons-codec</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>commons-io</groupId>
  57. <artifactId>commons-io</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>javax.servlet.jsp</groupId>
  61. <artifactId>jsp-api</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>javax.jcr</groupId>
  65. <artifactId>jcr</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.slf4j</groupId>
  69. <artifactId>slf4j-api</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>junit</groupId>
  73. <artifactId>junit</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>junit-addons</groupId>
  77. <artifactId>junit-addons</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-simple</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.adobe.aem</groupId>
  85. <artifactId>uber-jar</artifactId>
  86. <classifier>apis</classifier>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.servicemix.bundles</groupId>
  90. <artifactId>org.apache.servicemix.bundles.javax-cache-api</artifactId>
  91. <version>1.1.0_1</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.ehcache</groupId>
  95. <artifactId>ehcache</artifactId>
  96. <version>3.7.0</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.ehcache</groupId>
  100. <artifactId>ehcache-clustered</artifactId>
  101. <version>3.7.0</version>
  102. </dependency>
  103. </dependencies>
  104.  
  105. <!-- ====================================================================== -->
  106. <!-- B U I L D D E F I N I T I O N -->
  107. <!-- ====================================================================== -->
  108. <build>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.apache.felix</groupId>
  112. <artifactId>maven-bundle-plugin</artifactId>
  113. <extensions>true</extensions>
  114. <configuration>
  115. <instructions>
  116. <Bundle-SymbolicName>com.myco.example-project</Bundle-SymbolicName>
  117. <Sling-Model-Packages>
  118. com.myco.models
  119. </Sling-Model-Packages>
  120. <Import-Package>
  121. *;resolution:=optional
  122. </Import-Package>
  123. </instructions>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.sling</groupId>
  128. <artifactId>maven-sling-plugin</artifactId>
  129. <configuration>
  130. <slingUrl>http://${crx.host}:${crx.port}/apps/my-aem-project/install</slingUrl>
  131. <usePut>true</usePut>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-javadoc-plugin</artifactId>
  137. <configuration>
  138. <excludePackageNames>
  139. *.impl
  140. </excludePackageNames>
  141. </configuration>
  142. </plugin>
  143. </plugins>
  144. </build>
  145.  
  146.  
  147. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement