jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-997

Can't import project

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Cannot Reproduce
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Core system
  • Labels:
    None
  • Environment:
    Mastro 1.1
  • Complexity:
    Intermediate
  • Patch Submitted:
    Yes

Description

When importing a project that has parent POMs with system scope dependencies, the import fails. See attached screen capture.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    continuum-interpolation.patch
    07/Nov/06 8:14 PM
    0.6 kB
    Brian Topping
  1. Picture 1.png
    98 kB
    06/Nov/06 2:08 PM

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. MNG-2626 System scope dependencies in parent POM cause validation warnings for most plugins and errors in assembly plugin

  • Blocker - Blocks development and/or testing work, production could not run
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brian Topping added a comment - 06/Nov/06 2:16 PM

This id probably related to MNG-2626, but it appears the maven-core libraries are cut specifically for continuum.

Show
Brian Topping added a comment - 06/Nov/06 2:16 PM This id probably related to MNG-2626, but it appears the maven-core libraries are cut specifically for continuum.
Hide
Permalink
Brian Topping added a comment - 06/Nov/06 10:27 PM

The same binaries built from trunk work on OS-X but not on Ubuntu.

"Compile once, test everywhere", I guess

Show
Brian Topping added a comment - 06/Nov/06 10:27 PM The same binaries built from trunk work on OS-X but not on Ubuntu. "Compile once, test everywhere", I guess
Hide
Permalink
Brian Topping added a comment - 07/Nov/06 3:44 PM

Note that the integration test on MNG-2626 should be a suitable project to load into continuum to cause the problem. The "misc-dependency" project needs to be loaded after the parent project is installed in the repo.

Here is the log snippet from when I am adding the project:

