summaryrefslogtreecommitdiffstats
path: root/asdctool/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'asdctool/pom.xml')
-rw-r--r--asdctool/pom.xml115
1 files changed, 40 insertions, 75 deletions
diff --git a/asdctool/pom.xml b/asdctool/pom.xml
index 4fd16cc30b..ce64b7fc1b 100644
--- a/asdctool/pom.xml
+++ b/asdctool/pom.xml
@@ -552,6 +552,46 @@
<build>
<finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
<plugins>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <id>clean-static-files</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <configuration>
+ <filesets>
+ <!-- tosca files -->
+ <fileset>
+ <directory>${project.parent.basedir}/asdctool/tosca</directory>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ <fileset>
+ <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
+ <followSymlinks>false</followSymlinks>
+ <includes>
+ <include>**/default.rb</include>
+ </includes>
+ </fileset>
+ <fileset>
+ <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ <fileset>
+ <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
+ <followSymlinks>false</followSymlinks>
+ <includes>
+ <include>**/sdctool.tar</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -617,47 +657,6 @@
</execution>
</executions>
</plugin>
-
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>clean-static-files</id>
- <phase>clean</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- <configuration>
- <filesets>
- <!-- tosca files -->
- <fileset>
- <directory>${project.parent.basedir}/asdctool/tosca</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
- <followSymlinks>false</followSymlinks>
- <includes>
- <include>**/default.rb</include>
- </includes>
- </fileset>
- <fileset>
- <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
- <followSymlinks>false</followSymlinks>
- <includes>
- <include>**/sdctool.tar</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>ru.yaal.maven</groupId>
<artifactId>write-text-files-maven-plugin</artifactId>
@@ -690,7 +689,6 @@
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
-
<execution>
<id>copy-tosca-folder</id>
<!-- here the phase you need -->
@@ -708,20 +706,12 @@
</resources>
</configuration>
</execution>
-
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
- <id>docker-staging</id>
- <properties>
- <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
- <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
- </properties>
- </profile>
- <profile>
<id>docker</id>
<activation>
<activeByDefault>false</activeByDefault>
@@ -733,30 +723,6 @@
<version>3.0.2</version>
<executions>
<execution>
- <id>copy-dox-files</id>
- <phase>verify</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
- <resources>
- <resource>
- <directory>${project.parent.basedir}/openecomp-be</directory>
- <includes>
- <include>tools/build/**</include>
- </includes>
- </resource>
- <resource>
- <directory>${project.parent.basedir}/openecomp-be</directory>
- <includes>
- <include>tools/install/**</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- <execution>
<id>copy-sdctool</id>
<phase>verify</phase>
<goals>
@@ -780,7 +746,6 @@
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${fabric8.version}</version>
-
<configuration>
<verbose>true</verbose>
<apiVersion>1.23</apiVersion>