Bonjour Développeurs,
J’ai crée le fichier build.xml suivante :
Mon probleme
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 <project name="Analyse"> <!-- Define the Sonar task --> <taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml"> <classpath path="C:\Documents and Settings\jaramilloj\Mes documents\Audit SAP\Outils\sonar-3.0\Apache Ant\ant\lib\sonar-ant-task-1.4.jar" /> </taskdef> <!-- Add the target --> <target name="sonar"> <sonar:sonar key="org.Proj.Proj" version="0.1-SNAPSHOT" xmlns:sonar="antlib:org.sonar.ant"> <!-- list of properties (optional) --> <property key="sonar.projectName" value="Proj" /> <property key="sonar.dynamicAnalysis" value="false" /> <property key="sonar.language" value="web" /> <!-- source directories (required) --> <sources> <path location="C:\Documents and Settings\jaramilloj\Mes documents\Audit SAP\Outils\sonar-3.0\Apache Ant\ant\trunk" /> </sources> <!-- test source directories (optional) --> <tests> <path location="C:\Documents and Settings\jaramilloj\Mes documents\Audit SAP\Outils\sonar-3.0\Apache Ant\ant\trunk\tests" /> </tests> </sonar:sonar> </target> </project>:
Je n’arrive pas à comprendre cette erreur , Vous avez des idées pour m’aider ?C:\Unicorn\apache-ant\bin\build.xml:131: java.lang.NoClassDefFoundError: Lorg/apache/maven/execution/MavenSession;
…
Caused by: java.lang.ClassNotFoundException: org.apache.maven.execution.MavenSession
Merci en avance
Vierkjan
Partager