diff options
Diffstat (limited to 'compiler/pom.xml')
-rw-r--r-- | compiler/pom.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/compiler/pom.xml b/compiler/pom.xml index 465c1ae3b..d6197dddc 100644 --- a/compiler/pom.xml +++ b/compiler/pom.xml @@ -139,6 +139,54 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <configuration> + <addTestClassPath>true</addTestClassPath> + <!--<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> + <cloneClean>true</cloneClean>--> + <pomIncludes> + <pomInclude>*/pom.xml</pomInclude> + </pomIncludes> + <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath> + <filterProperties> + <dagger.version>${project.version}</dagger.version> + <dagger.groupId>${project.groupId}</dagger.groupId> + </filterProperties> + <streamLogs>true</streamLogs> + </configuration> + <executions> + <execution> + <id>integration-test</id> + <goals> + <goal>install</goal> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> + <profiles> + <profile> + <id>ide</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <configuration> + <addTestClassPath>true</addTestClassPath> + <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> + <cloneClean>true</cloneClean> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |