All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.pom.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<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>

    <parent>
        <groupId>com.sdl.dxa</groupId>
        <artifactId>dxa-oss-parent</artifactId>
        <version>2.2.29-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>${artifactId}</artifactId>

    <groupId>${groupId}</groupId>
    <packaging>war</packaging>

    <name>DXA - Webapp</name>
    <description>Example web application for DXA</description>
    <version>${version}</version>

    <properties>
        <java-version>1.8</java-version>
    </properties>

    <build>
        <finalName>${project.artifactId}</finalName>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>${java-version}</source>
                    <target>${java-version}</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-archetype-plugin</artifactId>
                <version>3.0.1</version>
                <executions>
                    <execution>
                        <phase>install</phase>
                        <configuration>
                            <propertyFile>archetype.properties</propertyFile>
                        </configuration>
                        <goals>
                            <goal>create-from-project</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>core-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-core</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>cid-module</id>
            <dependencies>
                <dependency>
                    <artifactId>dxa-module-cid</artifactId>
                    <groupId>com.sdl.dxa.modules</groupId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>search-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-search</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>googleanalytics-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-googleanalytics</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>mediamanager-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-mediamanager</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>51degrees-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-51degrees</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>audience-manager-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-audience-manager</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>tridion-docs-search-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-tridion-docs-search</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>tridion-docs-mashup-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-tridion-docs-mashup</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>test-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-test</artifactId>
                </dependency>
            </dependencies>
        </profile>

        <profile>
            <id>context-expressions-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-context-expressions</artifactId>
                </dependency>
            </dependencies>
        </profile>

        <profile>
            <id>smarttarget-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-smarttarget</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>ugc-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-ugc</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>dd-module</id>
            <dependencies>
                <dependency>
                    <groupId>com.sdl.dxa.modules</groupId>
                    <artifactId>dxa-module-dynamic-documentation</artifactId>
                </dependency>
            </dependencies>
        </profile>
    </profiles>

    <!-- Needed here because archetype comes without parent tag -->
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.sdl.dxa</groupId>
                <artifactId>dxa-oss-parent</artifactId>
                <version>2.2.29-SNAPSHOT</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <!-- Dependencies -->
    <dependencies>
        <!-- SDL Digital Experience Accelerator -->
        <dependency>
            <groupId>com.sdl.dxa</groupId>
            <artifactId>dxa-common-api</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sdl.dxa</groupId>
            <artifactId>dxa-tridion-provider</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
        </dependency>

	<dependency>
            <groupId>com.sun.activation</groupId>
            <artifactId>javax.activation</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-core</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
        </dependency>
	<dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
        </dependency>

        <!-- Testing -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>javax.cache</groupId>
            <artifactId>cache-api</artifactId>
        </dependency>
    </dependencies>

</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy