hi

i am going to build jira4.2 from source,i get this error:

----------

.

.

.

[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

why do i get this error:-?

1 answer

according to http://forums.atlassian.com/thread.jspa?threadID=52340

i download atlassian-product-pom-10.pom and CREATE this directory :

C:\Documents and Settings\(your user name)\.m2\com\atlassian\pom\atlassian-product-pom\10

then i copy pom file in it,but i got the same error


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

74 views 0 11
Read article

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