assetshare.core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.adobe.aem.commons</groupId> <artifactId>assetshare.core</artifactId> <version>3.11.2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- | Copyright 2017 Adobe Systems Incorporated | | Licensed under the Apache License, Version 2.0 (the "License"); | you may not use this file except in compliance with the License. | You may obtain a copy of the License at | | http://www.apache.org/licenses/LICENSE-2.0 | | Unless required by applicable law or agreed to in writing, software | distributed under the License is distributed on an "AS IS" BASIS, | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | See the License for the specific language governing permissions and | limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <!-- ====================================================================== --> <!-- P A R E N T P R O J E C T D E S C R I P T I O N --> <!-- ====================================================================== --> <parent> <groupId>com.adobe.aem.commons</groupId> <artifactId>assetshare</artifactId> <version>3.11.2</version> <relativePath>../pom.xml</relativePath> </parent> <!-- ====================================================================== --> <!-- P R O J E C T D E S C R I P T I O N --> <!-- ====================================================================== --> <artifactId>assetshare.core</artifactId> <name>Asset Share Commons - Core</name> <description>OSGi Core bundle for Asset Share Commons</description> <build> <pluginManagement> <plugins> <!-- Maven Javadoc Plugin --> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <excludePackageNames> *.impl,com.adobe.acs.commons.util </excludePackageNames> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.sling</groupId> <artifactId>sling-maven-plugin</artifactId> </plugin> <!-- copy some Java source files from ACS AEM Commons for embedding them here --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <phase>generate-sources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-bundle</artifactId> <version>5.3.0</version> <classifier>sources</classifier> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${project.build.directory}/generated-sources/acs-aem-commons</outputDirectory> <includes>com/adobe/acs/commons/util/Buffered*.java, java,com/adobe/acs/commons/util/Servlet*.java, java,com/adobe/acs/commons/util/PathInfoUtil*.java, java,com/adobe/acs/commons/util/ParameterUtil*.java</includes> </artifactItem> </artifactItems> <includes>**/*.java</includes> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${project.build.directory}/generated-sources/acs-aem-commons</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-maven-plugin</artifactId> <configuration> <bnd><![CDATA[ Bundle-Name: Asset Share Commons - Core Bundle-Description: Asset Share Commons Core OSGi bundle containing AEM server-side logic Bundle-SymbolicName: com.adobe.aem.commons.assetshare.core # also detect scr descriptors from bundle fragments (https://docs.osgi.org/specification/osgi.cmpn/8.0.0/service.component.html#d0e30931) Service-Component: OSGI-INF/*.xml # reference packages from both fragment and this bundle: https://sling.apache.org/documentation/bundles/models.html#bundle-manifest-configuration Sling-Model-Packages: com.adobe.aem.commons.assetshare.components,\ com.adobe.aem.commons.assetshare.configuration.impl,\ com.adobe.aem.commons.assetshare.content.impl,\ com.adobe.aem.commons.assetshare.search.impl,\ com.adobe.aem.commons.assetshare.search.results.impl.result,\ com.adobe.aem.commons.assetshare.util.impl Import-Package: \ com.adobe.cq.wcm.core.components.models.form;version="[14.2.0,15)",\ com.day.cq.dam.commons.util;version="[1.61.0,3)",\ org.apache.commons.lang3;version="[3.12.0,4)",\ * ]]></bnd> </configuration> </plugin> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-baseline-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>default-jar</id> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </execution> <!-- tests are reused from assetshare.core.cloud, therefore create a dedicated artifact, https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html --> <execution> <id>generate-test-jar</id> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <!-- tests are reused from assetshare.core.cloud, therefore create a dedicated artifact, https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html --> </plugins> </build> <dependencies> <!-- annotations --> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <scope>provided</scope><!-- should not transitively be exposed --> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.annotation.versioning</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.component.annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.metatype.annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.framework</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.adobe.cq</groupId> <artifactId>core.wcm.components.core</artifactId> <scope>provided</scope> </dependency> <!-- JDK 11 --> <dependency> <artifactId>org.apache.sling.javax.activation</artifactId> <groupId>org.apache.sling</groupId> <scope>provided</scope> </dependency> <!-- Start Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.testing.osgi-mock.junit4</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.testing.sling-mock.junit4</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.wcm</groupId> <artifactId>io.wcm.testing.aem-mock.junit4</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.util.tracker</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.12.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.util.converter</artifactId> <scope>test</scope> </dependency> <!-- End Test dependencies --> <!-- the uber-jar should be the last dependency, as other dependencies should take precedence in case of package clashes --> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <scope>provided</scope> </dependency> </dependencies> </project>