This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository observe. See http://git.codelutin.com/observe.git commit 14c0b13e8436b87a339dfc6cd3393850b1cacab8 Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Nov 5 09:30:48 2015 +0100 Execution du programme dans le build --- observe-services-topia/pom.xml | 29 +++++++++++++++++++++++++++-- pom.xml | 6 ++++++ 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/observe-services-topia/pom.xml b/observe-services-topia/pom.xml index 3708aca..4605880 100644 --- a/observe-services-topia/pom.xml +++ b/observe-services-topia/pom.xml @@ -163,6 +163,31 @@ </executions> </plugin> + <!-- Pour générer le fichier validators.json et le placer dans la class-path --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <executions> + <execution> + <phase>process-classes</phase> + <goals> + <goal>java</goal> + </goals> + </execution> + </executions> + <configuration> + <mainClass>fr.ird.observe.services.service.actions.validate.GenerateValidatorDescriptorsFileTool</mainClass> + <arguments> + <argument> + ${project.build.outputDirectory}/fr/ird/observe/services/service/actions/validate/validators.json + </argument> + </arguments> + <additionalClasspathElements> + <additionalClasspathElement>${project.basedir}/src/test/resources</additionalClasspathElement> + </additionalClasspathElements> + </configuration> + </plugin> + </plugins> <pluginManagement> @@ -172,7 +197,8 @@ <artifactId>maven-dependency-plugin</artifactId> <configuration> <ignoredUnusedDeclaredDependencies> - <ignoredUnusedDeclaredDependency>org.nuiton.topia:topia-service-migration</ignoredUnusedDeclaredDependency> + <ignoredUnusedDeclaredDependency>org.nuiton.topia:topia-service-migration + </ignoredUnusedDeclaredDependency> </ignoredUnusedDeclaredDependencies> </configuration> </plugin> @@ -181,5 +207,4 @@ </build> - </project> \ No newline at end of file diff --git a/pom.xml b/pom.xml index c296e5d..5fa7cef 100644 --- a/pom.xml +++ b/pom.xml @@ -755,6 +755,12 @@ <version>${paranamerVersion}</version> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.4.0</version> + </plugin> + </plugins> </pluginManagement> <extensions> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.