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

Run quarkus dev on non quarkus projects #34898

Open
ennishol opened this issue Jul 20, 2023 · 0 comments
Open

Run quarkus dev on non quarkus projects #34898

ennishol opened this issue Jul 20, 2023 · 0 comments
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/enhancement New feature or request

Comments

@ennishol
Copy link
Contributor

ennishol commented Jul 20, 2023

Description

To run continuous unit testing in non-quarkus projects I often create a maven profile to start quarkus in dev mode and run the tests. Kudos @sdaschner for showing it in his blog
This works great, but it would be even better if the quarkus command did the same, without the need to add custom profiles. Just run quarkus dev and it would start quarkus devmode and pick up the tests.

<profiles>
        <profile>
            <id>quarkus-test</id>
            <properties>
                <quarkus.version>3.2.0.Final</quarkus.version>
                <debug>true</debug>
                <quarkus.native.builder-image>ignored</quarkus.native.builder-image>
            </properties>
            <dependencyManagement>
                <dependencies>
                    <dependency>
                        <groupId>io.quarkus</groupId>
                        <artifactId>quarkus-bom</artifactId>
                        <version>${quarkus.version}</version>
                        <type>pom</type>
                        <scope>import</scope>
                    </dependency>
                </dependencies>
            </dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>io.quarkus</groupId>
                    <artifactId>quarkus-core</artifactId>
                </dependency>
            </dependencies>
            <build>
                <plugins>
                    <plugin>
                        <groupId>io.quarkus</groupId>
                        <artifactId>quarkus-maven-plugin</artifactId>
                        <extensions>true</extensions>
                        <version>${quarkus.version}</version>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>build</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

Implementation ideas

No response

@ennishol ennishol added the kind/enhancement New feature or request label Jul 20, 2023
@geoand geoand added area/cli Related to quarkus cli (not maven/gradle/etc.) and removed triage/needs-triage labels Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants