[
https://issues.apache.org/jira/browse/MJAR-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957211#comment-17957211
]
Matthias Bünger commented on MJAR-108:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-jar-plugin#274|https://github.com/apache/maven-jar-plugin/issues/274].
> 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: https://issues.apache.org/jira/browse/MJAR-108
> Project: Maven JAR Plugin (Moved to GitHub Issues)
> 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
> Priority: Major
> 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 was sent by Atlassian Jira
(v8.20.10#820010)