Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mcookbook</groupId>
- <artifactId>groovy-script-ex</artifactId>
- <packaging>jar</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>groovy-script-ex</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-model</artifactId>
- <version>2.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-bsf</artifactId>
- <version>2.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <!-- any version of Groovy >= 1.5.0 should work here -->
- <version>2.4.12</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.12.3</version>
- <configuration>
- <failIfNoTests>false</failIfNoTests>
- <includes>
- <include>**/*test*.*</include>
- </includes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.gmaven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.5</version>
- <executions>
- <execution>
- <phase>generate-resources</phase>
- <goals>
- <goal>compile</goal>
- <goal>testCompile</goal>
- <goal>execute</goal>
- </goals>
- <configuration>
- <source>${pom.basedir}/src/Cagri_groovy/testfirst.groovy</source>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- [ERROR] Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.5:execute (default) on project groovy-script-ex: startup failed, script1511249885612.groovy: 1: expecting EOF, found 'TESTLERİ' @ line 1, column 41.
- [ERROR] 1 error
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- package Cagri_groovy;
- import Cagri_groovy.Application
- import Cagri_groovy.firstgclass
- def object=new firstgclass()
- object.openBrowser()
- object.setUserName("abc")
- object.setPassword("123456")
- object.Login(object.UserName,object.Password)
- object.Sayfa_Acma("test.jsf")
- Application.open_connection()
- object.Simulator()
- Application.close_connection()`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement