|
| 1 | +<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"> |
| 2 | + <modelVersion>4.0.0</modelVersion> |
| 3 | + |
| 4 | + <groupId>io.sfjava.ui</groupId> |
| 5 | + <artifactId>sf-java-ui</artifactId> |
| 6 | + <version>0.1.1-SNAPSHOT</version> |
| 7 | + <packaging>jar</packaging> |
| 8 | + |
| 9 | + <name>sf-java-ui</name> |
| 10 | + <url>https://github.com/JsonSchema-JavaUI/sf-java-ui</url> |
| 11 | + <description>Json Schema Form java based library allow developers to define schema and form using field annotations </description> |
| 12 | + <organization> |
| 13 | + <name>JsonSchema-JavaUI</name> |
| 14 | + <url>https://github.com/JsonSchema-JavaUI</url> |
| 15 | + </organization> |
| 16 | + <issueManagement> |
| 17 | + <system>GitHub Issues</system> |
| 18 | + <url>https://github.com/JsonSchema-JavaUI/sf-java-ui/issues</url> |
| 19 | + </issueManagement> |
| 20 | + |
| 21 | + <licenses> |
| 22 | + <license> |
| 23 | + <name>MIT License</name> |
| 24 | + <url>http://www.opensource.org/licenses/mit-license.php</url> |
| 25 | + <distribution>repo</distribution> |
| 26 | + </license> |
| 27 | + </licenses> |
| 28 | + |
| 29 | + <scm> |
| 30 | + <url>https://github.com/JsonSchema-JavaUI/sf-java-ui</url> |
| 31 | + <connection>scm:git:git://github.com/JsonSchema-JavaUI/sf-java-ui.git</connection> |
| 32 | + <developerConnection>scm:git:git@github.com:JsonSchema-JavaUI/sf-java-ui.git</developerConnection> |
| 33 | + <tag>sf-java-ui-0.1.0</tag> |
| 34 | + </scm> |
| 35 | + |
| 36 | + <properties> |
| 37 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 39 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 40 | + <runSuite>**/UiFormSchemaGeneratorTest.class</runSuite> |
| 41 | + </properties> |
| 42 | + <dependencies> |
| 43 | + <dependency> |
| 44 | + <groupId>junit</groupId> |
| 45 | + <artifactId>junit</artifactId> |
| 46 | + <version>4.12</version> |
| 47 | + <scope>test</scope> |
| 48 | + </dependency> |
| 49 | + <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations --> |
| 50 | + <dependency> |
| 51 | + <groupId>org.reflections</groupId> |
| 52 | + <artifactId>reflections</artifactId> |
| 53 | + <version>0.9.11</version> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>com.fasterxml.jackson.module</groupId> |
| 57 | + <artifactId>jackson-module-jsonSchema</artifactId> |
| 58 | + <version>2.8.8</version> |
| 59 | + </dependency> |
| 60 | + <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api --> |
| 61 | + <dependency> |
| 62 | + <groupId>javax.servlet</groupId> |
| 63 | + <artifactId>javax.servlet-api</artifactId> |
| 64 | + <version>3.0.1</version> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.slf4j</groupId> |
| 68 | + <artifactId>slf4j-api</artifactId> |
| 69 | + <version>1.7.25</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>com.jayway.jsonpath</groupId> |
| 73 | + <artifactId>json-path-assert</artifactId> |
| 74 | + <version>2.2.0</version> |
| 75 | + <scope>test</scope> |
| 76 | + </dependency> |
| 77 | + |
| 78 | + </dependencies> |
| 79 | + <build> |
| 80 | + <directory>${project.basedir}/target</directory> |
| 81 | + <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| 82 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 83 | + <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory> |
| 84 | + <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> |
| 85 | + <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory> |
| 86 | + <resources> |
| 87 | + <resource> |
| 88 | + <directory>${project.basedir}/src/main/resources</directory> |
| 89 | + </resource> |
| 90 | + </resources> |
| 91 | + <testResources> |
| 92 | + <testResource> |
| 93 | + <directory>${project.basedir}/src/test/resources</directory> |
| 94 | + </testResource> |
| 95 | + </testResources> |
| 96 | + |
| 97 | + <plugins> |
| 98 | + <plugin> |
| 99 | + <groupId>org.apache.maven.plugins</groupId> |
| 100 | + <artifactId>maven-surefire-plugin</artifactId> |
| 101 | + <configuration> |
| 102 | + <includes> |
| 103 | + <include>${runSuite}</include> |
| 104 | + </includes> |
| 105 | + </configuration> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <groupId>org.jacoco</groupId> |
| 109 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 110 | + <version>0.7.9</version> |
| 111 | + <executions> |
| 112 | + <execution> |
| 113 | + <id>pre-unit-test</id> |
| 114 | + <phase>test-compile</phase> |
| 115 | + <goals> |
| 116 | + <goal>prepare-agent</goal> |
| 117 | + </goals> |
| 118 | + <configuration> |
| 119 | + <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
| 120 | + </configuration> |
| 121 | + </execution> |
| 122 | + <execution> |
| 123 | + <id>post-unit-test</id> |
| 124 | + <phase>test</phase> |
| 125 | + <goals> |
| 126 | + <goal>report</goal> |
| 127 | + </goals> |
| 128 | + <configuration> |
| 129 | + <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
| 130 | + <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 131 | + </configuration> |
| 132 | + </execution> |
| 133 | + </executions> |
| 134 | + </plugin> |
| 135 | + <plugin> |
| 136 | + <groupId>org.eluder.coveralls</groupId> |
| 137 | + <artifactId>coveralls-maven-plugin</artifactId> |
| 138 | + <version>4.3.0</version> |
| 139 | + <configuration> |
| 140 | + <repoToken>NkRikGGVMCbI71H1WBTh5fte1C4AEzOyo</repoToken> |
| 141 | + <jacocoReports> |
| 142 | + <jacocoReport>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</jacocoReport> |
| 143 | + </jacocoReports> |
| 144 | + </configuration> |
| 145 | + </plugin> |
| 146 | + <plugin> |
| 147 | + <artifactId>maven-source-plugin</artifactId> |
| 148 | + <executions> |
| 149 | + <execution> |
| 150 | + <id>attach-sources</id> |
| 151 | + <goals> |
| 152 | + <goal>jar</goal> |
| 153 | + </goals> |
| 154 | + </execution> |
| 155 | + </executions> |
| 156 | + </plugin> |
| 157 | + <plugin> |
| 158 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 159 | + <executions> |
| 160 | + <execution> |
| 161 | + <id>attach-javadocs</id> |
| 162 | + <goals> |
| 163 | + <goal>jar</goal> |
| 164 | + </goals> |
| 165 | + </execution> |
| 166 | + </executions> |
| 167 | + </plugin> |
| 168 | + <plugin> |
| 169 | + <groupId>org.apache.maven.plugins</groupId> |
| 170 | + <artifactId>maven-release-plugin</artifactId> |
| 171 | + <version>2.5.1</version> |
| 172 | + <dependencies> |
| 173 | + <dependency> |
| 174 | + <groupId>org.apache.maven.shared</groupId> |
| 175 | + <artifactId>maven-invoker</artifactId> |
| 176 | + <version>2.2</version> |
| 177 | + </dependency> |
| 178 | + </dependencies> |
| 179 | + </plugin> |
| 180 | + </plugins> |
| 181 | + </build> |
| 182 | + <distributionManagement> |
| 183 | + <repository> |
| 184 | + <id>bintray-jsonschema-javaui-sf-java-ui</id> |
| 185 | + <name>jsonschema-javaui-sf-java-ui</name> |
| 186 | + <url>https://api.bintray.com/maven/jsonschema-javaui/sf-java-ui/sf-java-ui/;publish=1</url> |
| 187 | + </repository> |
| 188 | + </distributionManagement> |
| 189 | + |
| 190 | +</project> |
0 commit comments