diff options
author | MichaelMorris <michael.morris@est.tech> | 2020-02-08 22:55:49 +0000 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-02-18 16:06:37 +0000 |
commit | 580e536e8b86a50789031f56a0e20a4985d738a0 (patch) | |
tree | 9f47a6e10f55482ca590e1ff7b963dc0245421bc /catalog-be/pom.xml | |
parent | 4aa20bc42b7bd98dde15f7594084669eb92412c2 (diff) |
Backend extensibility
Issue-ID: SDC-2761
Change-Id: I9287e0255fdda8da61cafc4b761190c8992b9aff
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Diffstat (limited to 'catalog-be/pom.xml')
-rw-r--r-- | catalog-be/pom.xml | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml index fe52c626ab..cbfe98b343 100644 --- a/catalog-be/pom.xml +++ b/catalog-be/pom.xml @@ -974,6 +974,39 @@ <build> <plugins> <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.8</version> + <executions> + <execution> + <id>copy-context-file</id> + <phase>validate</phase> + <configuration> + <target> + <copy file="sdc-backend/context.xml.template" tofile="sdc-backend/context.xml"/> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + <execution> + <id>set-version-in-context-file</id> + <phase>generate-resources</phase> + <configuration> + <target> + <replace file="sdc-backend/context.xml"> + <replacetoken>projectversion</replacetoken> + <replacevalue>${project.version}</replacevalue> + </replace> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> @@ -1129,4 +1162,4 @@ </build> </profile> </profiles> -</project>
\ No newline at end of file +</project> |