|
@@ -155,40 +155,71 @@
|
|
<scope>test</scope>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
- <build>
|
|
|
|
- <plugins>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
- <version>${maven.surefire-plugin.version}</version>
|
|
|
|
- <configuration>
|
|
|
|
- <argLine>
|
|
|
|
- -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
|
|
|
|
- </argLine>
|
|
|
|
- </configuration>
|
|
|
|
- <dependencies>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.aspectj</groupId>
|
|
|
|
- <artifactId>aspectjweaver</artifactId>
|
|
|
|
- <version>${aspectj.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
- </dependencies>
|
|
|
|
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>io.qameta.allure</groupId>
|
|
|
|
- <artifactId>allure-maven</artifactId>
|
|
|
|
- <version>${allure-maven.version}</version>
|
|
|
|
- </plugin>
|
|
|
|
-
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
- <configuration>
|
|
|
|
- <source>${maven.compiler.source}</source>
|
|
|
|
- <target>${maven.compiler.target}</target>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- </plugins>
|
|
|
|
- </build>
|
|
|
|
|
|
+ <profiles>
|
|
|
|
+ <profile>
|
|
|
|
+ <id>local</id>
|
|
|
|
+ <!-- Disabling e2e tests by default (for local dev envs) since complex setup is needed for UI tests -->
|
|
|
|
+ <activation>
|
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
|
+ </activation>
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
+ <version>${maven.surefire-plugin.version}</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <skipTests>true</skipTests>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>${maven.compiler.source}</source>
|
|
|
|
+ <target>${maven.compiler.target}</target>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+ </profile>
|
|
|
|
+ <profile>
|
|
|
|
+ <id>prod</id>
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
+ <version>${maven.surefire-plugin.version}</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <argLine>
|
|
|
|
+ -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
|
|
|
|
+ </argLine>
|
|
|
|
+ </configuration>
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
|
+ <artifactId>aspectjweaver</artifactId>
|
|
|
|
+ <version>${aspectj.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>io.qameta.allure</groupId>
|
|
|
|
+ <artifactId>allure-maven</artifactId>
|
|
|
|
+ <version>${allure-maven.version}</version>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>${maven.compiler.source}</source>
|
|
|
|
+ <target>${maven.compiler.target}</target>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+ </profile>
|
|
|
|
+ </profiles>
|
|
</project>
|
|
</project>
|