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

update querydsl-maven-plugin #3653

Open
hdsuperman opened this issue Dec 25, 2023 · 3 comments
Open

update querydsl-maven-plugin #3653

hdsuperman opened this issue Dec 25, 2023 · 3 comments

Comments

@hdsuperman
Copy link

Why the new feature should be added

Plugin is a Maven 2.x plugin, which will be not supported in Maven 4.x

@velo
Copy link
Contributor

velo commented Jan 4, 2024

@hdsuperman can you tell me more about this?

I recently moved from javadocs to annotions, but I'm wondering if anything else is needed

OpenFeign/querydsl#165

@hdsuperman
Copy link
Author

@velo

Maven install warning:


 * com.querydsl:querydsl-maven-plugin:5.0.0
  Plugin EXTERNAL issue(s):
   * Plugin is a Maven 2.x plugin, which will be not supported in Maven 4.x
Fix reported issues by adjusting plugin configuration or by upgrading above listed plugins. If no upgrade available, please notify plugin maintainers about reported issues.
For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [NONE, INLINE, SUMMARY, BRIEF, VERBOSE]

maven build setting:

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.12.0</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <testSource>${java.version}</testSource>
                    <testTarget>${java.version}</testTarget>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.3.0</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!--querydsl-->
            <plugin>
                <groupId>com.querydsl</groupId>
                <artifactId>querydsl-maven-plugin</artifactId>
                <version>${querydsl.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>jpa-export</goal>
                        </goals>
                        <configuration>
                            <targetFolder>target/generated-sources/java</targetFolder>
                            <packages>
                                <package>com.example.model</package>
                            </packages>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

querydsl version:

        <querydsl.version>5.0.0</querydsl.version>

@velo
Copy link
Contributor

velo commented Jan 18, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants