diff options
Diffstat (limited to 'odlparent/karaf4-parent')
-rwxr-xr-x | odlparent/karaf4-parent/pom.xml | 47 |
1 files changed, 14 insertions, 33 deletions
diff --git a/odlparent/karaf4-parent/pom.xml b/odlparent/karaf4-parent/pom.xml index 3ec5629e..511d8815 100755 --- a/odlparent/karaf4-parent/pom.xml +++ b/odlparent/karaf4-parent/pom.xml @@ -1,7 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> @@ -14,7 +12,7 @@ <groupId>org.opendaylight.odlparent</groupId> <artifactId>karaf4-parent</artifactId> <version>3.1.3</version> - <relativePath /> + <relativePath/> </parent> @@ -294,42 +292,25 @@ <exportAntProperties>true</exportAntProperties> <tasks> - <taskdef resource="net/sf/antcontrib/antlib.xml" - classpathref="maven.plugin.classpath" /> + <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/> <condition property="is_windows" value="true"> - <os family="windows" /> + <os family="windows"/> </condition> <condition property="isLinux" value="true"> - <os family="unix" /> + <os family="unix"/> </condition> <if> - <equals arg1="${is_windows}" arg2="true" /> + <equals arg1="${is_windows}" arg2="true"/> <then> - <property name="swagger.sdk.script.file" - value="generated-source-script.bat" /> - <echo - file="${project.build.directory}${file.separator}generated-source-script.bat" - append="true" - message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" /> - <echo - file="${project.build.directory}${file.separator}generated-source-script.bat" - append="true" - message="mvn clean install -Dmaven.test.skip=true${line.separator}" /> + <property name="swagger.sdk.script.file" value="generated-source-script.bat"/> + <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> + <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> </then> <else> - <property name="swagger.sdk.script.file" - value="generated-source-script.sh" /> - <echo - file="${project.build.directory}${file.separator}generated-source-script.sh" - append="true" - message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" /> - <echo - file="${project.build.directory}${file.separator}generated-source-script.sh" - append="true" - message="mvn clean install -Dmaven.test.skip=true${line.separator}" /> - <chmod - file="${project.build.directory}${file.separator}generated-source-script.sh" - perm="755" /> + <property name="swagger.sdk.script.file" value="generated-source-script.sh"/> + <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> + <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> + <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/> </else> </if> </tasks> @@ -791,7 +772,7 @@ <!-- This version supports the "deployAtEnd" parameter --> <version>2.8</version> <configuration> - <skip /> + <skip/> </configuration> </plugin> |