1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.cognita</groupId>
6 <artifactId>dcae-toscalab</artifactId>
7 <version>1.0.0-SNAPSHOT</version>
8 <packaging>pom</packaging>
10 <name>dcae-toscalab</name>
17 <!-- <missing>${project.build.directory}/TOSCA_Lab</missing> -->
18 <missing>target/TOSCA_Lab</missing>
19 <!-- <missing>target/pyyaml</missing> -->
25 <groupId>org.codehaus.mojo</groupId>
26 <artifactId>exec-maven-plugin</artifactId>
27 <version>1.6.0</version>
31 <id>toscalab-clone</id>
35 <phase>generate-resources</phase>
38 <executable>git</executable>
40 <argument>clone</argument>
41 <argument>-b</argument>
42 <!-- <argument>master</argument> -->
43 <argument>acumos</argument>
44 <argument>--single-branch</argument>
45 <argument>https://gitlab.research.att.com/shushi/TOSCA_Lab</argument>
46 <argument>${project.build.directory}/TOSCA_Lab</argument>
56 <phase>generate-resources</phase>
59 <executable>git</executable>
61 <argument>clone</argument>
62 <argument>-b</argument>
63 <argument>master</argument>
64 <argument>https://github.com/yaml/pyyaml.git</argument>
65 <argument>${project.build.directory}/pyyaml</argument>
71 <id>setuptools-clone</id>
75 <phase>generate-resources</phase>
78 <executable>git</executable>
80 <argument>clone</argument>
81 <argument>-b</argument>
82 <argument>master</argument>
83 <argument>https://github.com/pypa/setuptools.git</argument>
84 <argument>${project.build.directory}/setuptools</argument>
100 <file><exists>target/TOSCA_lab</exists></file>
101 <!-- <file><exists>${project.build.directory}/TOSCA_lab</exists></file>
102 [WARNING] 'profiles.profile[pull].activation.file.exists' Failed to interpolate file location ${project.build.directory}/TOSCA_lab for profile pull: ${project.*} expressions are not supported during profile activation
104 <!-- <file><exists>target/pyyaml</exists></file> -->
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>exec-maven-plugin</artifactId>
111 <version>1.6.0</version>
115 <id>toscalab-pull</id>
119 <phase>generate-resources</phase>
122 <executable>git</executable>
123 <workingDirectory>${project.build.directory}/TOSCA_Lab</workingDirectory>
125 <argument>pull</argument>
135 <phase>generate-resources</phase>
138 <executable>git</executable>
139 <workingDirectory>${project.build.directory}/pyyaml</workingDirectory>
141 <argument>pull</argument>
158 <artifactId>maven-resources-plugin</artifactId>
159 <version>3.0.2</version>
163 <phase>package</phase>
165 <goal>copy-resources</goal>
168 <outputDirectory>${project.build.directory}/TOSCA_Lab/yaml</outputDirectory>
171 <directory>${project.build.directory}/pyyaml/lib/yaml</directory>
172 <filtering>true</filtering>
181 <artifactId>maven-resources-plugin</artifactId>
182 <version>3.0.2</version>
185 <id>copy-pkg-resources</id>
186 <phase>package</phase>
188 <goal>copy-resources</goal>
191 <outputDirectory>${project.build.directory}/TOSCA_Lab/pkg_resources</outputDirectory>
194 <directory>${project.build.directory}/setuptools/pkg_resources</directory>
195 <filtering>true</filtering>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-jar-plugin</artifactId>
206 <version>3.0.2</version>
209 <id>package-toscalab</id>
210 <phase>package</phase>
215 <classifier>toscalab</classifier>
216 <classesDirectory>${project.build.directory}/TOSCA_Lab</classesDirectory>
217 <!-- <finalName>toscalab.jar</finalName> -->
219 <include>**/*.py</include>
220 <include>**/meta_model/**/*</include>
221 <include>**/tosca_model/**/*</include>
222 <include>**/shared_model/**/*</include>