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
b5ec28b9
Commit
b5ec28b9
authored
Jun 06, 2018
by
vonWenckstern
Browse files
try to release
parent
920098b3
Pipeline
#53338
failed with stage
in 41 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b5ec28b9
image
:
maven:3-jdk-8
stages
:
-
test
-
deploy
test
:
stage
:
test
script
:
"
mvn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-B
clean
install
--settings
settings.xml"
deploy
:
stage
:
deploy
script
:
"
mvn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-B
deploy
--settings
settings.xml"
masterJob
:
script
:
"
mvn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-B
clean
install
deploy
--settings
settings.xml"
only
:
-
master
BranchJob
:
script
:
"
mvn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-B
clean
install
--settings
settings.xml"
except
:
-
master
\ No newline at end of file
pom.xml
View file @
b5ec28b9
...
...
@@ -45,7 +45,7 @@
<jscience.version>
4.3.1
</jscience.version>
<!-- .. Plugins ....................................................... -->
<monticore.plugin>
4.5.3
</monticore.plugin>
<monticore.plugin>
4.5.3
.1
</monticore.plugin>
<assembly.plugin>
2.5.4
</assembly.plugin>
<compiler.plugin>
3.3
</compiler.plugin>
<source.plugin>
2.4
</source.plugin>
...
...
settings.xml
View file @
b5ec28b9
<?xml version="1.0" encoding="UTF-8"?>
<!--
******************************************************************************
MontiCAR Modeling Family, www.se-rwth.de
Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
All rights reserved.
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this project. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************
-->
<settings
xmlns=
"http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
...
...
@@ -31,19 +9,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 +29,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 +47,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 +58,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