content.xml is not getting packaged in zip with content-package-maven-plugin v0.5.24

Avatar

Avatar

kritir46532399

Avatar

kritir46532399

kritir46532399

13-05-2019

Hi All,

we have been migration our 6.1 code base to 6.5 code base and tried to update "content-package-maven-plugin" plugin version from 0.0.24 to 0.5.24.

After upgrading we are seeing issues as below -

1> its not packaging .content.xml in zip for the parent structure in filters present in filter.xml

     - For example in filter.xml we have some entry like <filter root="/apps/test/content/my/abc"/>, so it will not add content.xml for test, content, my nodes even though its present in project where as it will add content.xml for abc node and any child node beneath that

any suggestion on above issues ?

Replies

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

991

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

991

Correct Reply

1.0K
Jörg_Hoh
Employee

14-05-2019

I would assume that it was a bug in the earlier version where the filter setting has been ignored.

Avatar

Avatar

kritir46532399

Avatar

kritir46532399

kritir46532399

14-05-2019

so you mean this is behaving as expected in 0.5.24 version where as bug in 0.0.24 version (where it package content.xml on parent structure as well if present in project)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

991

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

991

Correct Reply

1.0K
Jörg_Hoh
Employee

14-05-2019

yes, I would say so.

Avatar

Avatar

kritir46532399

Avatar

kritir46532399

kritir46532399

14-05-2019

is the attribute which we can apply which can package those content.xml ?