Skip to content

Commit 4250e52

Browse files
committed
Issue #14.
1 parent e29a936 commit 4250e52

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

plugin/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/target
2+
/dependency-reduced-pom.xml

plugin/pom.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<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">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>jsonix-schema-compiler-plugin</artifactId>
4+
<packaging>jar</packaging>
5+
<name>Jsonix Schema Compiler</name>
6+
<parent>
7+
<groupId>org.hisrc.jsonix</groupId>
8+
<artifactId>jsonix-schema-compiler-project</artifactId>
9+
<version>2.3.1-SNAPSHOT</version>
10+
</parent>
11+
<dependencies>
12+
<dependency>
13+
<groupId>${project.groupId}</groupId>
14+
<artifactId>jsonix-schema-compiler</artifactId>
15+
</dependency>
16+
</dependencies>
17+
<build>
18+
<plugins>
19+
<plugin>
20+
<groupId>org.apache.maven.plugins</groupId>
21+
<artifactId>maven-shade-plugin</artifactId>
22+
<executions>
23+
<execution>
24+
<phase>package</phase>
25+
<goals>
26+
<goal>shade</goal>
27+
</goals>
28+
<configuration>
29+
<createDependencyReducedPom>true</createDependencyReducedPom>
30+
<keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
31+
<transformers>
32+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
33+
</transformers>
34+
</configuration>
35+
</execution>
36+
</executions>
37+
</plugin>
38+
<plugin>
39+
<groupId>org.apache.maven.plugins</groupId>
40+
<artifactId>maven-deploy-plugin</artifactId>
41+
<configuration>
42+
<skip>true</skip>
43+
</configuration>
44+
</plugin>
45+
</plugins>
46+
</build>
47+
</project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package org.hisrc.jsonix.xjc.plugin;
2+
3+
public class Dummy {}

0 commit comments

Comments
 (0)