Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18168

Enforcer issue when building 11.10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 11.10
    • Distribution - Flavor
    • None
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: