|
4 | 4 | <modelVersion>4.0.0</modelVersion>
|
5 | 5 | <groupId>com.testdroid</groupId>
|
6 | 6 | <artifactId>mobile-opencv-image-recognition-library</artifactId>
|
7 |
| - <version>1.0-SNAPSHOT</version> |
| 7 | + <version>1.0</version> |
8 | 8 | <packaging>jar</packaging>
|
9 | 9 | <name>OpenCV Mobile Image Recognition Library</name>
|
10 | 10 | <description>Library for image recognition that can be used in mobile testing with for example Appium</description>
|
|
19 | 19 | <scm>
|
20 | 20 | <url>https://github.com/severi/opencv_library</url>
|
21 | 21 | </scm>
|
| 22 | + <properties> |
| 23 | + <!-- github server corresponds to entry in ~/.m2/settings.xml --> |
| 24 | + <github.global.server>github</github.global.server> |
| 25 | + </properties> |
22 | 26 | <dependencies>
|
23 | 27 | <dependency>
|
24 | 28 | <groupId>net.sourceforge.tess4j</groupId>
|
|
96 | 100 | <additionalparam>-Xdoclint:none</additionalparam>
|
97 | 101 | </configuration>
|
98 | 102 | </plugin>
|
| 103 | + <plugin> |
| 104 | + <artifactId>maven-deploy-plugin</artifactId> |
| 105 | + <version>2.8.1</version> |
| 106 | + <configuration> |
| 107 | + <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <groupId>com.github.github</groupId> |
| 112 | + <artifactId>site-maven-plugin</artifactId> |
| 113 | + <version>0.11</version> |
| 114 | + <configuration> |
| 115 | + <message>Maven artifacts for ${project.version}</message> <!-- git commit message --> |
| 116 | + <noJekyll>true</noJekyll> <!-- disable webpage processing --> |
| 117 | + <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above --> |
| 118 | + <branch>refs/heads/mvn-repo</branch> <!-- remote branch name --> |
| 119 | + <includes> |
| 120 | + <include>**/*</include> |
| 121 | + </includes> |
| 122 | + <repositoryName>opencv-library</repositoryName> <!-- github repo name --> |
| 123 | + <repositoryOwner>bitbar</repositoryOwner> <!-- github username --> |
| 124 | + <merge>true</merge> |
| 125 | + </configuration> |
| 126 | + <executions> |
| 127 | + <!-- run site-maven-plugin's 'site' target as part of |
| 128 | + the build's normal 'deploy' phase --> |
| 129 | + <execution> |
| 130 | + <goals> |
| 131 | + <goal>site</goal> |
| 132 | + </goals> |
| 133 | + <phase>deploy</phase> |
| 134 | + </execution> |
| 135 | + </executions> |
| 136 | + </plugin> |
99 | 137 | </plugins>
|
100 | 138 | </build>
|
| 139 | + <distributionManagement> |
| 140 | + <repository> |
| 141 | + <id>internal.repo</id> |
| 142 | + <name>Temporary Staging Repository</name> |
| 143 | + <url>file://${project.build.directory}/mvn-repo</url> |
| 144 | + </repository> |
| 145 | + </distributionManagement> |
101 | 146 | </project>
|
0 commit comments