|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <artifactId>restx</artifactId> |
| 8 | + <version>0.1-SNAPSHOT</version> |
| 9 | + <packaging>war</packaging> |
| 10 | + <name>restx-demo</name> |
| 11 | + |
| 12 | + <properties> |
| 13 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 14 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 15 | + <restx.version>0.35-rc4</restx.version> |
| 16 | + </properties> |
| 17 | + |
| 18 | + <parent> |
| 19 | + <groupId>com.baeldung</groupId> |
| 20 | + <artifactId>parent-modules</artifactId> |
| 21 | + <version>1.0.0-SNAPSHOT</version> |
| 22 | + </parent> |
| 23 | + |
| 24 | + <dependencies> |
| 25 | + <dependency> |
| 26 | + <groupId>io.restx</groupId> |
| 27 | + <artifactId>restx-core</artifactId> |
| 28 | + <version>${restx.version}</version> |
| 29 | + </dependency> |
| 30 | + <dependency> |
| 31 | + <groupId>io.restx</groupId> |
| 32 | + <artifactId>restx-security-basic</artifactId> |
| 33 | + <version>${restx.version}</version> |
| 34 | + </dependency> |
| 35 | + <dependency> |
| 36 | + <groupId>io.restx</groupId> |
| 37 | + <artifactId>restx-core-annotation-processor</artifactId> |
| 38 | + <version>${restx.version}</version> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>io.restx</groupId> |
| 42 | + <artifactId>restx-factory</artifactId> |
| 43 | + <version>${restx.version}</version> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>io.restx</groupId> |
| 47 | + <artifactId>restx-factory-admin</artifactId> |
| 48 | + <version>${restx.version}</version> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>io.restx</groupId> |
| 52 | + <artifactId>restx-validation</artifactId> |
| 53 | + <version>${restx.version}</version> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>io.restx</groupId> |
| 57 | + <artifactId>restx-monitor-codahale</artifactId> |
| 58 | + <version>${restx.version}</version> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>io.restx</groupId> |
| 62 | + <artifactId>restx-monitor-admin</artifactId> |
| 63 | + <version>${restx.version}</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>io.restx</groupId> |
| 67 | + <artifactId>restx-log-admin</artifactId> |
| 68 | + <version>${restx.version}</version> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>io.restx</groupId> |
| 72 | + <artifactId>restx-i18n-admin</artifactId> |
| 73 | + <version>${restx.version}</version> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>io.restx</groupId> |
| 77 | + <artifactId>restx-stats-admin</artifactId> |
| 78 | + <version>${restx.version}</version> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>io.restx</groupId> |
| 82 | + <artifactId>restx-servlet</artifactId> |
| 83 | + <version>${restx.version}</version> |
| 84 | + </dependency> |
| 85 | + <dependency> |
| 86 | + <groupId>io.restx</groupId> |
| 87 | + <artifactId>restx-server-jetty8</artifactId> |
| 88 | + <version>${restx.version}</version> |
| 89 | + <optional>true</optional> |
| 90 | + </dependency> |
| 91 | + <dependency> |
| 92 | + <groupId>io.restx</groupId> |
| 93 | + <artifactId>restx-apidocs</artifactId> |
| 94 | + <version>${restx.version}</version> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>io.restx</groupId> |
| 98 | + <artifactId>restx-specs-admin</artifactId> |
| 99 | + <version>${restx.version}</version> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>io.restx</groupId> |
| 103 | + <artifactId>restx-admin</artifactId> |
| 104 | + <version>${restx.version}</version> |
| 105 | + </dependency> |
| 106 | + <dependency> |
| 107 | + <groupId>ch.qos.logback</groupId> |
| 108 | + <artifactId>logback-classic</artifactId> |
| 109 | + <version>1.0.13</version> |
| 110 | + </dependency> |
| 111 | + <dependency> |
| 112 | + <groupId>io.restx</groupId> |
| 113 | + <artifactId>restx-specs-tests</artifactId> |
| 114 | + <version>${restx.version}</version> |
| 115 | + <scope>test</scope> |
| 116 | + </dependency> |
| 117 | + <dependency> |
| 118 | + <groupId>junit</groupId> |
| 119 | + <artifactId>junit</artifactId> |
| 120 | + <version>4.11</version> |
| 121 | + <scope>test</scope> |
| 122 | + </dependency> |
| 123 | + </dependencies> |
| 124 | + <build> |
| 125 | + <plugins> |
| 126 | + <plugin> |
| 127 | + <groupId>org.apache.maven.plugins</groupId> |
| 128 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <id>attach-docs</id> |
| 132 | + <!-- |
| 133 | + we generate javadoc before packaging the jar to let a chance to apidocs doclet |
| 134 | + to generate comments dictionary to be packaged inside the jar as a resource |
| 135 | + --> |
| 136 | + <phase>prepare-package</phase> |
| 137 | + <goals> |
| 138 | + <goal>jar</goal> |
| 139 | + </goals> |
| 140 | + </execution> |
| 141 | + </executions> |
| 142 | + <configuration> |
| 143 | + <source>${maven.compiler.source}</source> |
| 144 | + <doclet>restx.apidocs.doclet.ApidocsDoclet</doclet> |
| 145 | + <docletArtifact> |
| 146 | + <groupId>io.restx</groupId> |
| 147 | + <artifactId>restx-apidocs-doclet</artifactId> |
| 148 | + <version>${restx.version}</version> |
| 149 | + </docletArtifact> |
| 150 | + <additionalparam>-restx-target-dir ${project.basedir}/target/classes</additionalparam> |
| 151 | + </configuration> |
| 152 | + </plugin> |
| 153 | + </plugins> |
| 154 | + </build> |
| 155 | +</project> |
0 commit comments