|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <parent> |
| 6 | + <groupId>org.sonatype.oss</groupId> |
| 7 | + <artifactId>oss-parent</artifactId> |
| 8 | + <version>9</version> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <packaging>jar</packaging> |
| 12 | + <groupId>net.coding.ide</groupId> |
| 13 | + <artifactId>frontend</artifactId> |
| 14 | + <version>1.0.0</version> |
| 15 | + <name>WebIDE Frontend</name> |
| 16 | + <description>WebJar for WebIDE Frontend</description> |
| 17 | + <url>https://coding.net</url> |
| 18 | + |
| 19 | + <properties> |
| 20 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 21 | + <destDir>${project.build.outputDirectory}/META-INF/resources/webjars</destDir> |
| 22 | + |
| 23 | + <distDir>${project.basedir}/../frontend/build</distDir> |
| 24 | + </properties> |
| 25 | + |
| 26 | + <developers> |
| 27 | + <developer> |
| 28 | + <id>tanhe123</id> |
| 29 | + <name>Hehe Tan</name> |
| 30 | + <email>xiayule148@gmail.com</email> |
| 31 | + </developer> |
| 32 | + </developers> |
| 33 | + |
| 34 | + <licenses> |
| 35 | + <license> |
| 36 | + <name>BSD 3.0</name> |
| 37 | + <url>https://opensource.org/licenses/BSD-3-Clause</url> |
| 38 | + <distribution>repo</distribution> |
| 39 | + </license> |
| 40 | + </licenses> |
| 41 | + |
| 42 | + <build> |
| 43 | + <plugins> |
| 44 | + <plugin> |
| 45 | + <groupId>com.jamesward</groupId> |
| 46 | + <artifactId>unsnapshot-maven-plugin</artifactId> |
| 47 | + <version>0.2</version> |
| 48 | + <executions> |
| 49 | + <execution> |
| 50 | + <phase>initialize</phase> |
| 51 | + <goals> |
| 52 | + <goal>unsnapshot</goal> |
| 53 | + </goals> |
| 54 | + </execution> |
| 55 | + </executions> |
| 56 | + </plugin> |
| 57 | + |
| 58 | + <plugin> |
| 59 | + <artifactId>maven-antrun-plugin</artifactId> |
| 60 | + <version>1.8</version> |
| 61 | + <executions> |
| 62 | + <execution> |
| 63 | + <phase>process-resources</phase> |
| 64 | + <goals><goal>run</goal></goals> |
| 65 | + <configuration> |
| 66 | + <target> |
| 67 | + <!-- copy dist file --> |
| 68 | + <copy todir="${destDir}"> |
| 69 | + <fileset dir="${distDir}"/> |
| 70 | + </copy> |
| 71 | + </target> |
| 72 | + </configuration> |
| 73 | + </execution> |
| 74 | + </executions> |
| 75 | + </plugin> |
| 76 | + <plugin> |
| 77 | + <groupId>org.apache.maven.plugins</groupId> |
| 78 | + <artifactId>maven-release-plugin</artifactId> |
| 79 | + <version>2.5.1</version> |
| 80 | + </plugin> |
| 81 | + <plugin> |
| 82 | + <groupId>com.googlecode.todomap</groupId> |
| 83 | + <artifactId>maven-jettygzip-plugin</artifactId> |
| 84 | + <version>0.0.4</version> |
| 85 | + <configuration> |
| 86 | + <webappDirectory>target/classes</webappDirectory> |
| 87 | + <outputDirectory>target/classes</outputDirectory> |
| 88 | + </configuration> |
| 89 | + <executions> |
| 90 | + <execution> |
| 91 | + <phase>prepare-package</phase> |
| 92 | + <goals> |
| 93 | + <goal>process</goal> |
| 94 | + </goals> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
| 98 | + <plugin> |
| 99 | + <groupId>org.sonatype.plugins</groupId> |
| 100 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 101 | + <version>1.6.5</version> |
| 102 | + <extensions>true</extensions> |
| 103 | + <configuration> |
| 104 | + <serverId>sonatype-nexus-staging</serverId> |
| 105 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 106 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 107 | + </configuration> |
| 108 | + </plugin> |
| 109 | + </plugins> |
| 110 | + </build> |
| 111 | + |
| 112 | +</project> |
0 commit comments