Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2553

org.apache.sling.samples.simple-demo build fails : For input string: "2147483648"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Samples
    • None

    Description

      Running mvn clean install in the samples directory fails when building the simple-demo project

      [ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.2:scr (generate-scr-scrdescriptor) on project org.apache.sling.samples.simple-demo: Execution generate-scr-scrdescriptor of goal org.apache.felix:maven-scr-plugin:1.7.2:scr failed: For input string: "2147483648" -> [Help 1]

      The ZIPFilter class is configured as follows:

      @Property(name="filter.order", intValue=-2147483648, propertyPrivate=true)

      It seems that the scr-maven-plugin picks up an incorrect value.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: