Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
languages
Tagging
Commits
ca6ada04
Commit
ca6ada04
authored
Jun 06, 2018
by
Alexander David Hellwig
Browse files
Fixed settings: search dependencies in se-nexus
parent
ef87097e
Pipeline
#53486
passed with stage
in 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
settings.xml
View file @
ca6ada04
...
...
@@ -31,19 +31,9 @@
<pluginGroup>
de.topobyte
</pluginGroup>
</pluginGroups>
<!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
</proxies>
<!-- servers
| This is a list of authentication profiles, keyed by the server-id used within the system.
| Authentication profiles can be used whenever maven must make a connection to a remote server.
|-->
<servers>
<server>
<id>
se-nexus
</id>
...
...
@@ -61,180 +51,16 @@
<mirrors>
<mirror>
<id>
se-nexus
</id>
<mirrorOf>
external:*,!github,!eclipse,!maven-central
</mirrorOf>
<url>
https://nexus.se.rwth-aachen.de/content/groups/embeddedmontiarc
</url>
</mirror>
<mirror>
<id>
github
</id>
<mirrorOf>
github
</mirrorOf>
<url>
https://raw.githubusercontent.com/EmbeddedMontiArc/external-dependencies/master/
</url>
</mirror>
<mirror>
<id>
maven-central
</id>
<mirrorOf>
central
</mirrorOf>
<url>
http://central.maven.org/maven2/
</url>
</mirror>
<mirror>
<id>
eclipse
</id>
<mirrorOf>
eclipse
</mirrorOf>
<url>
https://repo.eclipse.org/content/groups/releases/
</url>
</mirror>
<!--
<mirror>
<id>topobyte</id>
<mirrorOf>
external:*
</mirrorOf>
<url>http://http://mvn.topobyte.de/</url>
</mirror>
-->
<url>
https://nexus.se.rwth-aachen.de/content/groups/public
</url>
</mirror>
</mirrors>
<!-- profiles
| This is a list of profiles which can be activated in a variety of ways, and which can modify
| the build process. Profiles provided in the settings.xml are intended to provide local machine-
| specific paths and repository locations which allow the build to work in the local environment.
|
| For example, if you have an integration testing plugin - like cactus - that needs to know where
| your Tomcat instance is installed, you can provide a variable here such that the variable is
| dereferenced during the build process to configure the cactus plugin.
|
| As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
| section of this document (settings.xml) - will be discussed later. Another way essentially
| relies on the detection of a system property, either matching a particular value for the property,
| or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
| value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
| Finally, the list of active profiles can be specified directly from the command line.
|
| NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
| repositories, plugin repositories, and free-form properties to be used as configuration
| variables for plugins in the POM.
|
|-->
<profiles>
<!-- profile
| Specifies a set of introductions to the build process, to be activated using one or more of the
| mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
| or the command line, profiles have to have an ID that is unique.
|
| An encouraged best practice for profile identification is to use a consistent naming convention
| for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
| This will make it more intuitive to understand what the set of introduced profiles is attempting
| to accomplish, particularly when you only have a list of profile id's for debug.
|
| This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
<profile>
<id>jdk-1.4</id>
<activation>
<jdk>1.4</jdk>
</activation>
<repositories>
<repository>
<id>jdk14</id>
<name>Repository for JDK 1.4 builds</name>
<url>http://www.myhost.com/maven/jdk14</url>
<layout>default</layout>
<snapshotPolicy>always</snapshotPolicy>
</repository>
</repositories>
</profile>
-->
<!--
| Here is another profile, activated by the system property 'target-env' with a value of 'dev',
| which provides a specific path to the Tomcat instance. To use this, your plugin configuration
| might hypothetically look like:
|
| ...
| <plugin>
| <groupId>org.myco.myplugins</groupId>
| <artifactId>myplugin</artifactId>
|
| <configuration>
| <tomcatLocation>${tomcatPath}</tomcatLocation>
| </configuration>
| </plugin>
| ...
|
| NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
| anything, you could just leave off the <value/> inside the activation-property.
|
<profile>
<id>env-dev</id>
<activation>
<property>
<name>target-env</name>
<value>dev</value>
</property>
</activation>
<properties>
<tomcatPath>/path/to/tomcat/instance</tomcatPath>
</properties>
</profile>
-->
<profile>
<id>
github
</id>
<!-- enable snapshots for the built in central repo to direct -->
<!-- all requests to nexus via the mirror -->
<repositories>
<repository>
<id>
eclipse
</id>
<url>
https://repo.eclipse.org/content/groups/releases/
</url>
<releases><enabled
/></releases>
<snapshots><enabled
/></snapshots>
</repository>
<repository>
<id>
central
</id>
<url>
http://central
</url>
<releases><enabled
/></releases>
<snapshots><enabled
/></snapshots>
</repository>
<repository>
<id>
topobyte
</id>
<url>
http://mvn.topobyte.de/
</url>
<releases><enabled
/></releases>
<snapshots><enabled
/></snapshots>
</repository>
<repository>
<id>
maven-central
</id>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
<url>
http://central.maven.org/maven2/
</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
maven-central
</id>
<url>
http://central.maven.org/maven2/
</url>
<releases><enabled
/></releases>
<snapshots><enabled
/></snapshots>
</pluginRepository>
<pluginRepository>
<id>
eclipse
</id>
<url>
https://repo.eclipse.org/content/groups/releases/
</url>
<releases><enabled
/></releases>
<snapshots><enabled
/></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>
se-nexus
</id>
<!-- enable snapshots for the built in central repo to direct -->
<!-- all requests to nexus via the mirror -->
<repositories>
<repository>
<id>
github
</id>
<name>
github
</name>
<url>
https://raw.githubusercontent.com/EmbeddedMontiArc/external-dependencies/master/
</url>
</repository>
<repository>
<id>
central
</id>
<url>
http://central
</url>
...
...
@@ -243,13 +69,6 @@
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
github
</id>
<name>
github
</name>
<url>
https://raw.githubusercontent.com/EmbeddedMontiArc/external-dependencies/master/
</url>
<releases><enabled
/></releases>
<snapshots><enabled
/></snapshots>
</pluginRepository>
<pluginRepository>
<id>
central
</id>
<url>
http://central
</url>
...
...
@@ -261,24 +80,6 @@
</profiles>
<activeProfiles>
<!-- make the profile active by default -->
<activeProfile>
se-nexus
</activeProfile>
</activeProfiles>
<!-- activeProfiles
| List of profiles that are active for all builds.
|
<activeProfiles>
<activeProfile>alwaysActiveProfile</activeProfile>
<activeProfile>anotherAlwaysActiveProfile</activeProfile>
</activeProfiles>
<activeProfiles>
<activeProfile>github</activeProfile>
</activeProfiles>
-->
</activeProfiles>
</settings>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment