Skip to content

Commit 68f8ab0

Browse files
committed
feat(maven): enable injected profile by default
Rather than relying on the `CI` env var to be present, the injected profile is now active by default. This avoids having to propagate the `CI` env var to Docker containers or VMs that execute the Maven build.
1 parent b18a37f commit 68f8ab0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

setup-testlens.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ if [[ -f "pom.xml" ]]; then
121121
PROFILE_CONTENT=" <profile>
122122
<id>testlens</id>
123123
<activation>
124-
<property>
125-
<name>env.CI</name>
126-
</property>
124+
<activeByDefault>true</activeByDefault>
127125
</activation>
128126
<dependencies>
129127
<dependency>

0 commit comments

Comments
 (0)