Skip to content

Commit

Permalink
GIT-1: Move Git module from XWiki Platform
Browse files Browse the repository at this point in the history
  • Loading branch information
vmassol committed Jun 24, 2017
1 parent 6fce9b6 commit b29a007
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 9 deletions.
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Maven Build
target
target-eclipse

# Gradle Build
build
.gradle

# IDEA
*.iml
*.ipr
*.iws
.idea
atlassian-ide-plugin.xml

# Eclipse
.classpath
.project
.settings
.checkstyle
.fbprefs
bin
# Automatically generated by WTP
**/src/main/java/META-INF/
**/src/test/java/META-INF/
**/src/META-INF/
#PyDev
.pydevproject

# NetBeans
nbproject

# Other
*.log.*
*.log
.sonar-ide.properties
.clover
*~
28 changes: 28 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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 2.1 of
* the License, or (at your option) any later version.
*
* This software 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 software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

// It's assumed that Jenkins has been configured to implicitly load the vars/xwikiModule.groovy library which exposes
// the "xwikiModule" global function/DSL.
// Note that the version used is the one defined in Jenkins but it can be overridden as follows:
// @Library("XWiki@<branch, tag, sha1>") _
// See https://github.com/jenkinsci/workflow-cps-global-lib-plugin for details.

xwikiModule {
}
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Git API

Make it easy to run Git commands in Java and from wiki pages.

* Project Lead: [Vincent Massol](http://www.xwiki.org/xwiki/bin/view/XWiki/VincentMassol)
* [Documentation & Download](http://extensions.xwiki.org/xwiki/bin/view/Extension/Git%20Module)
* [Issue Tracker](http://jira.xwiki.org/browse/GIT)
* Communication: [Mailing List](http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists), [IRC](http://dev.xwiki.org/xwiki/bin/view/Community/IRC)
* [Development Practices](http://dev.xwiki.org)
* Minimal XWiki version supported: XWiki 8.4
* License: LGPL 2.1
* Translations: N/A
* Sonar Dashboard: N/A
* Continuous Integration Status: [![Build Status](http://ci.xwiki.org/job/XWiki%20Contrib/job/git-api/job/master/badge/icon)](http://ci.xwiki.org/job/XWiki%20Contrib/job/git-api/job/master/)
34 changes: 25 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,38 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-core</artifactId>
<version>9.6-SNAPSHOT</version>
<groupId>org.xwiki.contrib</groupId>
<artifactId>parent-platform</artifactId>
<version>8.4-8</version>
</parent>
<artifactId>xwiki-platform-git</artifactId>
<name>XWiki Platform - Git</name>
<artifactId>api-git</artifactId>
<version>9.6-SNAPSHOT</version>
<name>Git API</name>
<packaging>jar</packaging>
<description>Make it easy to run Git commands in Java and from wiki pages</description>
<properties>
<xwiki.jacoco.instructionRatio>0.87</xwiki.jacoco.instructionRatio>
<!-- Name to display by the Extension Manager -->
<xwiki.extension.name>Git API</xwiki.extension.name>
<!-- Old names of this module used for retro compatibility when resolving dependencies of old extensions -->
<xwiki.extension.features>vincentmassol:git-module</xwiki.extension.features>
<xwiki.extension.features>vincentmassol:git-module,org.xwiki.platform:xwiki-platform-git</xwiki.extension.features>
<xwiki.release.jira.skip>true</xwiki.release.jira.skip>
<xwiki.issueManagement.jira.id>GIT</xwiki.issueManagement.jira.id>
</properties>
<scm>
<connection>scm:git:git://github.com/xwiki-contrib/api-git.git</connection>
<developerConnection>scm:git:[email protected]:xwiki-contrib/api-git.git</developerConnection>
<url>https://github.com/xwiki-contrib/api-git</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>vmassol</id>
<name>Vincent Massol</name>
</developer>
<developer>
<id>xwikidev</id>
<name>XWiki Development Team</name>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>org.xwiki.commons</groupId>
Expand All @@ -63,7 +80,6 @@
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>

<!-- Test Dependencies -->
<dependency>
<groupId>commons-io</groupId>
Expand Down

0 comments on commit b29a007

Please sign in to comment.