- change version on 1.8
- add docker-compose - update entaxy
This commit is contained in:
105
platform/pom.xml
105
platform/pom.xml
@ -17,4 +17,109 @@
|
||||
<modules>
|
||||
<module>runtime</module>
|
||||
</modules>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>install-script</id>
|
||||
<activation>
|
||||
<file>
|
||||
<exists>src/main/scripts/entaxy-platform.install</exists>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>update-file-header</id>
|
||||
<goals>
|
||||
<goal>update-file-header</goal>
|
||||
</goals>
|
||||
<phase>process-sources</phase>
|
||||
<configuration>
|
||||
<organizationName>${license.organizationName}</organizationName>
|
||||
<inceptionYear>${license.inceptionYear}</inceptionYear>
|
||||
<projectName>${license.projectName}</projectName>
|
||||
<copyrightOwners>${license.copyrightOwners}</copyrightOwners>
|
||||
<licenseName>${license.licenseName}</licenseName>
|
||||
|
||||
<!-- plugin documentation recommends "true"
|
||||
but we use "false" to look like Apache sources -->
|
||||
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
||||
<emptyLineAfterHeader>false</emptyLineAfterHeader>
|
||||
|
||||
<excludes>
|
||||
<exclude>**/*.json</exclude>
|
||||
</excludes>
|
||||
<extraExtensions>
|
||||
<!-- treat *.install files as *.properties -->
|
||||
<install>properties</install>
|
||||
</extraExtensions>
|
||||
|
||||
<ignoreNoFileToScan>true</ignoreNoFileToScan>
|
||||
<keepBackup>true</keepBackup>
|
||||
|
||||
<processStartTag>${license.processStartTag}</processStartTag>
|
||||
<processEndTag>${license.processEndTag}</processEndTag>
|
||||
<sectionDelimiter>${license.sectionDelimiter}</sectionDelimiter>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- @TODO move plugin declaration to root/pom.xml -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-resources</id>
|
||||
<!-- here the phase you need -->
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${basedir}/target/scripts</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/scripts</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-script</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<file>target/scripts/entaxy-platform.install</file>
|
||||
<type>install</type>
|
||||
<classifier>entaxy-platform</classifier>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
|
||||
</project>
|
Reference in New Issue
Block a user