|
| 1 | +<?xml version="1.0"?> |
| 2 | +<project |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 4 | + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>com.oxygenxml</groupId> |
| 8 | + <artifactId>web-author-elements-view</artifactId> |
| 9 | + <version>1.0-SNAPSHOT</version> |
| 10 | + |
| 11 | + <developers> |
| 12 | + <developer> |
| 13 | + <name>Cristi Talau</name> |
| 14 | + |
| 15 | + <roles> |
| 16 | + <role>manager</role> |
| 17 | + </roles> |
| 18 | + </developer> |
| 19 | + </developers> |
| 20 | + |
| 21 | + <properties> |
| 22 | + <oxygen.sdk.version>22.0.0.0</oxygen.sdk.version> |
| 23 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 24 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 25 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 26 | + </properties> |
| 27 | + |
| 28 | + <repositories> |
| 29 | + <repository> |
| 30 | + <id>oxygenxml</id> |
| 31 | + <name>oXygen XML SDK Maven Repository</name> |
| 32 | + <url>https://oxygenxml.com/maven/</url> |
| 33 | + </repository> |
| 34 | + </repositories> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + <dependency> |
| 38 | + <groupId>com.oxygenxml</groupId> |
| 39 | + <artifactId>oxygen-sdk</artifactId> |
| 40 | + <version>${oxygen.sdk.version}</version> |
| 41 | + <scope>provided</scope> |
| 42 | + </dependency> |
| 43 | + |
| 44 | + <dependency> |
| 45 | + <groupId>javax.servlet</groupId> |
| 46 | + <artifactId>javax.servlet-api</artifactId> |
| 47 | + <version>3.0.1</version> |
| 48 | + <scope>provided</scope> |
| 49 | + </dependency> |
| 50 | + </dependencies> |
| 51 | + |
| 52 | + <build> |
| 53 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 54 | + <plugins> |
| 55 | + <!-- remove the -SNAPSHOT from packaged plugin --> |
| 56 | + <plugin> |
| 57 | + <groupId>org.codehaus.mojo</groupId> |
| 58 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 59 | + <version>1.10</version> |
| 60 | + <executions> |
| 61 | + <execution> |
| 62 | + <id>set-version-no-snapshot</id> |
| 63 | + <goals> |
| 64 | + <goal>regex-property</goal> |
| 65 | + </goals> |
| 66 | + <configuration> |
| 67 | + <name>project.nosnapshot.version</name> |
| 68 | + <value>${project.version}</value> |
| 69 | + <regex>-SNAPSHOT</regex> |
| 70 | + <replacement></replacement> |
| 71 | + <failIfNoMatch>false</failIfNoMatch> |
| 72 | + </configuration> |
| 73 | + </execution> |
| 74 | + </executions> |
| 75 | + </plugin> |
| 76 | + <plugin> |
| 77 | + <artifactId>maven-dependency-plugin</artifactId> |
| 78 | + <version>2.8</version> |
| 79 | + <executions> |
| 80 | + <execution> |
| 81 | + <phase>generate-resources</phase> |
| 82 | + <goals> |
| 83 | + <goal>copy-dependencies</goal> |
| 84 | + </goals> |
| 85 | + <configuration> |
| 86 | + <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 87 | + <includeScope>runtime</includeScope> |
| 88 | + </configuration> |
| 89 | + </execution> |
| 90 | + </executions> |
| 91 | + </plugin> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-jar-plugin</artifactId> |
| 95 | + <version>2.2</version> |
| 96 | + <configuration> |
| 97 | + <!-- We only want the final JAR package in the target folder so that it's easier for users to identify it.--> |
| 98 | + <outputDirectory>${project.build.directory}/build</outputDirectory> |
| 99 | + </configuration> |
| 100 | + </plugin> |
| 101 | + |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-assembly-plugin</artifactId> |
| 105 | + <version>2.6</version> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>make-assembly</id> |
| 109 | + <phase>package</phase> |
| 110 | + <goals> |
| 111 | + <goal>single</goal> |
| 112 | + </goals> |
| 113 | + <configuration> |
| 114 | + <archiveBaseDirectory>${project.basedir}</archiveBaseDirectory> |
| 115 | + <descriptors> |
| 116 | + <descriptor>assembly.xml</descriptor> |
| 117 | + </descriptors> |
| 118 | + </configuration> |
| 119 | + </execution> |
| 120 | + </executions> |
| 121 | + </plugin> |
| 122 | + </plugins> |
| 123 | + |
| 124 | + <pluginManagement> |
| 125 | + <plugins> |
| 126 | + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 127 | + <plugin> |
| 128 | + <groupId>org.eclipse.m2e</groupId> |
| 129 | + <artifactId>lifecycle-mapping</artifactId> |
| 130 | + <version>1.0.0</version> |
| 131 | + <configuration> |
| 132 | + <lifecycleMappingMetadata> |
| 133 | + <pluginExecutions> |
| 134 | + <pluginExecution> |
| 135 | + <pluginExecutionFilter> |
| 136 | + <groupId>org.codehaus.mojo</groupId> |
| 137 | + <artifactId> |
| 138 | + build-helper-maven-plugin |
| 139 | + </artifactId> |
| 140 | + <versionRange>[1.10,)</versionRange> |
| 141 | + <goals> |
| 142 | + <goal>regex-property</goal> |
| 143 | + </goals> |
| 144 | + </pluginExecutionFilter> |
| 145 | + <action> |
| 146 | + <ignore></ignore> |
| 147 | + </action> |
| 148 | + </pluginExecution> |
| 149 | + </pluginExecutions> |
| 150 | + </lifecycleMappingMetadata> |
| 151 | + </configuration> |
| 152 | + </plugin> |
| 153 | + </plugins> |
| 154 | + </pluginManagement> |
| 155 | + |
| 156 | + </build> |
| 157 | +</project> |
0 commit comments