try to compile it with mvn -X package.  you will see more debug details.
Also it will be easy to troubleshoot if you can post the parent pom.

-Sanjay


On 3/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have just installed a fresh Linux at my office (finally!).
> Everything works fine except I get a weird bug whenever I try to
> package my project :
>
> [INFO] Error assembling JAR
> Embedded error: String index out of range: 70
>
> Here's the pom :
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>
>    <modelVersion>4.0.0</modelVersion>
>
>    <groupId>ca.qc.gouv.msp.fse</groupId>
>
>    <artifactId>integration</artifactId>
>
>    <packaging>jar</packaging>
>
>    <version>1.0-SNAPSHOT</version>
>
>    <name>Couche d\'intrégration</name>
>
>    <parent>
>
>    <groupId>ca.qc.gouv.msp</groupId>
>
>    <artifactId>fse</artifactId>
>
>        <version>1.0-SNAPSHOT</version>
>
>    </parent>
>
>    <dependencies>
>
>        <dependency>
>
>            <groupId>org.hibernate</groupId>
>
>            <artifactId>hibernate</artifactId>
>
>            <version>3.1.2</version>
>
>        </dependency>
>
>        <dependency>
>
>            <artifactId>spring-hibernate</artifactId>
>
>            <groupId>org.springframework</groupId>
>
>            <version>1.2.6</version>
>
>        </dependency>
>
>       <dependency>
>
>    <groupId>ca.qc.gouv.msp.fse</groupId>
>
>    <artifactId>commun</artifactId>
>
>            <version>1.0-SNAPSHOT</version>
>
>        </dependency>
>
>    </dependencies>
>
> </project>
>
>
>
> I just remove the parent declaration and everything build
> successfully. I put it back and it is still building succesfully
> (after performing a clean:clean). It's seem to be a very weird bug.
>
> Any suggestion?
>
> --
> Alexandre Poitras
> Québec, Canada
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to