This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ Error stacktraces are turned on. | |
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700) | |
Java version: 1.7.0_09 | |
Java home: C:\Program Files\Java\jdk1.7.0_09\jre | |
Default locale: en_US, platform encoding: Cp1252 | |
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows" | |
[DEBUG] Building Maven user-level plugin registry from: 'C:\Users\Owner\.m2\plugin-registry.xml' | |
[DEBUG] Building Maven global-level plugin registry from: 'C:\Program Files (x86)\apache-maven-2.2.1\conf\plugin-registry.xml' | |
[INFO] Scanning for projects... | |
[DEBUG] Searching for parent-POM: org.codehaus.mojo:mojo-parent:pom:30 of project: null:codenarc-maven-plugin:maven-plugin:0.18.1-1-SNAPSHOT in relative path: ../pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.faceture.paramschecker | |
import org.codehaus.groovy.transform.GroovyASTTransformationClass | |
import java.lang.annotation.ElementType | |
import java.lang.annotation.Retention | |
import java.lang.annotation.RetentionPolicy | |
import java.lang.annotation.Target | |
@Retention (RetentionPolicy.SOURCE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<servers> | |
<server> | |
<username>myuser</username> | |
<password>mypassword</password> | |
<id>remote-repos</id> | |
</server> | |
<server> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<servers> | |
<server> | |
<id>remote-repos</id> | |
<username>myuser</username> | |
<password>mypassword</password> | |
</server> | |
<server> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final properties = new Properties() | |
properties.load(new FileInputStream(System.getProperty("user.home") + "/.grails/maven.properties")) | |
final mavenUsername = properties.getProperty("user") | |
final mavenPassword = properties.getProperty("password") | |
mavenRepo ("http://repo.mycompany.com:8081/artifactory/libs-release-local") { | |
auth([ | |
username: mavenUsername, | |
password: mavenPassword | |
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user = myMavenRepoUserName | |
password = myMavenRepoPassword |