Skip to content

Commit

Permalink
Split into parent and plugin modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Jan 10, 2018
1 parent e056fc3 commit 3d30c4b
Show file tree
Hide file tree
Showing 53 changed files with 150 additions and 100 deletions.
143 changes: 143 additions & 0 deletions editorconfig-maven-plugin/pom.xml
@@ -0,0 +1,143 @@
<!--
Copyright (c) 2017 EditorConfig Maven Plugin
project 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.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ec4j.maven</groupId>
<artifactId>editorconfig-maven-plugin-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
</parent>

<artifactId>editorconfig-maven-plugin</artifactId>
<packaging>takari-maven-plugin</packaging>

<name>EditorConfig Maven Plugin</name>
<description>A Maven plugin for checking whether project files comply with format rules defined in .editorconfig
files and eventually also for fixing the violations</description>

<dependencies>

<dependency>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-plugin-testing</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-plugin-integration-testing</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.ec4j.core</groupId>
<artifactId>ec4j-core</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<reporting>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>project-team</report>
<report>cim</report>
<report>issue-tracking</report>
<report>license</report>
<report>scm</report>
</reports>
</reportSet>
</reportSets>
</plugin>

</plugins>
</reporting>

<profiles>

<profile>
<id>release</id>

<build>
<plugins>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<configuration>
<message>Creating site for ${project.artifactId} ${project.version}</message>
<server>github</server>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>

</plugins>
</build>

</profile>
</profiles>

</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
107 changes: 7 additions & 100 deletions pom.xml
Expand Up @@ -20,13 +20,11 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.ec4j.maven</groupId>
<artifactId>editorconfig-maven-plugin</artifactId>
<artifactId>editorconfig-maven-plugin-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<packaging>takari-maven-plugin</packaging>
<packaging>pom</packaging>

<name>EditorConfig Maven Plugin</name>
<description>A Maven plugin for checking whether project files comply with format rules defined in .editorconfig
files and eventually also for fixing the violations</description>
<name>EditorConfig Maven Plugin Parent</name>
<url>https://github.com/ec4j/editorconfig-maven-plugin</url>
<inceptionYear>2017</inceptionYear>
<licenses>
Expand Down Expand Up @@ -74,6 +72,10 @@
</site> -->
</distributionManagement>

<modules>
<module>editorconfig-maven-plugin</module>
</modules>

<properties>

<!-- Dependency versions in alphabectic order -->
Expand Down Expand Up @@ -223,57 +225,6 @@
</dependencies>
</dependencyManagement>

<dependencies>

<dependency>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-plugin-testing</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-plugin-integration-testing</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.ec4j.core</groupId>
<artifactId>ec4j-core</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -692,33 +643,6 @@ limitations under the License.</inlineHeader>
</plugins>
</build>

<reporting>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>project-team</report>
<report>cim</report>
<report>issue-tracking</report>
<report>license</report>
<report>scm</report>
</reports>
</reportSet>
</reportSets>
</plugin>

</plugins>
</reporting>

<profiles>

<profile>
Expand All @@ -732,23 +656,6 @@ limitations under the License.</inlineHeader>
<build>
<plugins>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<configuration>
<message>Creating site for ${project.artifactId} ${project.version}</message>
<server>github</server>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down

0 comments on commit 3d30c4b

Please sign in to comment.