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

                 Key: MJAR-108
                 URL: http://jira.codehaus.org/browse/MJAR-108
             Project: Maven 2.x Jar Plugin
          Issue Type: Bug
    Affects Versions: 2.2
         Environment: Windows XP SP2

java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode)

Maven version: 2.0.9
Java version: 1.5.0_14
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
            Reporter: Arnaud Heritier
         Attachments: logs-debug.txt, logs.txt, myJar.zip

The build fails if the index option is activated in the archiver :
{code:xml}
                <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>
{code}
The error :


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to