| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.netbeans.html</groupId> |
| <artifactId>pom</artifactId> |
| <version>2.0-SNAPSHOT</version> |
| </parent> |
| <packaging>maven-plugin</packaging> |
| <groupId>org.netbeans.html</groupId> |
| <artifactId>html4j-maven-plugin</artifactId> |
| <version>2.0-SNAPSHOT</version> |
| <name>Html for Java Maven Plugin</name> |
| <url>http://maven.apache.org</url> |
| <description>Maven plugin to post process the classes with @JavaScriptBody annotations</description> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| <repositories> |
| <repository> |
| <id>gradle</id> |
| <url>https://repo.gradle.org/gradle/libs-releases-local/</url> |
| </repository> |
| </repositories> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <extractors> |
| <extractor>java-annotations</extractor> |
| </extractors> |
| <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| </configuration> |
| <executions> |
| <execution> |
| <id>mojo-descriptor</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>3.0.4</version> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <version>3.0</version> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>3.0.2</version> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm</artifactId> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <scope>test</scope> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.html</groupId> |
| <artifactId>net.java.html.boot</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <type>jar</type> |
| </dependency> |
| <!-- gradle plugin --> |
| <dependency> |
| <groupId>org.gradle</groupId> |
| <artifactId>gradle-core</artifactId> |
| <version>3.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy</artifactId> |
| <version>1.8.3</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>run-gradle</id> |
| <activation> |
| <jdk>[1.8,1.9)</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.thingsboard</groupId> |
| <artifactId>gradle-maven-plugin</artifactId> |
| <version>1.0.9</version> |
| <configuration> |
| <tasks> |
| <task>build</task> |
| </tasks> |
| <gradleProjectDirectory>src/test/resources/org/netbeans/html/mojo/gradle1</gradleProjectDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>generate-test-resources</phase> |
| <goals> |
| <goal>invoke</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>local-gradle</id> |
| <activation> |
| <property> |
| <name>gradle.installation</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.thingsboard</groupId> |
| <artifactId>gradle-maven-plugin</artifactId> |
| <configuration> |
| <gradleInstallationDir>${gradle.installation}</gradleInstallationDir> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |