Skip to content

Commit

Permalink
Build improvements
Browse files Browse the repository at this point in the history
- show inner IT tests statues in log
- log build.log on failures
  • Loading branch information
slawekjaranowski committed Nov 28, 2022
1 parent 23de47a commit d5d278f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
6 changes: 3 additions & 3 deletions mrm-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@
<settingsFile>src/it/settings.xml</settingsFile>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<debug>false</debug>
<streamLogs>true</streamLogs>
<goals>
<goal>--no-transfer-progress</goal>
<goal>verify</goal>
</goals>
</configuration>
Expand All @@ -139,9 +142,6 @@
<goal>install</goal>
<goal>run</goal>
</goals>
<configuration>
<debug>false</debug>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
2 changes: 2 additions & 0 deletions mrm-maven-plugin/src/it/custom-base-path/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
</filterProperties>
<postBuildHookScript>verify</postBuildHookScript>
<streamLogsOnFailures>true</streamLogsOnFailures>
<streamLogs>false</streamLogs>
<debug>true</debug>
<goals>
<goal>verify</goal>
</goals>
Expand Down
3 changes: 2 additions & 1 deletion mrm-maven-plugin/src/it/custom-base-path/src/it/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ specific language governing permissions and limitations
under the License.
-->

<settings>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<mirrors>
<mirror>
<id>it-repo</id>
Expand Down
2 changes: 2 additions & 0 deletions mrm-maven-plugin/src/it/hostedrepo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
</filterProperties>
<postBuildHookScript>verify</postBuildHookScript>
<streamLogsOnFailures>true</streamLogsOnFailures>
<streamLogs>false</streamLogs>
<debug>true</debug>
<goals>
<goal>verify</goal>
</goals>
Expand Down
3 changes: 2 additions & 1 deletion mrm-maven-plugin/src/it/hostedrepo/src/it/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ specific language governing permissions and limitations
under the License.
-->

<settings>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<mirrors>
<mirror>
<id>it-repo</id>
Expand Down
8 changes: 6 additions & 2 deletions mrm-maven-plugin/src/it/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!--<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"/>-->
<settings>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<profiles>
<profile>
<id>it-repo</id>
Expand All @@ -29,9 +29,11 @@ under the License.
<url>@localRepositoryUrl@</url>
<releases>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
</snapshots>
</repository>
</repositories>
Expand All @@ -41,9 +43,11 @@ under the License.
<url>@localRepositoryUrl@</url>
<releases>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>ignore</checksumPolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
Expand Down

0 comments on commit d5d278f

Please sign in to comment.