On 18/04/2012 09:01, Francesco Chicchiriccò wrote:
On 17/04/2012 19:53, Aidy Tificate wrote:
We are trying to take a look on your product and when we execute

mvn clean package command receiving the error below

INFO] Scanning for projects...
ERROR] The build could not read 1 project ->  [Help 1]
ERROR]
ERROR] The project com.ics:idmics:1.0.0-incubating-SNAPSHOT
(C:\Syncope\idmic
\pom.xml) has 1 error
ERROR] Non-resolvable parent POM: Could not find artifact org.apache.syncop :syncope:pom:1.0.0-incubating-SNAPSHOT and 'parent.relativePath' points at
wron
local POM @ line 28, column 11 ->  [Help 2]
[...]
Any clue?

Hi,
you are getting such error because Apache Syncope did not release any stable version so far, hence you are generating a project using SNAPSHOT artifacts, but the generated project does not have any pointer to SNAPSHOT maven repository.

Basically, all you have to do is to add the following code right before </project> in root pom.xml of the generated project:

<repositories>
<repository>
<id>ASF</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<repositories>

A few XML mistakes, now fixed, sorry:

  <repositories>
    <repository>
      <id>ASF</id>
      <url>https://repository.apache.org/content/repositories/snapshots/</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>


Now everything should work.

In order to prevent such issues for the future, I've updated [1] accordingly.

Regards.

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
--
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/

Reply via email to