| <?xml version="1.0"?> |
| <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you 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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <!-- ======================================================================= --> |
| <!-- P A R E N T P R O J E C T --> |
| <!-- ======================================================================= --> |
| <parent> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling</artifactId> |
| <version>26</version> |
| <relativePath /> |
| </parent> |
| |
| <!-- ======================================================================= --> |
| <!-- P R O J E C T --> |
| <!-- ======================================================================= --> |
| <artifactId>org.apache.sling.scripting.sightly</artifactId> |
| <version>1.0.18</version> |
| <packaging>bundle</packaging> |
| |
| <name>Apache Sling Scripting Sightly Engine</name> |
| |
| <description> |
| The Apache Sling Scripting Sightly Engine is a Java implementation of the Sightly specification. The bundle contains the Sightly |
| engine and its plugin framework implementation. |
| </description> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly-1.0.18</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly-1.0.18</developerConnection> |
| <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.scripting.sightly-1.0.18</url> |
| </scm> |
| |
| <properties> |
| <antlr.version>4.1</antlr.version> |
| </properties> |
| |
| <!-- ======================================================================= --> |
| <!-- B U I L D --> |
| <!-- ======================================================================= --> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-scr-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <version>2.0</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Embed-Dependency>antlr4-runtime,org.abego.treelayout.core</Embed-Dependency> |
| <ScriptEngine-Name>${project.name}</ScriptEngine-Name> |
| <ScriptEngine-Version>${project.version}</ScriptEngine-Version> |
| <Provide-Capability> |
| io.sightly; version:Version=1.0, |
| io.sightly; version:Version=1.1, |
| io.sightly; version:Version=1.2 |
| </Provide-Capability> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr4-maven-plugin</artifactId> |
| <version>${antlr.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>antlr4</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.8</version> |
| <executions> |
| <execution> |
| <id>add-antlr-source</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>src/main/antlr4</source> |
| <source>target/generated-sources/antlr4</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <stylesheet>maven</stylesheet> |
| <excludePackageNames>*.impl:*.internal:${site.javadoc.exclude}</excludePackageNames> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>3.0.3</version> |
| <configuration> |
| <effort>Max</effort> |
| <xmlOutput>true</xmlOutput> |
| <excludeFilterFile>src/test/resources/findbugs-exclude.xml</excludeFilterFile> |
| </configuration> |
| <executions> |
| <execution> |
| <id>find-bugs</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- ======================================================================= --> |
| <!-- R E P O R T I N G --> |
| <!-- ======================================================================= --> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <groups> |
| <group> |
| <title>Sightly Template Engine</title> |
| <packages>org.apache.sling.scripting.sightly.api</packages> |
| </group> |
| </groups> |
| <doctitle>${project.name} Documentation (Version: ${project.version})</doctitle> |
| <windowtitle>${project.name} Documentation (Version: ${project.version})</windowtitle> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <!-- ======================================================================= --> |
| <!-- D E P E N D E N C I E S --> |
| <!-- ======================================================================= --> |
| <dependencies> |
| |
| <!-- OSGI --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Sling APIs --> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.api</artifactId> |
| <version>2.4.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.osgi</artifactId> |
| <version>2.1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.scripting.api</artifactId> |
| <version>2.1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.classloader</artifactId> |
| <version>1.3.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.compiler</artifactId> |
| <version>2.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.xss</artifactId> |
| <version>1.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.i18n</artifactId> |
| <version>2.2.8</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Dependency for expression parsing --> |
| <dependency> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr4-runtime</artifactId> |
| <version>${antlr.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.abego.treelayout</groupId> |
| <artifactId>org.abego.treelayout.core</artifactId> |
| <version>1.0.1</version> |
| </dependency> |
| |
| <!-- javax.servlet, remove if we do not need a response wrapper --> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Apache Commons --> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>1.4</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>1.9.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>1.5.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>1.5.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |