Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Use uk.gov.justice.maven groupId
Browse files Browse the repository at this point in the history
This serves two purposes:

1. Correctly groups artifacts instead of leaving them as top level.
2. Works around this bug: mojohaus/versions#5
  • Loading branch information
purple52 committed Mar 15, 2016
1 parent cf63f09 commit 2c4e59f
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion io-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>raml-maven</artifactId>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
Expand All @@ -7,6 +8,7 @@
<version>1.6.4</version>
</parent>

<groupId>uk.gov.justice.maven</groupId>
<artifactId>raml-maven</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion raml-generator-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>raml-maven</artifactId>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
9 changes: 5 additions & 4 deletions raml-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<artifactId>raml-maven</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -30,17 +31,17 @@

<dependencies>
<dependency>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<artifactId>raml-generator-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<artifactId>io-utils</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<artifactId>raml-parser</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion raml-maven-plugin/src/test/resources/generate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<plugins>
<plugin>
<artifactId>raml-maven-plugin</artifactId>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<configuration>
<generatorName>uk.gov.justice.raml.jaxrs.maven.DummyGenerator</generatorName>
<basePackageName>uk.gov.justice.api</basePackageName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<plugins>
<plugin>
<artifactId>raml-maven-plugin</artifactId>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<configuration>
<generatorName>uk.gov.justice.raml.jaxrs.maven.DummyGenerator</generatorName>
<basePackageName>uk.gov.justice.api</basePackageName>
Expand Down
2 changes: 1 addition & 1 deletion raml-maven-plugin/src/test/resources/invalid-raml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<plugins>
<plugin>
<artifactId>raml-maven-plugin</artifactId>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<configuration>
<generatorName>uk.gov.justice.raml.jaxrs.maven.DummyGenerator</generatorName>
<basePackageName>uk.gov.justice.api</basePackageName>
Expand Down
2 changes: 1 addition & 1 deletion raml-maven-plugin/src/test/resources/non-raml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<plugins>
<plugin>
<artifactId>raml-maven-plugin</artifactId>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<configuration>
<generatorName>uk.gov.justice.raml.jaxrs.maven.DummyGenerator</generatorName>
<basePackageName>uk.gov.justice.api</basePackageName>
Expand Down
2 changes: 1 addition & 1 deletion raml-parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<parent>
<artifactId>raml-maven</artifactId>
<groupId>uk.gov.justice</groupId>
<groupId>uk.gov.justice.maven</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>

Expand Down

0 comments on commit 2c4e59f

Please sign in to comment.