Skip to content

Commit

Permalink
Remove fabric dependencies that aren't really needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gashcrumb committed Aug 28, 2013
1 parent 807b92e commit 7dcbe76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 47 deletions.
3 changes: 3 additions & 0 deletions hawtio-json-schema-generator/pom.xml
Expand Up @@ -15,7 +15,10 @@

<modules>
<module>hawtio-json-schema-generator-plugin</module>
<!--
Not really a test but a POC, not required for build...
<module>hawtio-json-schema-generator-test</module>
-->
</modules>


Expand Down
47 changes: 0 additions & 47 deletions hawtio-json-schema-mbean/pom.xml
Expand Up @@ -40,30 +40,12 @@
<version>${project.version}</version>
</dependency>

<!--
Hmm, brings in some crazy imports including sun.misc...
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections-version}</version>
</dependency>
-->

<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.CR3</version>
</dependency>

<!--
Doesn't seem fully baked for jackson 2.1.x really
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jsonSchema</artifactId>
<version>${jackson-module-jsonSchema-version}</version>
</dependency>
-->

<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
Expand All @@ -88,35 +70,6 @@
<version>${jackson-version}</version>
</dependency>

<dependency>
<groupId>org.fusesource.fabric</groupId>
<artifactId>fabric-core</artifactId>
<version>${fabric-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.fusesource.fabric</groupId>
<artifactId>fabric-api</artifactId>
<version>${fabric-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.fusesource.fabric</groupId>
<artifactId>fabric-core-agent-ssh</artifactId>
<version>${fabric-version}</version>
<scope>test</scope>
</dependency>


<!--
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>${osgi-version}</version>
<scope>provided</scope>
</dependency>
-->

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
Expand Up @@ -16,12 +16,15 @@ public void testLookupSchema() throws Exception {
String result = lookup.getSchemaForClass("java.lang.String");
}

/* Requires bringing fabric into the classpath, so let's omit this one
@Test
@Ignore
public void testLookupMoreInterestingSchema() throws Exception {
SchemaLookup lookup = createSchemaLookup();
String result = lookup.getSchemaForClass("org.fusesource.fabric.service.ssh.CreateSshContainerOptions");
System.out.println("testLookupMoreInterestingSchema - Got: \n\n" + result + "\n\n");
}
*/

@Test
public void testFailedLookup() throws Exception {
Expand Down

0 comments on commit 7dcbe76

Please sign in to comment.