[jira] (MRELEASE-625) mvn release:perform Problem

2012-06-04 Thread Robert Scholte (JIRA)

 [ 
https://jira.codehaus.org/browse/MRELEASE-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MRELEASE-625.
---

Resolution: Not A Bug
  Assignee: Robert Scholte

It looks to me your SCM connection was misconfigured. The project was tagged 
one level too high, since I see {{source}} and {{portal-all}}. When checking 
out by tag it is missing the pom, so the release-plugin can't run Maven.

> mvn release:perform Problem
> ---
>
> Key: MRELEASE-625
> URL: https://jira.codehaus.org/browse/MRELEASE-625
> Project: Maven 2.x Release Plugin
>  Issue Type: Bug
>  Components: perform
>Affects Versions: 2.1
> Environment: Linux Ubuntu 10.4
> java version "1.6.0_21"
> Maven 2.2.1
>Reporter: Vinicius de Paula
>Assignee: Robert Scholte
> Attachments: maven.log
>
>
> Hi folks,
> I have a problem when i'm trying to run the Maven task: mvn -X release:perform
> My pom.xml plugin definition:
> {code:xml}
> 
> org.apache.maven.plugins
> maven-release-plugin
> 2.1
> 
> true
> -Dmaven.test.skip
> https://svn/repo/portal/tags/
> 
> 
> {code}
> Debug stacktrace:
> Checkout from an SCM URL was done successfully.
> In deploy goal the error ocurr. If i execute only mvn deploy, its done 
> successfully.
> {noformat}
> [WARNING] Maven will be executed in interactive mode, but no input stream has 
> been configured for this MavenInvoker instance.
> [INFO] + Error stacktraces are turned on.
> [INFO] Apache Maven 2.2.1 (rdebian-1)
> [INFO] Java version: 1.6.0_21
> [INFO] Java home: /opt/java/jdk1.6.0_21/jre
> [INFO] Default locale: en_US, platform encoding: UTF-8
> [INFO] OS name: "linux" version: "2.6.32-26-generic" arch: "i386" Family: 
> "unix"
> [INFO] [DEBUG] Building Maven user-level plugin registry from: 
> '/home/vinidog/.m2/plugin-registry.xml'
> [INFO] [DEBUG] Building Maven global-level plugin registry from: 
> '/usr/share/maven2/conf/plugin-registry.xml'
> [INFO] [INFO] Scanning for projects...
> [INFO] [DEBUG] Wagons could not be registered as the extension container was 
> never created
> [INFO] [INFO] 
> 
> [INFO] [INFO] Building Maven Default Project
> [INFO] [INFO]task-segment: [deploy]
> [INFO] [INFO] 
> 
> [INFO] [DEBUG] Retrieving parent-POM: 
> org.apache.maven.plugins:maven-plugins:pom:12 for project: 
> null:maven-resources-plugin:maven-plugin:2.3 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:9 for 
> project: org.apache.maven.plugins:maven-plugins:pom:12 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache:apache:pom:4 for project: 
> org.apache.maven:maven-parent:pom:9 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: 
> org.apache.maven.plugins:maven-plugins:pom:8 for project: 
> null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:5 for 
> project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache:apache:pom:3 for project: 
> org.apache.maven:maven-parent:pom:5 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: 
> org.apache.maven.surefire:surefire:pom:2.4.3 for project: 
> org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:null from the 
> repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:7 for 
> project: org.apache.maven.surefire:surefire:pom:2.4.3 from the repository.
> [INFO] [DEBUG] Adding managed dependencies for 
> org.apache.maven.plugins:maven-surefire-plugin
> [INFO] [DEBUG]   org.apache.maven.surefire:surefire-api:jar:2.4.3
> [INFO] [DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.4.3
> [INFO] [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.1
> [INFO] [DEBUG] Retrieving parent-POM: 
> org.apache.maven.plugins:maven-plugins:pom:10 for project: 
> null:maven-jar-plugin:maven-plugin:2.2 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: 
> org.apache.maven.plugins:maven-plugins:pom:13 for project: 
> null:maven-install-plugin:maven-plugin:2.3 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:11 
> for project: org.apache.maven.plugins:maven-plugins:pom:13 from the 
> repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache:apache:pom:5 for project: 
> org.apache.maven:maven-parent:pom:11 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: 
> org.apache.maven.plugins:maven-plugins:pom:11 for project: 
> null:maven-deploy-plugin:maven-plugin:2.4 from the repository.
> [INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:8 for 
> project: org.a

[jira] (MRELEASE-625) mvn release:perform Problem

2012-03-01 Thread Robert Scholte (JIRA)

 [ 
https://jira.codehaus.org/browse/MRELEASE-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MRELEASE-625:


Description: 
Hi folks,

I have a problem when i'm trying to run the Maven task: mvn -X release:perform

My pom.xml plugin definition:
{code:xml}

org.apache.maven.plugins
maven-release-plugin
2.1

true
-Dmaven.test.skip
https://svn/repo/portal/tags/


{code}
Debug stacktrace:
Checkout from an SCM URL was done successfully.
In deploy goal the error ocurr. If i execute only mvn deploy, its done 
successfully.
{noformat}
[WARNING] Maven will be executed in interactive mode, but no input stream has 
been configured for this MavenInvoker instance.
[INFO] + Error stacktraces are turned on.
[INFO] Apache Maven 2.2.1 (rdebian-1)
[INFO] Java version: 1.6.0_21
[INFO] Java home: /opt/java/jdk1.6.0_21/jre
[INFO] Default locale: en_US, platform encoding: UTF-8
[INFO] OS name: "linux" version: "2.6.32-26-generic" arch: "i386" Family: "unix"
[INFO] [DEBUG] Building Maven user-level plugin registry from: 
'/home/vinidog/.m2/plugin-registry.xml'
[INFO] [DEBUG] Building Maven global-level plugin registry from: 
'/usr/share/maven2/conf/plugin-registry.xml'
[INFO] [INFO] Scanning for projects...
[INFO] [DEBUG] Wagons could not be registered as the extension container was 
never created
[INFO] [INFO] 

[INFO] [INFO] Building Maven Default Project
[INFO] [INFO]task-segment: [deploy]
[INFO] [INFO] 

[INFO] [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins:pom:12 for project: 
null:maven-resources-plugin:maven-plugin:2.3 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:9 for 
project: org.apache.maven.plugins:maven-plugins:pom:12 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache:apache:pom:4 for project: 
org.apache.maven:maven-parent:pom:9 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins:pom:8 for project: 
null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:5 for 
project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache:apache:pom:3 for project: 
org.apache.maven:maven-parent:pom:5 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: 
org.apache.maven.surefire:surefire:pom:2.4.3 for project: 
org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:null from the 
repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:7 for 
project: org.apache.maven.surefire:surefire:pom:2.4.3 from the repository.
[INFO] [DEBUG] Adding managed dependencies for 
org.apache.maven.plugins:maven-surefire-plugin
[INFO] [DEBUG]   org.apache.maven.surefire:surefire-api:jar:2.4.3
[INFO] [DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.4.3
[INFO] [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.1
[INFO] [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins:pom:10 for project: 
null:maven-jar-plugin:maven-plugin:2.2 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins:pom:13 for project: 
null:maven-install-plugin:maven-plugin:2.3 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:11 for 
project: org.apache.maven.plugins:maven-plugins:pom:13 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache:apache:pom:5 for project: 
org.apache.maven:maven-parent:pom:11 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins:pom:11 for project: 
null:maven-deploy-plugin:maven-plugin:2.4 from the repository.
[INFO] [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:8 for 
project: org.apache.maven.plugins:maven-plugins:pom:11 from the repository.
[INFO] [INFO] 

[INFO] [ERROR] BUILD ERROR
[INFO] [INFO] 

[INFO] [INFO] Cannot execute mojo: resources. It requires a project with an 
existing pom.xml, but the build is not using one.
[INFO] [INFO] 

[INFO] [DEBUG] Trace
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute 
mojo: resources. It requires a project with an existing pom.xml, but the build 
is not using one.
[INFO]  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
[INFO]  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
[INFO]  at 
org.apache.maven.life