Skip to content

Commit

Permalink
Fix maven-enforcer-plugin issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Anstis committed Oct 31, 2019
1 parent 461bdb7 commit e17d213
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 78 deletions.
31 changes: 0 additions & 31 deletions kie-wb-common-dmn/kie-wb-common-dmn-backend/pom.xml
Expand Up @@ -85,26 +85,6 @@
<artifactId>kie-wb-common-dmn-api</artifactId>
</dependency>

<dependency>
<groupId>org.kie.workbench.forms</groupId>
<artifactId>kie-wb-common-forms-api</artifactId>
</dependency>

<dependency>
<groupId>org.kie.workbench.forms</groupId>
<artifactId>kie-wb-common-dynamic-forms-api</artifactId>
</dependency>

<dependency>
<groupId>org.kie.workbench.forms</groupId>
<artifactId>kie-wb-common-dynamic-forms-backend</artifactId>
</dependency>

<dependency>
<groupId>org.kie.workbench.forms</groupId>
<artifactId>kie-wb-common-forms-adf-base</artifactId>
</dependency>

<dependency>
<groupId>org.jboss.errai</groupId>
<artifactId>errai-bus</artifactId>
Expand Down Expand Up @@ -172,17 +152,6 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.jboss.errai</groupId>
<artifactId>errai-javax-enterprise</artifactId>
<scope>provided</scope>
</dependency>

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

<!-- TODO {manstis} This is temporary until DMNMarshaller is fully implemented -->
<dependency>
<groupId>org.jboss.errai</groupId>
Expand Down
33 changes: 0 additions & 33 deletions kie-wb-common-dmn/kie-wb-common-dmn-webapp-kogito-common/pom.xml
Expand Up @@ -36,12 +36,6 @@

<dependencies>

<!--Logs-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- MANSTIS - EVERYTHING BELOW THIS HAS BEEN _SANITISED_! -->

<!-- Errai -->
Expand Down Expand Up @@ -71,10 +65,6 @@
<groupId>org.kie.workbench.stunner</groupId>
<artifactId>kie-wb-common-stunner-client-api</artifactId>
</dependency>
<dependency>
<groupId>org.kie.workbench.stunner</groupId>
<artifactId>kie-wb-common-stunner-backend-api</artifactId>
</dependency>
<dependency>
<groupId>org.kie.workbench.stunner</groupId>
<artifactId>kie-wb-common-stunner-core-common</artifactId>
Expand Down Expand Up @@ -141,20 +131,10 @@
<groupId>org.uberfire</groupId>
<artifactId>uberfire-api</artifactId>
</dependency>
<dependency>
<groupId>org.uberfire</groupId>
<artifactId>uberfire-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.uberfire</groupId>
<artifactId>uberfire-client-api</artifactId>
</dependency>
<dependency>
<groupId>org.uberfire</groupId>
<artifactId>uberfire-client-backend</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.uberfire</groupId>
<artifactId>uberfire-workbench-client-views-patternfly</artifactId>
Expand All @@ -167,13 +147,6 @@
<artifactId>elemental2-promise</artifactId>
</dependency>

<!-- Needed for the ACE XML Editor -->
<dependency>
<groupId>org.uberfire</groupId>
<artifactId>uberfire-widgets-core-client</artifactId>
<scope>provided</scope>
</dependency>

<!-- UberFire IO -->
<dependency>
<groupId>org.uberfire</groupId>
Expand Down Expand Up @@ -234,12 +207,6 @@
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.gwtbootstrap3</groupId>
Expand Down
Expand Up @@ -29,9 +29,7 @@
<set-property name="user.agent" value="gecko1_8,safari"/>

<!-- Specify the paths for translatable code -->
<source path="js">
<exclude name="jre"/>
</source>
<source path="js"/>
<source path="mapper"/>

<super-source path="jre"/>
Expand Down
Expand Up @@ -99,7 +99,7 @@ public String toString() {
}

/**
* See {@link javax.xml.namespace.QName#equals(Object)}
* See {@link QName#equals(Object)}
*/
@Override
public boolean equals(final Object o) {
Expand All @@ -117,7 +117,7 @@ public boolean equals(final Object o) {
}

/**
* See {@link javax.xml.namespace.QName#hashCode()}
* See {@link QName#hashCode()}
*/
@Override
public int hashCode() {
Expand All @@ -134,16 +134,16 @@ public static QName valueOf(final String qNameAsString) {

// "" local part is valid to preserve compatible behavior with QName 1.0
if (qNameAsString.length() == 0) {
return new javax.xml.namespace.QName(XMLConstants.NULL_NS_URI,
qNameAsString,
XMLConstants.DEFAULT_NS_PREFIX);
return new QName(XMLConstants.NULL_NS_URI,
qNameAsString,
XMLConstants.DEFAULT_NS_PREFIX);
}

// local part only?
if (qNameAsString.charAt(0) != '{') {
return new javax.xml.namespace.QName(XMLConstants.NULL_NS_URI,
qNameAsString,
XMLConstants.DEFAULT_NS_PREFIX);
return new QName(XMLConstants.NULL_NS_URI,
qNameAsString,
XMLConstants.DEFAULT_NS_PREFIX);
}

// Namespace URI improperly specified?
Expand All @@ -164,8 +164,8 @@ public static QName valueOf(final String qNameAsString) {
+ qNameAsString
+ "\", missing closing \"}\"");
}
return new javax.xml.namespace.QName(qNameAsString.substring(1, endOfNamespaceURI),
qNameAsString.substring(endOfNamespaceURI + 1),
XMLConstants.DEFAULT_NS_PREFIX);
return new QName(qNameAsString.substring(1, endOfNamespaceURI),
qNameAsString.substring(endOfNamespaceURI + 1),
XMLConstants.DEFAULT_NS_PREFIX);
}
}

0 comments on commit e17d213

Please sign in to comment.