Конфигурация по умолчанию изменилась между версиями.
собственности org.ops4j.pax.url.mvn.localRepository
не было определено в 6.2.1 (таким образом, нарушившего к ~/.m2/repository
), теперь по умолчанию ${karaf.data}/repository
на 6.3.0
Так для повторного включения предыдущего поведения, установите свойство
#Linux
org.ops4j.pax.url.mvn.localRepository=~/.m2/repository
#Windows
org.ops4j.pax.url.mvn.localRepository=/Users/alessandro/.m2/repository
недвижимости определяется в etc/org.ops4j.pax.url.mvn.cfg
версия 6.2.1
# Path to the local maven repository which is used to avoid downloading
# artifacts when they already exist locally.
# The value of this property will be extracted from the settings.xml file
# above, or defaulted to:
# System.getProperty("user.home") + "/.m2/repository"
#
#org.ops4j.pax.url.mvn.localRepository=
версия 6.3.0
# Path to the local Maven repository which is used to avoid downloading
# artifacts when they already exist locally.
# The value of this property will be extracted from the settings.xml file
# above, or defaulted to:
# System.getProperty("user.home") + "/.m2/repository"
# leaving this option commented makes the system dependent on external configuration, which is not always desired
# "localRepository" is the target location for artifacts downloaded from "remote repositories", it's not
# searched for already available artifacts, unless added explicitly to "defaultRepositories"
# by default internal local repository is used to have behavior independent of the content of ~/.m2/repository
org.ops4j.pax.url.mvn.localRepository = ${karaf.data}/repository