Skip to content

Commit 53e5402

Browse files
committed
Update blaze build
1 parent ade0e55 commit 53e5402

4 files changed

Lines changed: 172 additions & 4 deletions

File tree

.blaze/blaze.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ blaze.dependencies = [
33
"com.fizzed:blaze-http",
44
"com.fizzed:blaze-maven",
55
"com.fizzed:blaze-ssh",
6-
"com.fizzed:blaze-public-project:3.5.0"
6+
"com.fizzed:blaze-public-project:3.7.0"
77
]

.blaze/blaze.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import com.fizzed.blaze.Task;
12
import com.fizzed.blaze.maven.MavenClasspath;
23
import com.fizzed.blaze.maven.MavenProject;
34
import com.fizzed.blaze.maven.MavenProjects;
@@ -29,7 +30,7 @@ protected void projectSetup() throws Exception {
2930
}
3031

3132
@Override
32-
public void projectNuke() throws Exception {
33+
protected void projectNuke() throws Exception {
3334
super.projectNuke();
3435
rm(resourcesDir).recursive().force().verbose().run();
3536
}
@@ -90,6 +91,7 @@ protected void downloadNatsServer() throws Exception {
9091

9192
final MavenProject mavenProject = MavenProjects.mavenProject().run();
9293

94+
@Task(group="project")
9395
public void demo_ninja() throws Exception {
9496
// (re)compiles code and we get the classpath in one step
9597
final MavenClasspath classpath = mavenClasspath(this.mavenProject, "runtime", "compile", "nats-ninja-demo")
@@ -101,7 +103,8 @@ public void demo_ninja() throws Exception {
101103
.run();
102104
}
103105

104-
public void release() throws Exception {
106+
@Override
107+
protected void projectRelease() throws Exception {
105108
this.mvnCommandsWithJdk(this.minimumSupportedJavaVersion(),
106109
"clean", "-DskipTests", "-Darguments=-DskipTests", "release:prepare", "release:perform");
107110
}

.blaze/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<dependency>
7979
<groupId>com.fizzed</groupId>
8080
<artifactId>blaze-public-project</artifactId>
81-
<version>3.5.0</version>
81+
<version>3.7.0</version>
8282
</dependency>
8383
</dependencies>
8484
</project>

pom.xml

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
<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">
2+
3+
<modelVersion>4.0.0</modelVersion>
4+
<artifactId>nats-plus</artifactId>
5+
<version>0.0.9-SNAPSHOT</version>
6+
<name>nats-plus</name>
7+
<packaging>pom</packaging>
8+
9+
<parent>
10+
<groupId>com.fizzed</groupId>
11+
<artifactId>maven-parent</artifactId>
12+
<version>3.4.0</version>
13+
</parent>
14+
15+
<scm>
16+
<url>https://github.com/fizzed/nats-plus</url>
17+
<connection>scm:git:git@github.com:fizzed/nats-plus.git</connection>
18+
<tag>HEAD</tag>
19+
</scm>
20+
21+
<properties>
22+
<java.version>1.8</java.version>
23+
<ninja.version>7.0.0</ninja.version>
24+
<ninja-undertow.version>6.1.0-undertow1</ninja-undertow.version>
25+
<rocker.version>0.23.0</rocker.version>
26+
<crux.version>1.0.33</crux.version>
27+
<stork.version>2.7.0</stork.version>
28+
<jackson.version>2.9.1</jackson.version>
29+
<slf4j.version>2.0.13</slf4j.version>
30+
<nats.java.version>2.20.5</nats.java.version>
31+
</properties>
32+
33+
<modules>
34+
<module>nats-core</module>
35+
<module>nats-ninja-module</module>
36+
<module>nats-ninja-demo</module>
37+
<module>nats-bom</module>
38+
</modules>
39+
40+
<dependencyManagement>
41+
42+
<dependencies>
43+
44+
<dependency>
45+
<groupId>com.fizzed</groupId>
46+
<artifactId>nats-core</artifactId>
47+
<version>${project.version}</version>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>com.fizzed</groupId>
52+
<artifactId>nats-ninja-module</artifactId>
53+
<version>${project.version}</version>
54+
</dependency>
55+
56+
<dependency>
57+
<groupId>io.nats</groupId>
58+
<artifactId>jnats</artifactId>
59+
<version>${nats.java.version}</version>
60+
</dependency>
61+
62+
<dependency>
63+
<groupId>org.slf4j</groupId>
64+
<artifactId>slf4j-api</artifactId>
65+
<version>${slf4j.version}</version>
66+
</dependency>
67+
68+
<!-- only for ninja-module -->
69+
<dependency>
70+
<groupId>org.ninjaframework</groupId>
71+
<artifactId>ninja-core</artifactId>
72+
<version>${ninja.version}</version>
73+
<exclusions>
74+
<exclusion>
75+
<groupId>net.sf.ehcache</groupId>
76+
<artifactId>ehcache-core</artifactId>
77+
</exclusion>
78+
<exclusion>
79+
<groupId>org.freemarker</groupId>
80+
<artifactId>freemarker-gae</artifactId>
81+
</exclusion>
82+
<exclusion>
83+
<groupId>org.hibernate</groupId>
84+
<artifactId>hibernate-entitymanager</artifactId>
85+
</exclusion>
86+
<exclusion>
87+
<groupId>org.hibernate</groupId>
88+
<artifactId>hibernate-c3p0</artifactId>
89+
</exclusion>
90+
<exclusion>
91+
<groupId>com.fasterxml.woodstox</groupId>
92+
<artifactId>woodstox-core</artifactId>
93+
</exclusion>
94+
<exclusion>
95+
<groupId>com.fasterxml.jackson.dataformat</groupId>
96+
<artifactId>jackson-dataformat-xml</artifactId>
97+
</exclusion>
98+
<exclusion>
99+
<groupId>net.spy</groupId>
100+
<artifactId>spymemcached</artifactId>
101+
</exclusion>
102+
</exclusions>
103+
</dependency>
104+
105+
<dependency>
106+
<groupId>org.ninjaframework</groupId>
107+
<artifactId>ninja-standalone</artifactId>
108+
<version>${ninja.version}</version>
109+
</dependency>
110+
111+
<!-- testing -->
112+
113+
<dependency>
114+
<groupId>org.slf4j</groupId>
115+
<artifactId>jul-to-slf4j</artifactId>
116+
<version>${slf4j.version}</version>
117+
</dependency>
118+
119+
<dependency>
120+
<groupId>com.fizzed</groupId>
121+
<artifactId>crux-util</artifactId>
122+
<version>1.0.48</version>
123+
</dependency>
124+
125+
<dependency>
126+
<groupId>com.fizzed</groupId>
127+
<artifactId>jne</artifactId>
128+
<version>4.1.1</version>
129+
</dependency>
130+
131+
<dependency>
132+
<groupId>io.nats</groupId>
133+
<artifactId>jnats-server-runner</artifactId>
134+
<version>2.0.0</version>
135+
</dependency>
136+
137+
<dependency>
138+
<groupId>org.hamcrest</groupId>
139+
<artifactId>hamcrest</artifactId>
140+
<version>2.2</version>
141+
</dependency>
142+
143+
<dependency>
144+
<groupId>org.junit.jupiter</groupId>
145+
<artifactId>junit-jupiter</artifactId>
146+
<version>5.10.3</version>
147+
</dependency>
148+
149+
<dependency>
150+
<groupId>org.mockito</groupId>
151+
<artifactId>mockito-core</artifactId>
152+
<version>5.11.0</version>
153+
</dependency>
154+
155+
<dependency>
156+
<groupId>ch.qos.logback</groupId>
157+
<artifactId>logback-classic</artifactId>
158+
<version>1.5.6</version>
159+
</dependency>
160+
161+
</dependencies>
162+
163+
</dependencyManagement>
164+
165+
</project>

0 commit comments

Comments
 (0)