Skip to content

Commit

Permalink
Frontend maven module
Browse files Browse the repository at this point in the history
  • Loading branch information
DamnClin committed Jul 10, 2022
1 parent d5d7a33 commit 88ef50f
Show file tree
Hide file tree
Showing 20 changed files with 430 additions and 532 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,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

0 comments on commit 88ef50f

Please sign in to comment.