Skip to content

Commit

Permalink
Bumped version.
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed May 2, 2017
1 parent cab3828 commit 7280fa4
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 38 deletions.
109 changes: 105 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,36 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.sinistral</groupId>
<artifactId>proteus-core</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0</version>
<name>proteus core</name>
<description>Proteus is an extremely light, fast, and flexible Java REST API framework built atop Undertow.</description>
<url>http://proteus.sinistral.io</url>
<packaging>jar</packaging>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<developers>
<developer>
<name>Joshua Lee Bauer</name>
<email>[email protected]</email>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/noboomu/proteus.git</connection>
<developerConnection>scm:git:ssh://github.com:noboomu/proteus.git</developerConnection>
<url>http://github.com/noboomu/proteus/tree/master</url>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<resources>
<resource>
Expand All @@ -24,6 +53,74 @@
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>gpg</executable>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
Expand Down Expand Up @@ -236,7 +333,11 @@
<version>0.9.9-SNAPSHOT</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -503,32 +503,7 @@ else if (hasFromString)

protected Class<?> controllerClass;


// public static void main(String[] args)
// {
// try
// {
// RouteGenerator generator = new RouteGenerator("io.sinistral.proteus.controllers.handlers","RouteHandlers");
//
// Set<Class<?>> classes = getApiClasses("io.sinistral.proteus.controllers",null);
//
// generator.generateRoutes(classes);
//
// StringBuilder sb = new StringBuilder();
//
// //generator.getRestRoutes().stream().forEachOrdered( r -> sb.append(r.toString() + "\n"));
//
// System.out.println(sb.toString());
//
// System.out.println("\n" + generator.sourceString);
//
// } catch (Exception e)
// {
// log.error(e.getMessage(),e);
// }
//
// }


public HandlerGenerator(String packageName, Class<?> controllerClass)
{
this.packageName = packageName;
Expand Down Expand Up @@ -673,10 +648,8 @@ else if(t.equals(HttpServerExchange.class) || t.equals(ServerRequest.class))


}

TypeHandler handler = TypeHandler.forType(t);

System.out.println("handler: " + handler);



return true;

Expand Down Expand Up @@ -938,12 +911,10 @@ else if (t.equals(TypeHandler.OptionalListFromStringType) || t.equals(TypeHandle

Class<?> erasedType = (Class<?>)extractErasedType(type);

//System.out.println("optionalist: erasedType: " + erasedType + " type: " + type + " pType: " + pType);


methodBuilder.addStatement(t.statement, pType, p.getName(), p.getName(), erasedType);

//TypeHandler.addStatement(methodBuilder,p);
}
}
else
{
TypeHandler.addStatement(methodBuilder, p);
Expand Down

0 comments on commit 7280fa4

Please sign in to comment.