Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend maven module #2491

Merged
merged 1 commit into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ private GeneratorAction() {}
public static final String USER_AND_AUTHORITY_ENTITIES_MYSQL = "user-and-authority-entities-mysql";
public static final String USER_AND_AUTHORITY_ENTITIES_MARIADB = "user-and-authority-entities-mariadb";

public static final String FRONTEND_MAVEN_PLUGIN = "frontend-maven-plugin";

public static final String SPRINGBOOT_TOMCAT = "springboot-tomcat";
public static final String SPRINGBOOT_UNDERTOW = "springboot-undertow";
public static final String SPRINGBOOT_ACTUATOR = "springboot-actuator";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
package tech.jhipster.lite.generator.server.javatool.frontendmaven.application;

import org.springframework.stereotype.Service;
import tech.jhipster.lite.generator.project.domain.Project;
import tech.jhipster.lite.generator.server.javatool.frontendmaven.domain.FrontendMavenService;
import tech.jhipster.lite.generator.server.javatool.frontendmaven.domain.FrontendMavenModuleFactory;
import tech.jhipster.lite.module.domain.JHipsterModule;
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;

@Service
public class FrontendMavenApplicationService {

private final FrontendMavenService frontendMavenService;
private final FrontendMavenModuleFactory factory;

public FrontendMavenApplicationService(FrontendMavenService frontendMavenService) {
this.frontendMavenService = frontendMavenService;
public FrontendMavenApplicationService() {
factory = new FrontendMavenModuleFactory();
}

public void addFrontendMavenPlugin(Project project) {
frontendMavenService.addFrontendMavenPlugin(project);
public JHipsterModule buildModule(JHipsterModuleProperties properties) {
return factory.buildModule(properties);
}
}

This file was deleted.

Loading