2006-11-07 13:40:41,512 [SocketListener0-1] INFO ContinuumProjectBuilder:maven-two-builder - Downloading http://locahost/heart/trunk/pom.xml
2006-11-07 13:40:41,821 [SocketListener0-1] ERROR MavenBuilderHelper - Cannot build maven project from /opt/project-server/temp/continuum/heart/trunk/pom.xml (Failed to validate POM).
For dependency Dependency {groupId=jboss, artifactId=hibernate-annotations, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=jboss-ejb3, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=mail, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=javax.servlet, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=jboss-ejb3x, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=jbosssx, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=jboss-annotations-ejb3, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=jboss-common, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=hibernate3, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=javax.servlet.jsp, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=activation, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=jboss-j2ee, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=ejb3-persistence, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.
For dependency Dependency {groupId=jboss, artifactId=commons-logging, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath.

2006-11-07 13:40:41,822 [SocketListener0-1] INFO Continuum - Created 0 projects.
2006-11-07 13:40:41,822 [SocketListener0-1] INFO Continuum - Created 0 project groups.
2006-11-07 13:40:41,823 [SocketListener0-1] INFO Continuum - 15 errors.
2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - 15 errors during project add:
2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,825 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,825 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error
2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.project.building.error
2006-11-07 13:40:46,085 [SocketListener0-1] INFO FreemarkerManager - Instantiating Freemarker ConfigManager!, com.opensymphony.webwork.views.freemarker.FreemarkerManager
2006-11-07 13:40:47,220 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,221 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,221 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,222 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,222 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,223 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,223 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,224 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,224 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,225 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,225 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,227 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,227 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:47,228 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US'
2006-11-07 13:40:50,213 [SocketListener0-1] WARN DefaultActionInvocation - No result defined for action org.apache.maven.continuum.web.action.admin.ConfigurationAction and result input

Show
Brian Topping added a comment - 07/Nov/06 3:44 PM Note that the integration test on MNG-2626 should be a suitable project to load into continuum to cause the problem. The "misc-dependency" project needs to be loaded after the parent project is installed in the repo. Here is the log snippet from when I am adding the project: 2006-11-07 13:40:41,512 [SocketListener0-1] INFO ContinuumProjectBuilder:maven-two-builder - Downloading http://locahost/heart/trunk/pom.xml 2006-11-07 13:40:41,821 [SocketListener0-1] ERROR MavenBuilderHelper - Cannot build maven project from /opt/project-server/temp/continuum/heart/trunk/pom.xml (Failed to validate POM). For dependency Dependency {groupId=jboss, artifactId=hibernate-annotations, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=jboss-ejb3, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=mail, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=javax.servlet, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=jboss-ejb3x, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=jbosssx, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=jboss-annotations-ejb3, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=jboss-common, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=hibernate3, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=javax.servlet.jsp, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=activation, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=jboss-j2ee, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=ejb3-persistence, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. For dependency Dependency {groupId=jboss, artifactId=commons-logging, version=4.0.4.GA, type=jar}: system-scoped dependency must specify an absolute path systemPath. 2006-11-07 13:40:41,822 [SocketListener0-1] INFO Continuum - Created 0 projects. 2006-11-07 13:40:41,822 [SocketListener0-1] INFO Continuum - Created 0 project groups. 2006-11-07 13:40:41,823 [SocketListener0-1] INFO Continuum - 15 errors. 2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - 15 errors during project add: 2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,824 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,825 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,825 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,827 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.validation.error 2006-11-07 13:40:41,828 [SocketListener0-1] INFO Continuum - add.project.project.building.error 2006-11-07 13:40:46,085 [SocketListener0-1] INFO FreemarkerManager - Instantiating Freemarker ConfigManager!, com.opensymphony.webwork.views.freemarker.FreemarkerManager 2006-11-07 13:40:47,220 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,221 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,221 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,222 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,222 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,223 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,223 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,224 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,224 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,225 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,225 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,227 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,227 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:47,228 [SocketListener0-1] WARN LocalizedTextUtil - Unable to find text for key 'add.project.validation.error' in ResourceBundles for locale 'en_US' 2006-11-07 13:40:50,213 [SocketListener0-1] WARN DefaultActionInvocation - No result defined for action org.apache.maven.continuum.web.action.admin.ConfigurationAction and result input
Hide
Permalink
Brian Topping added a comment - 07/Nov/06 8:14 PM

With MNG-2626 applied, this patch fixes the problem.

Show
Brian Topping added a comment - 07/Nov/06 8:14 PM With MNG-2626 applied, this patch fixes the problem.
Hide
Permalink
Brett Porter added a comment - 02/Apr/08 1:31 AM

may already be fixed, or the patch might be applicable - should review and close

Show
Brett Porter added a comment - 02/Apr/08 1:31 AM may already be fixed, or the patch might be applicable - should review and close
Hide
Permalink
Emmanuel Venisse added a comment - 23/Sep/08 3:40 PM

I think it is already fixed in 1.2 because Continuum already use the settings.
Need to test it to verify but the patch isn't applicable because it is related to an unapplyed Maven patch.

Show
Emmanuel Venisse added a comment - 23/Sep/08 3:40 PM I think it is already fixed in 1.2 because Continuum already use the settings. Need to test it to verify but the patch isn't applicable because it is related to an unapplyed Maven patch.
Hide
Permalink
Wendy Smoak added a comment - 15/Oct/08 9:08 PM

I added an example that has a system scoped dependency in the parent, and had no problems adding it to Continuum 1.2. I tried adding the entire project and building it, then adding just the child project so that it had to find the parent already in the local repo.

Please take a look at http://svn.apache.org/repos/asf/continuum/sandbox/continuum-997-example/

(You'll need to copy a jar file to /tmp/somefile.jar if you want it to build.)

Show
Wendy Smoak added a comment - 15/Oct/08 9:08 PM I added an example that has a system scoped dependency in the parent, and had no problems adding it to Continuum 1.2. I tried adding the entire project and building it, then adding just the child project so that it had to find the parent already in the local repo. Please take a look at http://svn.apache.org/repos/asf/continuum/sandbox/continuum-997-example/ (You'll need to copy a jar file to /tmp/somefile.jar if you want it to build.)

People

  • Assignee:
    Emmanuel Venisse
    Reporter:
    Brian Topping
Vote (0)
Watch (0)

Dates

  • Created:
    06/Nov/06 2:08 PM
    Updated:
    16/Oct/08 8:37 AM
    Resolved:
    16/Oct/08 7:08 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.