Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Replace srcdeps-maven-plugin with srcdeps core extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Nov 29, 2016
1 parent defae6f commit 37eeacd
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 39 deletions.
35 changes: 35 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
and other contributors as indicated by the @author tags.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
Since version 1.0.0, srcdeps is not a Maven plugin but a Maven Core Extension that needs to be declared here
in .mvn/extensions.xml. Note that Core Extensions exist only since Maven 3.3.1.
-->
<extensions>
<extension>
<groupId>org.srcdeps.mvn</groupId>
<artifactId>srcdeps-maven-local-repository</artifactId>
<version>2.1.0</version><!-- @srcdeps.version@ -->
</extension>
<extension>
<groupId>org.srcdeps.mvn</groupId>
<artifactId>srcdeps-maven-enforcer</artifactId>
<version>2.1.0</version><!-- @srcdeps.version@ -->
</extension>
</extensions>
57 changes: 57 additions & 0 deletions .mvn/srcdeps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
# and other contributors as indicated by the @author tags.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# `.mvn/srcdeps.yaml` - the srcdeps configuration file
#
# The full srcdeps.yaml reference can be found under https://github.com/srcdeps/srcdeps-core/tree/master/doc/srcdeps.yaml
#
# Note that the options set here can be overriden on the command line,
# see https://github.com/srcdeps/srcdeps-maven/blob/master/README.adoc#override-mvnsrcdepsyaml-options-on-the-command-line


configModelVersion: 1.1

repositories:

org.hawkular:
selectors:
- org.hawkular
urls:
- git:https://github.com/hawkular/hawkular-parent-pom.git
buildArguments:
- -Dcheckstyle.skip=true
- -Dlicense.skip=true
- -Drevapi.skip=true

org.hawkular.commons:
selectors:
- org.hawkular.commons
urls:
- git:https://github.com/hawkular/hawkular-commons.git
buildArguments:
- -Dcheckstyle.skip=true
- -Dlicense.skip=true
- -Drevapi.skip=true

org.umlg:
selectors:
- org.umlg
urls:
- git:https://github.com/metlos/sqlg.git
buildArguments:
- -Dsqlg.version=1.3.2-SRC-revision-b8cbea0f96fcbbd5150e7a4f9c469850b9973331
- -Dtinkerpop.version=3.2.3
41 changes: 2 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
<version.com.github.fge>2.2.6</version.com.github.fge>
<version.com.thinkaurelius.titan>1.1.0-SNAPSHOT</version.com.thinkaurelius.titan>
<version.com.tinkerpop.gremlin>2.6.0</version.com.tinkerpop.gremlin>
<!-- keep in sync with tinkerpop.version in .mvn/srcdeps.yaml -->
<version.org.apache.tinkerpop>3.2.3</version.org.apache.tinkerpop>
<!-- keep in sync with sqlg.version in .mvn/srcdeps.yaml -->
<version.org.umlg>1.3.2-SRC-revision-b8cbea0f96fcbbd5150e7a4f9c469850b9973331</version.org.umlg>

<version.org.antlr>4.5.3</version.org.antlr>
Expand Down Expand Up @@ -260,49 +262,10 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.l2x6.maven.srcdeps</groupId>
<artifactId>srcdeps-maven-plugin</artifactId>
<version>${version.srcdeps-maven-plugin}</version>
<extensions>true</extensions>
<configuration>
<repositories>
<repository>
<id>sqlg</id>
<selectors>
<selector>org.umlg</selector>
</selectors>
<url>scm:git:https://github.com/metlos/sqlg.git</url>
<buildArgs>
<!-- the tests take a loooong time -->
<buildArg>-DskipTests</buildArg>
<buildArg>-Dsqlg.version=${version.org.umlg}</buildArg>
<buildArg>-Dtinkerpop.version=${version.org.apache.tinkerpop}</buildArg>
</buildArgs>
</repository>
</repositories>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.l2x6.maven.srcdeps</groupId>
<artifactId>srcdeps-maven-plugin</artifactId>
<version>${version.srcdeps-maven-plugin}</version>
<extensions>true</extensions>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>api-check</id>
<activation>
Expand Down

0 comments on commit 37eeacd

Please sign in to comment.