Skip to content

SUREFIRE-790 Added support for execution context propagation - #2

Closed
kpiwko wants to merge 1 commit into
apache:trunkfrom
kpiwko:SUREFIRE-790
Closed

kpiwko wants to merge 1 commit into
apache:trunkfrom
kpiwko:SUREFIRE-790

Conversation

@kpiwko

@kpiwko kpiwko commented Nov 15, 2011

Copy link
Copy Markdown

No description provided.

@marcusholl

Copy link
Copy Markdown

We also need the possibility to use the settings file with the active profiles from a surrounding maven call inside a maven process forked by surefire via the org.apache.maven.it.Verifier. This is from my point of view a valid use case which is currently apparently not supported.
For build systems it is quite usual to use dedicated local repositories defined via -Dmaven.repo.local on the command line of the outermost maven call. Maybe you should consider to hand over that property also.

asfgit pushed a commit that referenced this pull request Dec 14, 2012
instead mvn site-deploy

BTW, this has others advantages:
- easier to understand (it's a local site staging, not a site deployment
to remote hosting)
- the distributionManagement entry has the real value, not a temporary
local storage location (which appears in Distribution Management report)
@gastaldi

gastaldi commented Jul 1, 2014

Copy link
Copy Markdown
Member

I think the default value for executionContextNamespace should be: org.apache.maven

@Tibor17

Tibor17 commented Sep 23, 2015

Copy link
Copy Markdown
Contributor

@kpiwko
@gastaldi
@marcusholl
What can we do about this old issue?
My suggestion is to propose SPI in Surefire 3.x where hacking system properties in forked jvm would be fetched right from plugin process.
I want to have groovy scripting with interfaces in Surefire API instead of SPI. The interfaces will be compiled in Java 8 unlike most of other surefire modules compiled in Java 6.

@kpiwko

kpiwko commented Sep 24, 2015

Copy link
Copy Markdown
Author

@Tibor17 SPI would work for me. Basically any means how to get the information about Maven process to forked JVM would be helpful, if enabled by default, even better.

@Tibor17

Tibor17 commented Sep 24, 2015

Copy link
Copy Markdown
Contributor

Enabled by default would mean to introduce a new feature and new bugs and
requirements in Jira.
The reason why we want the users to implement the API in their own is to
get freedom in Jira and solve contradictory issues.
It's pragmatic decision from our side. I understand that users would prefer
us to implement but we have limited resources.

On Thu, Sep 24, 2015 at 8:53 AM, Karel Piwko [email protected]
wrote:

@Tibor17 https://github.com/Tibor17 SPI would work for me. Basically
any means how to get the information about Maven process to forked JVM
would be helpful, if enabled by default, even better.

—
Reply to this email directly or view it on GitHub
#2 (comment).

Cheers
Tibor

@jira-importer

Copy link
Copy Markdown

Resolve #1790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants