Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP4:Update
maven2
maven2-2.2.1-sisu-plexus.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maven2-2.2.1-sisu-plexus.patch of Package maven2
--- a/maven-core/src/test/java/org/apache/maven/MavenTestUtils.java +++ b/maven-core/src/test/java/org/apache/maven/MavenTestUtils.java @@ -50,10 +50,10 @@ public class MavenTestUtils ClassRealm rootClassRealm = classWorld.newRealm( "root", Thread.currentThread().getContextClassLoader() ); - container.addContextValue( "rootClassRealm", rootClassRealm ); + container.getContext().put( "rootClassRealm", rootClassRealm ); - container.addContextValue( "maven.home", mavenHome.getAbsolutePath() ); + container.getContext().put( "maven.home", mavenHome.getAbsolutePath() ); - container.addContextValue( "maven.home.local", mavenHomeLocal.getAbsolutePath() ); + container.getContext().put( "maven.home.local", mavenHomeLocal.getAbsolutePath() ); } } --- a/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java +++ b/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java @@ -259,7 +259,7 @@ public class DefaultProfileManager systemProperties.putAll( requestProperties ); } - container.addContextValue("SystemProperties", systemProperties); + container.getContext().put("SystemProperties", systemProperties); try { activators = container.lookupList( ProfileActivator.ROLE );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor