<%#
 Copyright 2013-2021 the original author or authors from the BegCode project.

 This file is part of the JHipster project, see https://www.jhipster.tech/
 for more information.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      https://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-%>
<%_ if (position === 'modules') { _%>
    <modules>
        <module><%= dasherizedBaseName %>-core</module>
        <%_ if (applicationTypeMonolith || applicationTypeMicroservice && builtInServices?.includes('idm')) { _%>
        <module><%= dasherizedBaseName %>-system</module>
        <%_ } _%>
        <%_ if (applicationType !== 'commonmodule') { _%>
        <module><%= dasherizedBaseName %>-metadata</module>
        <%_ } _%>
        <%_ if (applicationTypeMonolith || applicationTypeMicroservice && builtInServices?.includes('oss')) { _%>
        <module><%= dasherizedBaseName %>-oss</module>
        <%_ } _%>
        <%_ if (applicationType !== 'commonmodule') { _%>
        <module><%= dasherizedBaseName %>-application</module>
        <%_ } _%>
        <%_ if (applicationTypeMonolith || applicationType === 'commonmodule') { _%>
        <module><%= dasherizedBaseName %>-test</module>
        <%_ } _%>
        <%_ if (applicationTypeMonolith || applicationTypeMicroservice && builtInServices?.includes('log')) { _%>
        <module><%= dasherizedBaseName %>-log</module>
        <%_ } _%>
        <%_ if (applicationTypeMonolith || applicationTypeMicroservice && builtInServices?.includes('report')) { _%>
        <module><%= dasherizedBaseName %>-report</module>
        <%_ } _%>
        <module><%= dasherizedBaseName %><% if (applicationTypeMonolith) { %>-base<% } %>-api</module>
        <!-- jhipster-needle-maven-add-module -->
    </modules>
<%_ } _%>
<%_ if (position === 'maven-compiler-plugin') { _%>
                            <path>
                                <groupId>org.projectlombok</groupId>
                                <artifactId>lombok</artifactId>
                                <version>${lombok.version}</version>
                            </path>
                            <path>
                                <groupId>org.projectlombok</groupId>
                                <artifactId>lombok-mapstruct-binding</artifactId>
                                <version>0.2.0</version>
                            </path>
<%_ } _%>
