Skip to content

Commit

Permalink
[MCHANGES-425] Use the latest version of modello, update changes schema
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Nov 18, 2024
1 parent 6f4584b commit 599e727
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 109 deletions.
23 changes: 2 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,9 @@ under the License.
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0.1</version>
<version>2.4.0</version>
<configuration>
<useJava5>true</useJava5>
<version>1.0.0</version>
<version>2.0.0</version>
<models>
<model>src/main/mdo/changes.mdo</model>
</models>
Expand Down Expand Up @@ -492,24 +491,6 @@ under the License.
</execution>
</executions>
</plugin>
<!-- workaround to remove timestamp inserted by Modello 1.0.1 into generated .java and .xsd -->
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<version>2.1.1</version>
<executions>
<execution>
<id>patch-changes-xsd</id>
<goals>
<goal>execute</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<source>${project.basedir}/src/main/script/patch-modello.groovy</source>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private void constructAction(Sink sink, ResourceBundle bundle, Action action) {

sink.tableCell();

String actionDescription = action.getAction();
String actionDescription = action.getDescription();

if (escapeHTML) {
sink.text(actionDescription);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public Action createAction(Issue issue) {

action.setDueTo(issue.getReporter() == null ? "" : issue.getReporter());

action.setAction(issue.getSummary());
action.setDescription(issue.getSummary());
return action;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected void logRelease(Release release) {
action = action1;
getLog().debug("o " + action.getType());
getLog().debug("issue : " + action.getIssue());
getLog().debug("action : " + action.getAction());
getLog().debug("action : " + action.getDescription());
getLog().debug("dueTo : " + action.getDueTo());
}
}
Expand Down
Loading

0 comments on commit 599e727

Please sign in to comment.