diff options
Diffstat (limited to 'sandbox/kgoodson/SourceExplore')
-rw-r--r-- | sandbox/kgoodson/SourceExplore/pom.xml | 194 | ||||
-rw-r--r-- | sandbox/kgoodson/SourceExplore/src/main/java/sourcehash/HashSPISource.java (renamed from sandbox/kgoodson/SourceExplore/src/main/java/HashSPISource.java) | 2 | ||||
-rw-r--r-- | sandbox/kgoodson/SourceExplore/src/main/java/sourcehash/package.html | 16 | ||||
-rw-r--r-- | sandbox/kgoodson/SourceExplore/src/main/resources/sub_dependencies.dot | 22 |
4 files changed, 234 insertions, 0 deletions
diff --git a/sandbox/kgoodson/SourceExplore/pom.xml b/sandbox/kgoodson/SourceExplore/pom.xml new file mode 100644 index 0000000000..f08c1a11bb --- /dev/null +++ b/sandbox/kgoodson/SourceExplore/pom.xml @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-sca</artifactId> + <version>2.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>source-explorer</artifactId> + <name>Source Explorer</name> + + <repositories> + + <repository> + <id>apache.incubator</id> + <url>http://people.apache.org/repo/m2-incubating-repository</url> + </repository> + </repositories> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.6.1</version> + <configuration> + + <tags> + <tag> + <name>tuscany.spi</name> + <!-- spi tag for all places --> + <placement>a</placement> + <head>Tuscany SPI</head> + </tag> + </tags> + + </configuration> + </plugin> + </plugins> + + </reporting> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jaxb2-maven-plugin</artifactId> + <version>1.3</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy</id> + <phase>generate-sources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.1</version> + <type>jar</type> + </artifactItem> + </artifactItems> + <outputDirectory>${project.build.directory}/endorsed</outputDirectory> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>true</overWriteSnapshots> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <compilerArgument>-Djava.endorsed.dirs=target/endorsed</compilerArgument> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.0</version> + <executions> + + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>target/jaxb-source</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.jvnet.jaxb2.maven2</groupId> + <artifactId>maven-jaxb2-plugin</artifactId> + <version>0.7.1</version> + <executions> + <execution> + <id>generate-jaxb</id> + <phase>generate-sources</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <configuration> + <generatePackage>org.apache.tuscany.SourceExplore</generatePackage> + <generateDirectory>${project.build.directory}/jaxb-source</generateDirectory> + <schemaDirectory>${basedir}/src/main/resources</schemaDirectory> + <schemaIncludes> + <include>projects.xsd</include> + </schemaIncludes> + </configuration> + </plugin> + + </plugins> + <finalName>${artifactId}</finalName> + </build> + + + <dependencies> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.5</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>rome</groupId> + <artifactId>rome</artifactId> + <version>1.0</version> + </dependency> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.0</version> + </dependency> + + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + <version>2.0.3</version> + </dependency> + <dependency> + <groupId>org.jvnet.jaxb2_commons</groupId> + <artifactId>runtime</artifactId> + <version>0.4.1</version> + </dependency> + <dependency> + <groupId>org.jvnet.jaxb2_commons</groupId> + <artifactId>testing</artifactId> + <version>0.4.1</version> + <scope>test</scope> + </dependency> + + + </dependencies> +</project> diff --git a/sandbox/kgoodson/SourceExplore/src/main/java/HashSPISource.java b/sandbox/kgoodson/SourceExplore/src/main/java/sourcehash/HashSPISource.java index 0567942f99..6ac7067e46 100644 --- a/sandbox/kgoodson/SourceExplore/src/main/java/HashSPISource.java +++ b/sandbox/kgoodson/SourceExplore/src/main/java/sourcehash/HashSPISource.java @@ -1,3 +1,5 @@ +package sourcehash; + import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; diff --git a/sandbox/kgoodson/SourceExplore/src/main/java/sourcehash/package.html b/sandbox/kgoodson/SourceExplore/src/main/java/sourcehash/package.html new file mode 100644 index 0000000000..57353774be --- /dev/null +++ b/sandbox/kgoodson/SourceExplore/src/main/java/sourcehash/package.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> +<head> +</head> +<body bgcolor="white"> + +Produces and XML file containing md5sums for files in a file system hierarchy. + +More description blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah + blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. + + +@tuscany.spi + +</body> +</html>
\ No newline at end of file diff --git a/sandbox/kgoodson/SourceExplore/src/main/resources/sub_dependencies.dot b/sandbox/kgoodson/SourceExplore/src/main/resources/sub_dependencies.dot new file mode 100644 index 0000000000..a8e9e90fac --- /dev/null +++ b/sandbox/kgoodson/SourceExplore/src/main/resources/sub_dependencies.dot @@ -0,0 +1,22 @@ +digraph Dependencies {
+
+ rankdir=LR;
+
+
+
+ "tuscany-assembly" -> "tuscany-monitor"
+ "tuscany-assembly" -> "tuscany-extensibility"
+
+ "tuscany-assembly-xml" ->"tuscany-assembly"
+ "tuscany-assembly-xml" ->"tuscany-contribution"
+
+
+
+
+ "tuscany-common-java" -> "tuscany-sca-api"
+
+ "tuscany-contribution" ->"tuscany-assembly"
+ "tuscany-contribution" ->"tuscany-common"
+ "tuscany-contribution" -> "tuscany-common-java"
+
+}
\ No newline at end of file |