Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 11.10
    • Fix Version/s: None
    • Component/s: Distribution - Flavor
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Using :

      Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
      Java version: 1.8.0_172, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre
      

       

       

      I have an xwiki extension that I build with `mvn clean install`

      In the pom I have upgrade the version to last LTS ( was previously 10.11.9 )

       

      <parent>
       <groupId>org.xwiki.platform</groupId>
       <artifactId>xwiki-platform-distribution</artifactId>
       <version>11.10.12</version>
       </parent>

       
      That was perfectly building with 10.11.9, just changing this value to 11.10.12 broke the build
       

      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
       XWiki uses jakarta.xml.bind:jakarta.xml.bind-api instead
       Found Banned Dependency: javax.xml.bind:jaxb-api:jar:2.3.1
        
       [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-jakarta.xml.bind-api) on project xwiki-ext-collab: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]

       
      I tried to add Denforcer.skip=true without any success
       
      Is it on my side or xwiki error ?

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              cracky5457 Axel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: