Maven 1
  1. Maven 1
  2. MAVEN-1869

error while building jira 4.2 from source

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      [exec] [INFO] Scanning for projects...
      [exec] Downloading: https://m2proxy.atlassian.com/repository/public/com/atla
      ssian/pom/atlassian-product-pom/10/atlassian-product-pom-10.pom
      [exec] [WARNING] Unable to get resource 'com.atlassian.pom:atlassian-product
      -pom:pom:10' from repository central (https://m2proxy.atlassian.com/repository/p
      ublic): Error transferring file
      [exec] Downloading: https://m2proxy.atlassian.com/repository/m1//com/atlassi
      an/pom/atlassian-product-pom/10/atlassian-product-pom-10.pom
      [exec] [WARNING] Unable to get resource 'com.atlassian.pom:atlassian-product
      -pom:pom:10' from repository atlassian-m1-repository (https://m2proxy.atlassian.
      com/repository/m1/): Error transferring file
      [exec] Downloading: http://repo1.maven.org/maven2/com/atlassian/pom/atlassia
      n-product-pom/10/atlassian-product-pom-10.pom
      [exec] [WARNING] Unable to get resource 'com.atlassian.pom:atlassian-product
      -pom:pom:10' from repository central (http://repo1.maven.org/maven2): Error tran
      sferring file
      [exec] [INFO] --------------------------------------------------------------
      ----------
      [exec] [ERROR] FATAL ERROR
      [exec] [INFO] --------------------------------------------------------------
      ----------
      [exec] [INFO] Error building POM (may not be this project's POM).
      [exec]
      [exec]
      [exec] Project ID: com.atlassian.jira:atlassian-jira:war:4.2.1-b588
      [exec]
      [exec] Reason: Cannot find parent: com.atlassian.pom:atlassian-product-pom f
      or project: com.atlassian.jira:atlassian-jira:war:4.2.1-b588 for project com.atl
      assian.jira:atlassian-jira:war:4.2.1-b588
      [exec]
      [exec]
      [exec] [INFO] --------------------------------------------------------------
      ----------
      [exec] [INFO] Trace
      [exec] org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
      com.atlassian.pom:atlassian-product-pom for project: com.atlassian.jira:atlassi
      an-jira:war:4.2.1-b588 for project com.atlassian.jira:atlassian-jira:war:4.2.1-b
      588
      [exec] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:4
      21)
      [exec] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:295
      )
      [exec] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
      [exec] at org.apache.maven.cli.MavenCli.main(MavenCli.java:290)
      [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
      sorImpl.java:39)
      [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
      [exec] at java.lang.reflect.Method.invoke(Method.java:597)
      [exec] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.jav
      a:315)
      [exec] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      [exec] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.j
      ava:430)
      [exec] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [exec] Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
      find parent: com.atlassian.pom:atlassian-product-pom for project: com.atlassian.
      jira:atlassian-jira:war:4.2.1-b588 for project com.atlassian.jira:atlassian-jira
      :war:4.2.1-b588
      [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleL
      ineage(DefaultMavenProjectBuilder.java:1377)
      [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.buildInte
      rnal(DefaultMavenProjectBuilder.java:820)
      [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.buildFrom
      SourceFileInternal(DefaultMavenProjectBuilder.java:505)
      [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.build(Def
      aultMavenProjectBuilder.java:197)
      [exec] at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:62
      6)
      [exec] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.ja
      va:504)
      [exec] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:4
      08)
      [exec] ... 11 more
      [exec] Caused by: org.apache.maven.project.ProjectBuildingException: POM 'co
      m.atlassian.pom:atlassian-product-pom' not found in repository: Unable to downlo
      ad the artifact from any repository
      [exec]
      [exec] com.atlassian.pom:atlassian-product-pom:pom:10
      [exec]
      [exec] from the specified remote repositories:
      [exec] atlassian-m1-repository (https://m2proxy.atlassian.com/repository/m
      1/),
      [exec] central (http://repo1.maven.org/maven2)
      [exec]
      [exec] for project com.atlassian.pom:atlassian-product-pom
      [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.findModel
      FromRepository(DefaultMavenProjectBuilder.java:602)
      [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleL
      ineage(DefaultMavenProjectBuilder.java:1373)
      [exec] ... 17 more
      [exec] Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundExcepti
      on: Unable to download the artifact from any repository
      [exec]
      [exec] com.atlassian.pom:atlassian-product-pom:pom:10
      [exec]
      [exec] from the specified remote repositories:
      [exec] atlassian-m1-repository (https://m2proxy.atlassian.com/repository/m
      1/),
      [exec] central (http://repo1.maven.org/maven2)
      [exec]
      [exec]
      [exec] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.re
      solve(DefaultArtifactResolver.java:212)
      [exec] 'cmd' is not recognized as an internal or external command,
      [exec] operable program or batch file.
      [exec] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.re
      solve(DefaultArtifactResolver.java:74)
      [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.findModel
      FromRepository(DefaultMavenProjectBuilder.java:555)
      [exec] ... 18 more
      [exec] Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unab
      le to download the artifact from any repository
      [exec] at org.apache.maven.artifact.manager.DefaultWagonManager.getArti
      fact(DefaultWagonManager.java:332)
      [exec] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.re
      solve(DefaultArtifactResolver.java:200)
      [exec] ... 20 more
      [exec] [INFO] --------------------------------------------------------------
      ----------
      [exec] [INFO] Total time: 43 seconds
      [exec] [INFO] Finished at: Sun Apr 08 10:08:56 GMT+03:30 2012
      [exec] [INFO] Final Memory: 2M/4M
      [exec] [INFO] --------------------------------------------------------------
      ----------

      BUILD FAILED
      File...... C:\dev2\test\jira\maven.xml
      Element... ant:exec
      Line...... 244
      Column.... 93
      null returned: 1
      Total time: 3 minutes 55 seconds
      Finished at: Sun Apr 08 10:08:56 GMT+03:30 2012

      C:\dev2\test\jira>

        Activity

        Hide
        samira akhavan added a comment -

        I put part of building process which browse error not whole of them...

        Show
        samira akhavan added a comment - I put part of building process which browse error not whole of them...

          People

          • Assignee:
            Unassigned
            Reporter:
            samira akhavan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: