getgauge-contrib/gauge-maven-plugin

No plugin found for prefix 'gauge' in the current project and in the plugin groups [org.apache.maven.plugins, orry), centrag.codehaus.mojo] available from the repositories [local (J:\program files\apache-maven-3.6.3\mavenRepositol (https://repo.maven.apache.org/maven2)]

MarsOu1998 opened this issue · 5 comments

run commend "mvn gauge:execute -DspecsDir=specs" then I got this , Help, Please.

zabil commented

Please specifiy your Gauge version and share a section of the pom.xml that refers to version of the Gauge plugin.

pom.xml

<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>11</source>
                    <target>11</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.thoughtworks.gauge.maven</groupId>
                <artifactId>gauge-maven-plugin</artifactId>
                <version>1.1.0</version>
                <executions>
                    <execution>
                        <phase>test</phase>
                        <configuration>
                            <specsDir>specs</specsDir>
                        </configuration>
                        <goals>
                            <goal>execute</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

Gauge Maven:

 <dependency>
            <groupId>com.thoughtworks.gauge</groupId>
            <artifactId>gauge-java</artifactId>
            <version>0.7.9</version>
        </dependency>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>7.1.0</version>
        </dependency>

Maven:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: J:\program files\apache-maven-3.6.3\bin\..
Java version: 11.0.8, vendor: Oracle Corporation, runtime: C:\Program
\jdk-11.0.8
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

image

zabil commented

Please upgrade gauge to 1.1.7
Gauge java to 0.7.13
and gauge maven plugin to 1.5.9

Thanks!Love U.