[MAGNOLIA-988] Error in maven pom.xml Created: 28/Jul/06  Updated: 23/Jan/13  Resolved: 28/Jul/06

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 3.0 RC3
Fix Version/s: 3.0 RC3

Type: Bug Priority: Blocker
Reporter: Ralf Hirning Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Wenn trying to build Magnolia from trunk an error message occur:

[INFO] One or more required plugin parameters are invalid/missing for 'setproperty:set-property'

[0] inside the definition for plugin: 'maven-setproperty-plugin'specify the following:

<configuration>
...
<name>VALUE</name>
</configuration>

OR

on the command line, specify: '-DpropertyName=VALUE'

To fix please add the <name> to pom

Index: C:/workspace/magnolia/pom.xml
===================================================================
— C:/workspace/magnolia/pom.xml (revision 5629)
+++ C:/workspace/magnolia/pom.xml (working copy)
@@ -112,6 +112,7 @@
<goal>set-property</goal>
</goals>
<configuration>
+ <name>magnolia.properties</name>
<properties>
<property implementation="info.magnolia.maven.setproperty.CurrentDateValueProvider">
<name>magnolia.currentDate</name>



 Comments   
Comment by Philipp Bracher [ 28/Jul/06 ]

Should work now

Generated at Mon Feb 12 03:22:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.