Guest User

Untitled

a guest
Oct 31st, 2020
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.76 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.     <groupId>com.mysite</groupId>
  5.     <artifactId>fabric-weaver-plugin</artifactId>
  6.     <version>0.0.1</version>
  7.     <name>Fabric Weaver Plugin</name>
  8.     <description>A plugin project</description>
  9.     <developers>
  10.         <developer>
  11.             <id>e</id>
  12.             <name>ee</name>
  13.             <email>[email protected]</email>
  14.         </developer>
  15.     </developers>
  16.     <licenses>
  17.         <license>
  18.             <name>The Apache Software License, Version 2.0</name>
  19.             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  20.             <distribution>repo</distribution>
  21.         </license>
  22.     </licenses>
  23.     <properties>
  24.         <jsweet.transpiler.version>3.0.0-SNAPSHOT</jsweet.transpiler.version>
  25.         <jsweet.core.version>6.0.4</jsweet.core.version>
  26.         <java.version.release>8</java.version.release>
  27.         <java.version>1.${java.version.release}</java.version>
  28.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29.     </properties>
  30.     <pluginRepositories>
  31.         <pluginRepository>
  32.             <id>jsweet-plugins-release</id>
  33.             <name>plugins-release</name>
  34.             <url>http://repository.jsweet.org/artifactory/plugins-release-local</url>
  35.         </pluginRepository>
  36.         <pluginRepository>
  37.             <snapshots />
  38.             <id>jsweet-plugins-snapshots</id>
  39.             <name>plugins-snapshot</name>
  40.             <url>http://repository.jsweet.org/artifactory/plugins-snapshot-local</url>
  41.         </pluginRepository>
  42.     </pluginRepositories>
  43.     <repositories>
  44.         <repository>
  45.             <id>jsweet-central</id>
  46.             <name>libs-release</name>
  47.             <url>http://repository.jsweet.org/artifactory/libs-release-local</url>
  48.         </repository>
  49.         <repository>
  50.             <snapshots />
  51.             <id>jsweet-snapshots</id>
  52.             <name>libs-snapshot</name>
  53.             <url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url>
  54.         </repository>
  55.     </repositories>
  56.     <build>
  57.         <plugins>
  58.             <plugin>
  59.                 <groupId>org.apache.maven.plugins</groupId>
  60.                 <artifactId>maven-compiler-plugin</artifactId>
  61.                 <version>3.8.1</version>
  62.                 <configuration>
  63.                     <release>${java.version.release}</release>
  64.                     <compilerVersion>${java.version}</compilerVersion>
  65.                     <source>${java.version}</source>
  66.                     <target>${java.version}</target>
  67.                     <encoding>${project.build.sourceEncoding}</encoding>
  68.                 </configuration>
  69.             </plugin>
  70.             <plugin>
  71.                 <groupId>org.jsweet</groupId>
  72.                 <artifactId>jsweet-maven-plugin</artifactId>
  73.                 <version>2.3.7</version>
  74.                 <configuration>
  75.                     <verbose>true</verbose>
  76.                     <tsOut>target/ts</tsOut>
  77.                     <outDir>target/js</outDir>
  78.                     <tsOnly>true</tsOnly>
  79.                     <targetVersion>ES6</targetVersion>
  80.                     <module>commonjs</module>
  81.                     <moduleResolution>classic</moduleResolution>
  82.                 </configuration>
  83.                 <executions>
  84.                     <execution>
  85.                         <id>generate-js</id>
  86.                         <phase>generate-sources</phase>
  87.                         <goals>
  88.                             <goal>jsweet</goal>
  89.                         </goals>
  90.                     </execution>
  91.                     <execution>
  92.                         <id>clean</id>
  93.                         <phase>clean</phase>
  94.                         <goals>
  95.                             <goal>clean</goal>
  96.                         </goals>
  97.                     </execution>
  98.                 </executions>
  99.             </plugin>
  100.             <plugin>
  101.                 <artifactId>maven-invoker-plugin</artifactId>
  102.                 <version>3.2.1</version>
  103.                 <configuration>
  104.                     <debug>true</debug>
  105.                     <postBuildHookScript>scripts/addJsScripts.groovy</postBuildHookScript>
  106.                     <scriptVariables>
  107.                         <targetDir>../target/ts</targetDir>
  108.                     </scriptVariables>
  109.                 </configuration>
  110.                 <executions>
  111.                     <execution>
  112.                         <id>add-js-scripts</id>
  113.                         <phase>generate-sources</phase>
  114.                         <goals>
  115.                             <goal>install</goal>
  116.                             <goal>run</goal>
  117.                         </goals>
  118.                     </execution>
  119.                 </executions>
  120.             </plugin>
  121.         </plugins>
  122.         <pluginManagement>
  123.             <plugins>
  124.                 <!--This plugin's configuration is used to store Eclipse m2e settings
  125.                     only. It has no influence on the Maven build itself. -->
  126.                 <plugin>
  127.                     <groupId>org.eclipse.m2e</groupId>
  128.                     <artifactId>lifecycle-mapping</artifactId>
  129.                     <version>1.0.0</version>
  130.                     <configuration>
  131.                         <lifecycleMappingMetadata>
  132.                             <pluginExecutions>
  133.                                 <pluginExecution>
  134.                                     <pluginExecutionFilter>
  135.                                         <groupId>
  136.                                             org.jsweet.v3
  137.                                         </groupId>
  138.                                         <artifactId>
  139.                                             jsweet-maven-plugin
  140.                                         </artifactId>
  141.                                         <versionRange>
  142.                                             [1.0.0,)
  143.                                         </versionRange>
  144.                                         <goals>
  145.                                             <goal>jsweet</goal>
  146.                                         </goals>
  147.                                     </pluginExecutionFilter>
  148.                                 </pluginExecution>
  149.                             </pluginExecutions>
  150.                         </lifecycleMappingMetadata>
  151.                     </configuration>
  152.                 </plugin>
  153.             </plugins>
  154.         </pluginManagement>
  155.     </build>
  156.     <dependencies>
  157.         <dependency>
  158.             <groupId>org.apache.maven.plugins</groupId>
  159.             <artifactId>maven-invoker-plugin</artifactId>
  160.             <version>3.2.1</version>
  161.             <type>maven-plugin</type>
  162.         </dependency>
  163.         <dependency>
  164.             <groupId>org.jsweet</groupId>
  165.             <artifactId>jsweet-core</artifactId>
  166.             <version>${jsweet.core.version}</version>
  167.         </dependency>
  168.         <dependency>
  169.             <groupId>org.jsweet.candies</groupId>
  170.             <artifactId>jquery</artifactId>
  171.             <version>1.10.0-20170726</version>
  172.         </dependency>
  173.         <dependency>
  174.             <groupId>org.jsweet.candies</groupId>
  175.             <artifactId>angular-material</artifactId>
  176.             <version>1.1.3-20170726</version>
  177.         </dependency>
  178.         <dependency>
  179.             <groupId>org.jsweet.candies</groupId>
  180.             <artifactId>angular</artifactId>
  181.             <version>1.5.0-1.1.0-20160525</version>
  182.         </dependency>
  183.         <dependency>
  184.             <groupId>org.jsweet.candies</groupId>
  185.             <artifactId>primeng</artifactId>
  186.             <version>1.0.0-20170726</version>
  187.         </dependency>
  188.         <!--dependency>
  189.             <groupId>org.jsweet</groupId>
  190.             <artifactId>jsweet-core</artifactId>
  191.             <version>6.0.4</version>
  192.         </dependency-->
  193.     </dependencies>
  194. </project>
  195.  
Add Comment
Please, Sign In to add comment