mirror of
https://github.com/ethauvin/rife2.git
synced 2025-04-30 18:48:13 -07:00
Made standard project operation getters public.
Fixed compilation errors.
This commit is contained in:
parent
24ba0192b2
commit
6d4f69fd1c
3 changed files with 20 additions and 20 deletions
|
@ -348,7 +348,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default clean operation instance
|
* @return the default clean operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected CleanOperation cleanOperation() {
|
public CleanOperation cleanOperation() {
|
||||||
return cleanOperation_;
|
return cleanOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default compile operation instance
|
* @return the default compile operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected CompileOperation compileOperation() {
|
public CompileOperation compileOperation() {
|
||||||
return compileOperation_;
|
return compileOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -368,7 +368,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default download operation instance
|
* @return the default download operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected DownloadOperation downloadOperation() {
|
public DownloadOperation downloadOperation() {
|
||||||
return downloadOperation_;
|
return downloadOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -378,7 +378,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default javadoc operation instance
|
* @return the default javadoc operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected JavadocOperation javadocOperation() {
|
public JavadocOperation javadocOperation() {
|
||||||
return javadocOperation_;
|
return javadocOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default precompile operation instance
|
* @return the default precompile operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected PrecompileOperation precompileOperation() {
|
public PrecompileOperation precompileOperation() {
|
||||||
return precompileOperation_;
|
return precompileOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -398,7 +398,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default jar operation instance
|
* @return the default jar operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected JarOperation jarOperation() {
|
public JarOperation jarOperation() {
|
||||||
return jarOperation_;
|
return jarOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -408,7 +408,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default jar operation instance for sources
|
* @return the default jar operation instance for sources
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected JarOperation jarSourcesOperation() {
|
public JarOperation jarSourcesOperation() {
|
||||||
return jarSourcesOperation_;
|
return jarSourcesOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -418,7 +418,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default jar operation instance for javadoc
|
* @return the default jar operation instance for javadoc
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected JarOperation jarJavadocOperation() {
|
public JarOperation jarJavadocOperation() {
|
||||||
return jarJavadocOperation_;
|
return jarJavadocOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -428,7 +428,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default purge operation instance
|
* @return the default purge operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected PurgeOperation purgeOperation() {
|
public PurgeOperation purgeOperation() {
|
||||||
return purgeOperation_;
|
return purgeOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -438,7 +438,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default run operation instance
|
* @return the default run operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected RunOperation runOperation() {
|
public RunOperation runOperation() {
|
||||||
return runOperation_;
|
return runOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -448,7 +448,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default test operation instance
|
* @return the default test operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected TestOperation testOperation() {
|
public TestOperation testOperation() {
|
||||||
return testOperation_;
|
return testOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -458,7 +458,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default uberjar operation instance
|
* @return the default uberjar operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected UberJarOperation uberJarOperation() {
|
public UberJarOperation uberJarOperation() {
|
||||||
return uberJarOperation_;
|
return uberJarOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -468,7 +468,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default updates operation instance
|
* @return the default updates operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected UpdatesOperation updatesOperation() {
|
public UpdatesOperation updatesOperation() {
|
||||||
return updatesOperation_;
|
return updatesOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -478,7 +478,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default publish operation instance
|
* @return the default publish operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected PublishOperation publishOperation() {
|
public PublishOperation publishOperation() {
|
||||||
return publishOperation_;
|
return publishOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -488,7 +488,7 @@ public class Project extends BuildExecutor {
|
||||||
* @return the default version operation instance
|
* @return the default version operation instance
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
protected VersionOperation versionOperation() {
|
public VersionOperation versionOperation() {
|
||||||
return versionOperation_;
|
return versionOperation_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,6 @@ public class Rife2ProjectBlueprint extends WebProject {
|
||||||
mainClass = packageName + "." + StringUtils.capitalize(projectName) + "Site";
|
mainClass = packageName + "." + StringUtils.capitalize(projectName) + "Site";
|
||||||
version = versionNumber;
|
version = versionNumber;
|
||||||
|
|
||||||
precompiledTemplateTypes = List.of(TemplateType.HTML);
|
|
||||||
|
|
||||||
downloadSources = true;
|
downloadSources = true;
|
||||||
repositories = List.of(MAVEN_CENTRAL, SONATYPE_SNAPSHOTS);
|
repositories = List.of(MAVEN_CENTRAL, SONATYPE_SNAPSHOTS);
|
||||||
scope(compile)
|
scope(compile)
|
||||||
|
@ -50,5 +48,7 @@ public class Rife2ProjectBlueprint extends WebProject {
|
||||||
.include(dependency("org.eclipse.jetty", "jetty-server", version(11,0,14)))
|
.include(dependency("org.eclipse.jetty", "jetty-server", version(11,0,14)))
|
||||||
.include(dependency("org.eclipse.jetty", "jetty-servlet", version(11,0,14)))
|
.include(dependency("org.eclipse.jetty", "jetty-servlet", version(11,0,14)))
|
||||||
.include(dependency("org.slf4j", "slf4j-simple", version(2,0,7)));
|
.include(dependency("org.slf4j", "slf4j-simple", version(2,0,7)));
|
||||||
|
|
||||||
|
precompileOperation().templateTypes(TemplateType.HTML);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -16,13 +16,13 @@ public class {{v projectBuild/}} extends WebProject {
|
||||||
uberJarMainClass = "{{v package/}}.{{v projectMainUber/}}";
|
uberJarMainClass = "{{v package/}}.{{v projectMainUber/}}";
|
||||||
version = version(0,1,0);
|
version = version(0,1,0);
|
||||||
|
|
||||||
precompiledTemplateTypes = List.of(HTML);
|
|
||||||
|
|
||||||
downloadSources = true;
|
downloadSources = true;
|
||||||
repositories = List.of(MAVEN_CENTRAL, RIFE2);
|
repositories = List.of(MAVEN_CENTRAL, RIFE2);
|
||||||
{{v scopes}}{{/v}}{{b scope}} scope({{v name/}}){{v dependencies}}{{/v}};
|
{{v scopes}}{{/v}}{{b scope}} scope({{v name/}}){{v dependencies}}{{/v}};
|
||||||
{{b dependency}}
|
{{b dependency}}
|
||||||
.include(dependency("{{v groupId/}}", "{{v artifactId/}}", version({{v version/}}))){{/b}}{{/b}} }
|
.include(dependency("{{v groupId/}}", "{{v artifactId/}}", version({{v version/}}))){{/b}}{{/b}}
|
||||||
|
precompileOperation().templateTypes(HTML);
|
||||||
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
new {{v projectBuild/}}().start(args);
|
new {{v projectBuild/}}().start(args);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue