Error while build the war for JIRA 6.0 source code

HI I am getting below error while build the war for JIAR 6.0 source code: Error:INFO] Scanning for projects... Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/pom/atlassian-public-pom/29.1/atlassian-public-pom-29.1.pom [WARNING] Unable to get resource 'com.atlassian.pom:atlassian-public-pom:pom:29.1' from repository atlassian-proxy (https://m2proxy.atlassian.com/repository/public): Error transferring file: Connection timed out: connect Downloading: https://m2proxy.atlassian.com/contrib/com/atlassian/pom/atlassian-public-pom/29.1/atlassian-public-pom-29.1.pom [WARNING] Unable to get resource 'com.atlassian.pom:atlassian-public-pom:pom:29.1' from repository atlassian-contrib (https://m2proxy.atlassian.com/contrib): Error transferring file: Connection timed out: connect Downloading: http://repo1.maven.org/maven2/com/atlassian/pom/atlassian-public-pom/29.1/atlassian-public-pom-29.1.pom [INFO] Unable to find resource 'com.atlassian.pom:atlassian-public-pom:pom:29.1' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: com.atlassian.event:atlassian-event:jar:2.3.0 Reason: Cannot find parent: com.atlassian.pom:atlassian-public-pom for project: com.atlassian.event:atlassian-event:jar:2.3.0 for project com.atlassian.event:atlassian-event:jar:2.3.0 [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Cannot find parent: com.atlassian.pom:atlassian-public-pom for project: com.atlassian.event:atlassian-event:jar:2.3.0 for project com.atlassian.event:atlassian-event:jar:2.3.0 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: com.atlassian.pom:atlassian-public-pom for project: com.atlassian.event:atlassian-event:jar:2.3.0 for project com.atlassian.event:atlassian-event:jar:2.3.0 at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1398) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:632) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:515) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:419) ... 11 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'com.atlassian.pom:atlassian-public-pom' not found in repository: Unable to download the artifact from any repository com.atlassian.pom:atlassian-public-pom:pom:29.1 from the specified remote repositories: central (http://repo1.maven.org/maven2), atlassian-contrib (https://m2proxy.atlassian.com/contrib), atlassian-proxy (https://m2proxy.atlassian.com/repository/public) for project com.atlassian.pom:atlassian-public-pom at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1394) ... 17 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository com.atlassian.pom:atlassian-public-pom:pom:29.1 from the specified remote repositories: central (http://repo1.maven.org/maven2), atlassian-contrib (https://m2proxy.atlassian.com/contrib), atlassian-proxy (https://m2proxy.atlassian.com/repository/public) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558) ... 18 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) ... 20 more

1 answer

I"m getting a similar error trying to build JRJC on Ubuntu.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,149 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot