[
http://jira.codehaus.org/browse/CONTINUUM-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181385#action_181385
]
Jevica Arianne B. Zurbano commented on CONTINUUM-2275:
------------------------------------------------------
If you are getting the "Missing ''scm'' element in the POM, project" error, you
might need to add the <scm> tag in your project's pom.xml.
It is configured similar to the following:
{noformat}
<scm>
<connection>scm:svn:https://hostname/svn/project/trunk</connection>
<developerConnection>scm:svn:https://hostname/svn/project/trunk</developerConnection>
</scm>
{noformat}
And, as suggested by Wendy, add the project without the "scm:svn:"
> Unable to add maven2 project
> -----------------------------
>
> Key: CONTINUUM-2275
> URL: http://jira.codehaus.org/browse/CONTINUUM-2275
> Project: Continuum
> Issue Type: Bug
> Components: Integration - Maven 2
> Affects Versions: 1.3.3
> Environment: os - linux 32bit.
> Reporter: TaeSangGu
> Priority: Minor
>
> Hi.
> When I insert data at "add project" of maven2, It was displayed as below on
> continuum-1.3.3.
> "The specified resource cannot be accessed. Please try again later or contact
> your administrator."
> I did inserted data at maven2.
> scm:svn:https://hostname/svn/project/trunk/pom.xml
> And I did inserted data "scm"
> https://hostname/svn/project/trunk/pom.xml
> but It shown display erroed "Missing ''scm'' element in the POM, project "
> So I shown open sources of continuum. (AddMavenProjectAction.java)
> catch ( MalformedURLException e ) <-- alert execption.
> {
>
> addActionError( getText( "add.project.unknown.error" ) );
> return doDefault();
> }
> Could you please how to solve it to me?
> Best regards Thank you.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira