Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-108

Using parameter index=true in archiver creates a build error : Embedded error: Problem creating jar: ....myJar\target\classes (Accès refusé)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2
    • None
    • None
    • None

    Description

      The build fails if the index option is activated in the archiver :

                      <plugin>
                          <artifactId>maven-jar-plugin</artifactId>
                          <version>2.2</version>
                          <configuration>
                              <archive>
                                  <index>true</index>
                                  <manifest>
                                      <addClasspath>true</addClasspath>
                                      <classpathPrefix>lib/</classpathPrefix>
                                  </manifest>
                              </archive>
                          </configuration>
                      </plugin>
      

      The error :

      Attachments

        1. logs.txt
          5 kB
          Arnaud Heritier
        2. logs-debug.txt
          59 kB
          Arnaud Heritier
        3. myJar.zip
          1 kB
          Arnaud Heritier

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aheritier Arnaud Heritier
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: