Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of Maven Environment/System/Filtering #194

Open
khmarbaise opened this issue Apr 20, 2021 · 0 comments
Open

Handling of Maven Environment/System/Filtering #194

khmarbaise opened this issue Apr 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@khmarbaise
Copy link
Owner

khmarbaise commented Apr 20, 2021

Based on #193 we need to investigate the process builder call for Maven and check how the environment variables and system properties are handled?

Can remove some of them from the environment and call the Maven process with a limited view which is not inherited from the calling process?

The problem with ${project.basedir} seemed to be based on filtering of the resources-its folder... we are filtering too much.
It can't being changed by using the following configuration:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>3.2.0</version>
                <configuration>
                    <delimiters>
                        <delimiter>@*@</delimiter>
                    </delimiters>
                </configuration>
            </plugin>
....
        <testResources>
            <!-- specifically for integration tests -->
            <testResource>
                <directory>src/test/resources-its</directory>
                <filtering>true</filtering>
            </testResource>
        </testResources>

Looks like relation to #163

@khmarbaise khmarbaise added the enhancement New feature or request label Apr 20, 2021
@khmarbaise khmarbaise changed the title Handling of Maven Environment variables etc. Handling of Maven Environment/System/Filtering Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant