[MAGNOLIA-3373] XDoclet fails for magnolia-module-templating-components on Linux Created: 08/Nov/10 Updated: 29/Nov/12 Resolved: 29/Nov/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | build |
| Affects Version/s: | 4.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Joerg von Frantzius | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Patch included: |
Yes
|
| 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)
|
| Date of First Response: |
| Description |
|
When trying to build magnolia-module-templating-components on Linux, the following error occurs:
[INFO] [2-xdoclet2:xdoclet {execution: xdoclet-tld}]
log4j:WARN No appenders could be found for logger (org.generama.defaults.QDoxPlugin).
log4j:WARN Please initialize the log4j system properly.
Running org.xdoclet.plugin.web.TaglibPlugin
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] XDoclet plugin failed: Exception occurred when running Jelly
org.apache.commons.lang.StringUtils
On the 4.4 branch, the problem could be solved by applying the patch provided by Greg (attached to this issue). The provided patch applies to the parent pom http://svn.magnolia-cms.com/svn/community/magnolia/branches/magnolia-4.4/pom.xml. |
| Comments |
| Comment by Magnolia International [ 11/Nov/10 ] |
|
Jörg, Just a thought - could it be that the Maven you're using is the one provided by your OS's packaging system ? We've recently had issues with the Maven from Ubuntu, which was missing some dependencies or something ... As far as I can tell, the xdoclet plugin should have commons-lang, transitively through xdoclet, generama, and jelly, in that order. Would you mind trying with a vanilla Maven installation if possible ? |
| Comment by Ondrej Chytil [ 29/Nov/12 ] |
Feel free to re-open this ticket should this happen again. |