Using Pax Runner repository() options should not override default repositories
------------------------------------------------------------------------------
Key: PAXEXAM-49
URL: http://issues.ops4j.org/browse/PAXEXAM-49
Project: Pax Exam
Issue Type: Improvement
Affects Versions: 0.4.0, 0.3.0
Reporter: Alin Dreghiciu
Assignee: Toni Menzel
Fix For: 0.5.0
As of version 0.4.0 using the repository() options will override the default
maven repositories.
As most of the use cases are to just add extra repositories beside the default
ones it would be better if in order to override the default repositories an
user will have to specify that via an option. I suggest that when using (as
till now):
return options(
repository( "http://foo.org/maven2/" )
);
it should mean that the default + http://foo.org/maven2/ should be used. This
translates to Pax Runner option: --repositories=+http://foo.org/maven2/
When using
return options(
excludeDefaultRepositories(),
repository( "http://foo.org/maven2/" )
);
it should mean that only the http://foo.org/maven2/ to be used. This translates
to Pax Runner option: --repositories=http://foo.org/maven2/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general