Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
- <groupId>com.mysite</groupId>
- <artifactId>fabric-weaver-plugin</artifactId>
- <version>0.0.1</version>
- <name>Fabric Weaver Plugin</name>
- <description>A plugin project</description>
- <developers>
- <developer>
- <id>e</id>
- <name>ee</name>
- </developer>
- </developers>
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <properties>
- <jsweet.transpiler.version>3.0.0-SNAPSHOT</jsweet.transpiler.version>
- <jsweet.core.version>6.0.4</jsweet.core.version>
- <java.version.release>8</java.version.release>
- <java.version>1.${java.version.release}</java.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <pluginRepositories>
- <pluginRepository>
- <id>jsweet-plugins-release</id>
- <name>plugins-release</name>
- <url>http://repository.jsweet.org/artifactory/plugins-release-local</url>
- </pluginRepository>
- <pluginRepository>
- <snapshots />
- <id>jsweet-plugins-snapshots</id>
- <name>plugins-snapshot</name>
- <url>http://repository.jsweet.org/artifactory/plugins-snapshot-local</url>
- </pluginRepository>
- </pluginRepositories>
- <repositories>
- <repository>
- <id>jsweet-central</id>
- <name>libs-release</name>
- <url>http://repository.jsweet.org/artifactory/libs-release-local</url>
- </repository>
- <repository>
- <snapshots />
- <id>jsweet-snapshots</id>
- <name>libs-snapshot</name>
- <url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <release>${java.version.release}</release>
- <compilerVersion>${java.version}</compilerVersion>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jsweet</groupId>
- <artifactId>jsweet-maven-plugin</artifactId>
- <version>2.3.7</version>
- <configuration>
- <verbose>true</verbose>
- <tsOut>target/ts</tsOut>
- <outDir>target/js</outDir>
- <tsOnly>true</tsOnly>
- <targetVersion>ES6</targetVersion>
- <module>commonjs</module>
- <moduleResolution>classic</moduleResolution>
- </configuration>
- <executions>
- <execution>
- <id>generate-js</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>jsweet</goal>
- </goals>
- </execution>
- <execution>
- <id>clean</id>
- <phase>clean</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-invoker-plugin</artifactId>
- <version>3.2.1</version>
- <configuration>
- <debug>true</debug>
- <postBuildHookScript>scripts/addJsScripts.groovy</postBuildHookScript>
- <scriptVariables>
- <targetDir>../target/ts</targetDir>
- </scriptVariables>
- </configuration>
- <executions>
- <execution>
- <id>add-js-scripts</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>install</goal>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <!--This plugin's configuration is used to store Eclipse m2e settings
- only. It has no influence on the Maven build itself. -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>
- org.jsweet.v3
- </groupId>
- <artifactId>
- jsweet-maven-plugin
- </artifactId>
- <versionRange>
- [1.0.0,)
- </versionRange>
- <goals>
- <goal>jsweet</goal>
- </goals>
- </pluginExecutionFilter>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-invoker-plugin</artifactId>
- <version>3.2.1</version>
- <type>maven-plugin</type>
- </dependency>
- <dependency>
- <groupId>org.jsweet</groupId>
- <artifactId>jsweet-core</artifactId>
- <version>${jsweet.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jsweet.candies</groupId>
- <artifactId>jquery</artifactId>
- <version>1.10.0-20170726</version>
- </dependency>
- <dependency>
- <groupId>org.jsweet.candies</groupId>
- <artifactId>angular-material</artifactId>
- <version>1.1.3-20170726</version>
- </dependency>
- <dependency>
- <groupId>org.jsweet.candies</groupId>
- <artifactId>angular</artifactId>
- <version>1.5.0-1.1.0-20160525</version>
- </dependency>
- <dependency>
- <groupId>org.jsweet.candies</groupId>
- <artifactId>primeng</artifactId>
- <version>1.0.0-20170726</version>
- </dependency>
- <!--dependency>
- <groupId>org.jsweet</groupId>
- <artifactId>jsweet-core</artifactId>
- <version>6.0.4</version>
- </dependency-->
- </dependencies>
- </project>
Add Comment
Please, Sign In to add comment