Hi

 I'm trying to lauch an antfile from a jar but it'd not working.
If I unzip the jar it works but the idea is to work with the jar.
This is my pom :

        <dependency>
                <groupId>fr.sogeti.plpm.infra.persistance.jpa</groupId>
                
<artifactId>fr.sogeti.plpm.infra.persistance.jpa.generator</artifactId>
                <version>0.0.1-SNAPSHOT</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>fr.sogeti.plpm.infra.persistance.jpa</groupId>
                
<artifactId>fr.sogeti.plpm.infra.persistance.jpa.model</artifactId>
                <version>0.0.1-SNAPSHOT</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>
  </dependencies>
  
  <build>
<plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <phase>compile</phase>
            <configuration>
              <tasks>
        <ant 
      antfile ="D:\Documents and
settings\elabouss\.m2\repository\fr\sogeti\plpm\infra\persistance\jpa\fr.sogeti.plpm.infra.persistance.jpa.model\0.0.1-SNAPSHOT\fr.sogeti.plpm.infra.persistance.jpa.model-0.0.1-SNAPSHOT.jar/0_UML2JPA_chain.xml"/>


              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

Any idea ?
thanks
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Antrun-access-to-build-file-located-in-a-jar-tp3289407p3289407.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to