pom.xml 3.11 KB
Newer Older
Romain Bioteau's avatar
Romain Bioteau committed
1 2 3 4 5 6 7
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.bonitasoft.studio.bundles</groupId>
        <artifactId>plugins</artifactId>
8
        <version>7.8.3</version>
Romain Bioteau's avatar
Romain Bioteau committed
9
    </parent>
10

Romain Bioteau's avatar
Romain Bioteau committed
11
    <groupId>org.bonitasoft.studio.bundles.plugins</groupId>
12
    <artifactId>org.bonitasoft.studio.designer</artifactId>
Romain Bioteau's avatar
Romain Bioteau committed
13
    <packaging>eclipse-plugin</packaging>
Romain Bioteau's avatar
Romain Bioteau committed
14 15

    <properties>
16
        <lib.dir>${basedir}/lib</lib.dir>
Romain Bioteau's avatar
Romain Bioteau committed
17 18 19
    </properties>

    <dependencies>
Romain Bioteau's avatar
Romain Bioteau committed
20
         <dependency>
21
            <groupId>org.bonitasoft.web</groupId>
Romain Bioteau's avatar
Romain Bioteau committed
22
            <artifactId>ui-designer-backend-contract</artifactId>
23
            <version>${ui.designer.version}</version>
Romain Bioteau's avatar
Romain Bioteau committed
24
        </dependency>
Romain Bioteau's avatar
Romain Bioteau committed
25 26 27 28 29 30 31 32 33 34 35 36
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>Clean generated resources</id>
                        <phase>clean</phase>
                        <configuration>
                            <target>
37
                                <delete dir="${lib.dir}" />
Romain Bioteau's avatar
Romain Bioteau committed
38 39 40 41 42 43 44 45
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
46 47 48 49 50 51 52 53 54 55 56 57
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>Retrieve contract model</id>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
58
                                    <groupId>org.bonitasoft.web</groupId>
Romain Bioteau's avatar
Romain Bioteau committed
59
                                    <artifactId>ui-designer-backend-contract</artifactId>
60
                                    <version>${ui.designer.version}</version>
61 62 63 64 65 66 67 68 69 70 71 72 73
                                    <overWrite>true</overWrite>
                                </artifactItem>
                            </artifactItems>
                            <stripVersion>true</stripVersion>
                            <stripClassifier>true</stripClassifier>
                            <outputDirectory>${lib.dir}</outputDirectory>
                            <overWriteReleases>true</overWriteReleases>
                            <overWriteSnapshots>true</overWriteSnapshots>
                            <overWriteIfNewer>true</overWriteIfNewer>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
Romain Bioteau's avatar
Romain Bioteau committed
74 75 76 77
        </plugins>
    </build>

</project>