Revision d220174c
Added by Cherian Mathew almost 9 years ago
pom.xml | ||
---|---|---|
121 | 121 |
<repository> |
122 | 122 |
<id>EditLocalRepository</id> |
123 | 123 |
<!-- disable the local repo to let maven always retrieve the latest |
124 |
cdmlib-remote-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository
|
|
124 |
cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository |
|
125 | 125 |
in MAVEN 3 --> |
126 | 126 |
<url>file://${user.home}/.m2/repository/eu/etaxonomy/</url> |
127 | 127 |
<releases> |
... | ... | |
339 | 339 |
<overWriteReleases>true</overWriteReleases> |
340 | 340 |
<artifactItems> |
341 | 341 |
<artifactItem> |
342 |
<!-- copy the cdmlib-remote-webapp-${project.version}.war
|
|
342 |
<!-- copy the cdm-webapp-${project.version}.war |
|
343 | 343 |
to the build dir --> |
344 | 344 |
<groupId>eu.etaxonomy</groupId> |
345 |
<artifactId>cdmlib-remote-webapp</artifactId>
|
|
345 |
<artifactId>cdm-webapp</artifactId> |
|
346 | 346 |
<version>${project.version}</version> |
347 | 347 |
<type>war</type> |
348 | 348 |
<!-- <classifier> [classifier - optional] </classifier> --> |
349 | 349 |
<overWrite>true</overWrite> |
350 |
<destFileName>cdmlib-remote-webapp-${project.version}.war</destFileName>
|
|
350 |
<destFileName>cdm-webapp-${project.version}.war</destFileName> |
|
351 | 351 |
<outputDirectory> |
352 | 352 |
${project.build.directory} |
353 | 353 |
</outputDirectory> |
... | ... | |
359 | 359 |
</plugin> |
360 | 360 |
|
361 | 361 |
<!-- ====== PACKAGE ====== --> |
362 |
<!-- package the default webapp, // (and also add the cdmlib-remote-webapp.war)
|
|
362 |
<!-- package the default webapp, // (and also add the cdm-webapp.war) |
|
363 | 363 |
test with: mvn war:war --> |
364 | 364 |
<plugin> |
365 | 365 |
<groupId>org.apache.maven.plugins</groupId> |
... | ... | |
368 | 368 |
<configuration> |
369 | 369 |
<warName>default-webapp</warName> |
370 | 370 |
<packagingExcludes> |
371 |
cdmlib-remote-webapp-*.war
|
|
371 |
cdm-webapp-*.war |
|
372 | 372 |
</packagingExcludes> |
373 |
<!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdmlib-remote-webapp</artifactId>
|
|
373 |
<!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId> |
|
374 | 374 |
<!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay |
375 | 375 |
- -> </overlay> </overlays> --> |
376 | 376 |
</configuration> |
... | ... | |
603 | 603 |
|
604 | 604 |
<dependencies> |
605 | 605 |
<!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts. |
606 |
The cdm-server Bootlader however relies on a specific name of the cdmlib-remote-webapp
|
|
606 |
The cdm-server Bootlader however relies on a specific name of the cdm-webapp |
|
607 | 607 |
war file. In order to achieve this with maven 3 the below dependency is now |
608 | 608 |
handled more explicitely by utilizing the dependency:copy-dependencies gloal |
609 | 609 |
in the build/plugins section <dependency> <groupId>eu.etaxonomy</groupId> |
610 |
<artifactId>cdmlib-remote-webapp</artifactId> <version>${project.version}</version>
|
|
610 |
<artifactId>cdm-webapp</artifactId> <version>${project.version}</version> |
|
611 | 611 |
<type>war</type> </dependency> --> |
612 | 612 |
<!-- JETTY 7 --> |
613 | 613 |
<dependency> |
Also available in: Unified diff
changed references of cdmlib-remote-webapp to cdm-webapp