[BUILD-205] Allow disabling installAtEnd over command line Created: 15/Apr/15  Updated: 05/May/15  Resolved: 15/Apr/15

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: POMs 31

Type: Improvement Priority: Neutral
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

With BUILD-183, we set installAtEnd to true in the install plugin's configuration. Unfortunately, that means this setting can't be overriden on a case-by-case basis. A simple workaround would be to expose the property in a <property> in the parent pom.



 Comments   
Comment by Philip Mundt [ 04/May/15 ]

When running a build with the clover profile an install still happens even when providing this parameter -DinstallAtEnd=false.

Comment by Magnolia International [ 04/May/15 ]

Log?

Comment by Philip Mundt [ 04/May/15 ]

e.g.

[INFO] --- maven-clover2-plugin:4.0.3:check (instrument-and-check) @ magnolia-site-app ---
[INFO] Checking for coverage of [99] for database [/Users/johndoe/Code_Magnolia/git/modules/site/magnolia-site-app/target/clover/clover.db]
[WARNING] has test file source dir = true
[WARNING] test file source dir = /Users/johndoe/Code_Magnolia/git/modules/site/magnolia-site-app/src/test/java
[WARNING] test file source dir = /Users/johndoe/Code_Magnolia/git/modules/site/magnolia-site-app/target/generated-test-sources/test-annotations
[INFO] Clover Version 4.0.3, built on January 29 2015 (build-954)
[INFO] Loaded from: /Users/johndoe/.m2/repository/com/atlassian/clover/clover/4.0.3/clover-4.0.3.jar
[INFO] Clover: Open Source License registered to Magnolia CMS.
[INFO] Coverage check PASSED
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ magnolia-site-app ---
[INFO] Installing /Users/johndoe/Code_Magnolia/git/modules/site/magnolia-site-app/target/magnolia-site-app-1.0-SNAPSHOT.jar to /Users/johndoe/.m2/repository/info/magnolia/site/magnolia-site-app/1.0-SNAPSHOT/magnolia-site-app-1.0-SNAPSHOT.jar
[INFO] Installing /Users/johndoe/Code_Magnolia/git/modules/site/magnolia-site-app/pom.xml to /Users/johndoe/.m2/repository/info/magnolia/site/magnolia-site-app/1.0-SNAPSHOT/magnolia-site-app-1.0-SNAPSHOT.pom
Generated at Sun Feb 11 23:39:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.