Bonjour,
Je souhaite utiliser le plugin jspc.
J'ai l'erreur suivante sous Windows
Illegal character in path at index 18: file:/C:/Documents and Settings/JESTIN/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
Erreur dûe au chemin du réferentiel local.
L'erreur est à priori corrigée dans la version 2.0-alpha-2-SNAPSHOT
https://issues.apache.org/jira/brows...ction_12590933
Cette version est présente dans le référentiel suivant :
http://snapshots.repository.codehaus.org/
J'ai rajouté ceci dans mon fichier settings.xml :
<repository>
<id>codehaus.org</id>
<name>codehaus.org</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://snapshots.repository.codehaus.org/</url>
</repository>
Je vois ceci dans la trace
Downloading: htp://snapshots.repository.codehaus.org//org/codehaus/mojo/jspc/jspc/2.0-alpha-2-SNAPSHOT/jspc-2.0-alpha-2-20080504.150315-4.pom
Par contre dans mon référentiel local je n'ai pas le jar correspondant.
J'ai ceci dans mon pom.xml
Merci.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 <plugin> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-maven-plugin</artifactId> <version>2.0-alpha-2-SNAPSHOT</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-compiler-tomcat5</artifactId> <version>2.0-alpha-1</version> </dependency> <dependency> <groupId>tomcat</groupId> <artifactId>jasper-compiler-jdt</artifactId> <version>5.5.15</version> </dependency> </dependencies> </plugin>
Rémy.
Partager