|
28 | 28 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
29 | 29 | <modelVersion>4.0.0</modelVersion> |
30 | 30 |
|
31 | | - <groupId>com.microsoft.ews-java-api</groupId> |
32 | | - <artifactId>ews-java-api</artifactId> |
| 31 | + <groupId>com.onboardify.github</groupId> |
| 32 | + <artifactId>com.microsoft.ews-java-api-2.0</artifactId> |
| 33 | + <version>1</version> |
33 | 34 |
|
34 | | - <version>2.1-SNAPSHOT</version> |
35 | | - |
36 | | - <name>Exchange Web Services Java API</name> |
| 35 | + <name>${bundle.symbolicName} ${wrapped.version} [github]</name> |
37 | 36 | <description>Exchange Web Services (EWS) Java API</description> |
38 | 37 |
|
39 | 38 | <!-- Required by the site command for certain relative URL configuration. --> |
|
73 | 72 | </developers> |
74 | 73 |
|
75 | 74 | <properties> |
| 75 | + <!-- RAVN --> |
| 76 | + <bundle.symbolicName>com.microsoft.ews-java-api</bundle.symbolicName> |
| 77 | + <wrapped.groupId>com.microsoft.ews-java-api</wrapped.groupId> |
| 78 | + <wrapped.artifactId>ews-java-api</wrapped.artifactId> |
| 79 | + <wrapped.version>2.0</wrapped.version> |
| 80 | + |
76 | 81 | <!-- Eliminates the file encoding warning. Of course, all of your files |
77 | 82 | should probably be UTF-8 nowadays. --> |
78 | 83 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
108 | 113 | <mockito-core.version>1.10.19</mockito-core.version> |
109 | 114 | <slf4j.version>1.7.12</slf4j.version> |
110 | 115 | <logback.version>1.1.3</logback.version> |
| 116 | + |
| 117 | + <!-- github server corresponds to entry in ~/.m2/settings.xml --> |
| 118 | + <github.global.server>github</github.global.server> |
111 | 119 | </properties> |
112 | 120 |
|
113 | 121 | <profiles> |
|
202 | 210 | </scm> |
203 | 211 |
|
204 | 212 | <distributionManagement> |
205 | | - <snapshotRepository> |
206 | | - <id>ossrh-snapshot</id> |
207 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
208 | | - </snapshotRepository> |
209 | 213 | <repository> |
210 | | - <id>ossrh</id> |
211 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| 214 | + <id>internal.repo</id> |
| 215 | + <name>Temporary Staging Repository</name> |
| 216 | + <url>file://${project.build.directory}/mvn-repo</url> |
212 | 217 | </repository> |
213 | 218 | </distributionManagement> |
214 | 219 |
|
|
291 | 296 | <scope>test</scope> |
292 | 297 | </dependency> |
293 | 298 |
|
| 299 | + <dependency> |
| 300 | + <groupId>com.sun.xml.parsers</groupId> |
| 301 | + <artifactId>jaxp-ri</artifactId> |
| 302 | + <version>1.4.5</version> |
| 303 | + </dependency> |
294 | 304 | </dependencies> |
295 | 305 |
|
296 | 306 | <build> |
297 | 307 | <plugins> |
298 | 308 | <!-- Deployment / build plugins --> |
299 | | - <plugin> |
| 309 | + <!--<plugin> |
300 | 310 | <groupId>org.sonatype.plugins</groupId> |
301 | 311 | <artifactId>nexus-staging-maven-plugin</artifactId> |
302 | 312 | <version>${nexus-staging-maven-plugin.version}</version> |
303 | 313 | <extensions>true</extensions> |
304 | 314 | <configuration> |
305 | | - <!-- Ref.: http://books.sonatype.com/nexus-book/reference/staging-deployment.html --> |
| 315 | + Ref.: http://books.sonatype.com/nexus-book/reference/staging-deployment.html |
306 | 316 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
307 | 317 | <serverId>ossrh</serverId> |
308 | 318 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
309 | 319 | </configuration> |
310 | | - </plugin> |
| 320 | + </plugin>--> |
311 | 321 | <plugin> |
312 | 322 | <groupId>org.apache.maven.plugins</groupId> |
313 | 323 | <artifactId>maven-compiler-plugin</artifactId> |
|
389 | 399 | </execution> |
390 | 400 | </executions> |
391 | 401 | </plugin> |
| 402 | + <plugin> |
| 403 | + <artifactId>maven-deploy-plugin</artifactId> |
| 404 | + <version>2.8.1</version> |
| 405 | + <configuration> |
| 406 | + <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository> |
| 407 | + </configuration> |
| 408 | + </plugin> |
| 409 | + <plugin> |
| 410 | + <groupId>com.github.github</groupId> |
| 411 | + <artifactId>site-maven-plugin</artifactId> |
| 412 | + <version>0.12</version> |
| 413 | + <configuration> |
| 414 | + <message>Maven artifacts for ${project.version}</message> <!-- git commit message --> |
| 415 | + <noJekyll>true</noJekyll> <!-- disable webpage processing --> |
| 416 | + <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above --> |
| 417 | + <branch>refs/heads/mvn-repo</branch> <!-- remote branch name --> |
| 418 | + <includes><include>**/*</include></includes> |
| 419 | + <merge>true</merge> <!-- don't delete old artifacts --> |
| 420 | + <repositoryName>ews-java-api</repositoryName> <!-- github repo name --> |
| 421 | + <repositoryOwner>hrajeshkumar</repositoryOwner> <!-- github username --> |
| 422 | + </configuration> |
| 423 | + <executions> |
| 424 | + <!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase --> |
| 425 | + <execution> |
| 426 | + <goals> |
| 427 | + <goal>site</goal> |
| 428 | + </goals> |
| 429 | + <phase>deploy</phase> |
| 430 | + </execution> |
| 431 | + </executions> |
| 432 | + </plugin> |
392 | 433 | <!-- Deployment / build plugins END --> |
393 | 434 | </plugins> |
394 | 435 | <!-- Used to bump all of the various core plugins up to Maven current. |
|
0 commit comments