Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Commit

Permalink
[jgitflow-maven-plugin] merging 'release/3.0.0' into 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
apegam-pv committed Sep 30, 2019
2 parents 4d4f4f1 + 41b05e2 commit daa6f6d
Show file tree
Hide file tree
Showing 319 changed files with 5,550 additions and 1,454 deletions.
105 changes: 105 additions & 0 deletions examples/baseline/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
#%L
wcm.io
%%
Copyright (C) 2017 wcm.io
%%
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#L%
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.integration</artifactId>
<version>3.0.0</version>
<relativePath>../../integration</relativePath>
</parent>

<name>Galenium Example Baseline</name>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.baseline</artifactId>
<packaging>pom</packaging>
<version>3.0.0</version>
<description>Test automation example baseline.</description>

<properties>
<galenium.generated.artifactIds>io.wcm.qa.galenium.examples.baseline</galenium.generated.artifactIds>
<site.url.module.prefix>galenium/examples</site.url.module.prefix>
</properties>

<dependencies>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.samples</artifactId>
<version>3.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>


<build>
<plugins>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<licenseName>apache_v2</licenseName>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<projectName>wcm.io.qa.galenium.example</projectName>
<excludes>
<exclude>**/*.json</exclude>
<exclude>**/*.html</exclude>
</excludes>
</configuration>
</plugin>

<!-- Skip UI tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

</plugins>
</build>

<profiles>

<profile>
<id>site-for-ci</id>
<activation>
<property>
<name>continuous-integration</name>
<value>true</value>
</property>
</activation>

<distributionManagement>
<site>
<id>${site.deploy.id}</id>
<url>${site.deploy.url}${site.url.module.prefix}</url>
</site>
</distributionManagement>
</profile>

</profiles>

</project>
6 changes: 4 additions & 2 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,24 @@
<parent>
<groupId>io.wcm.maven</groupId>
<artifactId>io.wcm.maven.global-parent</artifactId>
<version>26</version>
<version>27</version>
<relativePath />
</parent>

<name>Galenium Examples</name>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples</artifactId>
<packaging>pom</packaging>
<version>2.0.0</version>
<version>3.0.0</version>
<description>Test automation examples.</description>

<properties>
<site.url.module.prefix>galenium/examples</site.url.module.prefix>
</properties>

<modules>
<module>baseline</module>
<module>samples</module>
<module>specs</module>
<module>tests</module>
</modules>
Expand Down
127 changes: 127 additions & 0 deletions examples/samples/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
#%L
wcm.io
%%
Copyright (C) 2017 wcm.io
%%
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#L%
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.integration</artifactId>
<version>3.0.0</version>
<relativePath>../../integration</relativePath>
</parent>

<name>Galenium Example Samples</name>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.samples</artifactId>
<packaging>jar</packaging>
<version>3.0.0</version>
<description>Test automation example samples.</description>

<properties>
<galenium.sampling.root>../tests/target/sampled</galenium.sampling.root>
<site.url.module.prefix>galenium/examples</site.url.module.prefix>
</properties>

<dependencies>

<dependency>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.tests</artifactId>
<version>3.0.0</version>
<type>pom</type>
</dependency>

</dependencies>

<build>
<plugins>

<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>fetch-samples-from-tests</id>
<!-- here the phase you need -->
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes</outputDirectory>
<resources>
<resource>
<directory>${galenium.sampling.root}</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>

<plugin>

<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<licenseName>apache_v2</licenseName>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<projectName>wcm.io.qa.galenium.example</projectName>
<excludes>
<exclude>**/*.json</exclude>
<exclude>**/*.html</exclude>
</excludes>
</configuration>
</plugin>

<!-- Skip UI tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

</plugins>
</build>

<profiles>


<profile>
<id>site-for-ci</id>
<activation>
<property>
<name>continuous-integration</name>
<value>true</value>
</property>
</activation>

<distributionManagement>
<site>
<id>${site.deploy.id}</id>
<url>${site.deploy.url}${site.url.module.prefix}</url>
</site>
</distributionManagement>
</profile>

</profiles>

</project>
6 changes: 3 additions & 3 deletions examples/specs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<parent>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.integration.specs</artifactId>
<version>2.0.0</version>
<version>3.0.0</version>
<relativePath>../../integration/specs</relativePath>
</parent>

<name>Galenium Example Specs</name>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.specs</artifactId>
<packaging>jar</packaging>
<version>2.0.0</version>
<version>3.0.0</version>
<description>Test automation example Galen specs.</description>

<properties>
Expand All @@ -48,7 +48,7 @@
<configuration>
<licenseName>apache_v2</licenseName>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<projectName>wcm.io.qa.galenium.example</projectName>
<projectName>io.wcm.qa.galenium.example</projectName>
<excludes>
<exclude>**/*.json</exclude>
<exclude>**/*.html</exclude>
Expand Down
47 changes: 44 additions & 3 deletions examples/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,20 @@
<parent>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.integration.ui-tests</artifactId>
<version>2.0.0</version>
<version>3.0.0</version>
<relativePath>../../integration/ui-tests</relativePath>
</parent>

<name>Galenium Example Tests</name>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.tests</artifactId>
<packaging>jar</packaging>
<version>2.0.0</version>
<version>3.0.0</version>
<description>Test automation example tests.</description>

<properties>
<galenium.generated.artifactIds>io.wcm.qa.galenium.examples.specs</galenium.generated.artifactIds>
<galenium.sampling.artifactIds>io.wcm.qa.galenium.examples.sampling</galenium.sampling.artifactIds>
<site.url.module.prefix>galenium/examples</site.url.module.prefix>
</properties>

Expand All @@ -44,11 +45,30 @@
<dependency>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.specs</artifactId>
<version>2.0.0</version>
<version>3.0.0</version>
</dependency>

<dependency>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.baseline</artifactId>
<version>3.0.0</version>
<type>pom</type>
</dependency>

</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.wcm.qa</groupId>
<artifactId>io.wcm.qa.galenium.examples.baseline</artifactId>
<version>3.0.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>

Expand Down Expand Up @@ -97,6 +117,27 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-baseline</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<includeArtifactIds>${galenium.sampling.artifactIds}</includeArtifactIds>
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
<includes>**/*</includes>
<excludeTransitive>false</excludeTransitive>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
Expand Down
Loading

0 comments on commit daa6f6d

Please sign in to comment.