Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ You have to be a fully utPLSQL environment available compatible with the Java AP
### Sample of use
The next snippet is a sample of declaration of the pom
```xml
<plugin>
<groupId>org.utplsql</groupId>
<artifactId>utplsql-maven-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<plugin>
<groupId>org.utplsql</groupId>
<artifactId>utplsql-maven-plugin</artifactId>
<version>1.0.0</version>
<goals>
<goal>test</goal>
</goals>
Expand Down Expand Up @@ -97,5 +97,5 @@ The next snippet is a sample of declaration of the pom
</test>
</tests>
</configuration>
</plugin>
</plugin>
```
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@

<groupId>org.utplsql</groupId>
<artifactId>utplsql-maven-plugin-build</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>
<packaging>pom</packaging>

<name>utplsql-maven-plugin Maven Plugin Build</name>

<!-- FIXME change it to the project's website -->
<url>http://maven.apache.org</url>
<url>http://utplsql.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
5 changes: 2 additions & 3 deletions utplsql-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
<artifactId>utplsql-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>

<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<name>utplsql-maven-plugin Maven Plugin</name>

<!-- FIXME change it to the project's website -->
<url>http://maven.apache.org</url>
<url>http://utplsql.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.utplsql.helper;

import java.util.Arrays;
import java.util.Map;
import java.util.Properties;

import org.apache.maven.model.Resource;

Expand Down Expand Up @@ -65,8 +65,8 @@ private static Resource buildDirectory(String directory, String includes)
*/
public static boolean resolveColor()
{
final Map<String, String> env = System.getenv();
String color = env.get(STYLE_COLOR_PROPERTY);
final Properties env = System.getProperties();
String color = env.getProperty(STYLE_COLOR_PROPERTY);

if ("always".equals(color))
{
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

import org.codehaus.plexus.util.StringUtils;

/**
*
* @author Alberto Hdez
*
*/
public class ReporterParameter
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class UtPLSQLMojoTest
{
public static final String POM_PATH = "src/test/resources/";

public static final String OUTPUT_DIRECTORY = "target/test-classes";
public static final String OUTPUT_DIRECTORY = "target/";

@Rule
public MojoRule rule = new MojoRule();
Expand Down Expand Up @@ -46,7 +46,7 @@ private void checkCoverReportsGenerated(String... files)
for (String filename : files)
{
File file = new File(OUTPUT_DIRECTORY, filename);
Assert.assertTrue("The reporter for " + filename + " was not generated", file.exists());
Assert.assertTrue("The reporter for " + file.getAbsolutePath() + " was not generated", file.exists());
}
}

Expand Down
3 changes: 2 additions & 1 deletion utplsql-maven-plugin/src/test/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<name>utplsql-maven-plugin Maven Plugin Test</name>

<url>http://utplsql.org</url>

<properties>
<dbUrl>jdbc:oracle:thin:@180.129.3.101:1521:xe</dbUrl>
Expand All @@ -17,7 +18,7 @@
</properties>

<build>
<directory>../../../target/test-classes</directory>
<directory>../../../target/</directory>

<plugins>
<plugin>
Expand Down