On 05/04/2012 13:02, Bob Lannoy wrote:
> OK that works, but now the mvn clean package fails
>
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.apache.syncope:syncope:pom:1.0.0-incubating-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 28, column 11
> -> [Help 2]
You are right: this happens because you don't have the maven snapshot
repository declared in your parent POM: add
<repositories>
<repository>
<id>ASF</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
to the root POM of your project.
Regards.
> On 5 April 2012 12:56, Colm O hEigeartaigh <[email protected]> wrote:
>> Sorry sent too soon, and the version to
>> "DarchetypeVersion=1.0.0-incubating-SNAPSHOT":
>>
>> Colm.
>>
>> On Thu, Apr 5, 2012 at 11:56 AM, Colm O hEigeartaigh
>> <[email protected]> wrote:
>>> Change the repo to:
>>> "-DarchetypeRepository=https://repository.apache.org/content/groups/snapshots".
>>>
>>> Colm.
>>>
>>> On Thu, Apr 5, 2012 at 11:54 AM, Bob Lannoy <[email protected]> wrote:
>>>> Hi Francesco,
>>>>
>>>> I tried:
>>>> mvn archetype:generate -DarchetypeGroupId=org.apache.syncope
>>>> -DarchetypeArtifactId=syncope-archetype
>>>> -DarchetypeRepository=http://repo1.maven.org/maven2
>>>> -DarchetypeVersion=1.0.0-incubating
>>>>
>>>> But i get a
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
>>>> (default-cli) on project standalone-pom: The desired archetype does
>>>> not exist (org.apache.syncope:syncope-archetype:1.0.0-incubating)
>>>>
>>>> Bob
>>>>
>>>>
>>>> 2012/4/5 Francesco Chicchiriccò <[email protected]>:
>>>>> On 05/04/2012 12:48, Bob Lannoy wrote:
>>>>>> Hi,
>>>>>>
>>>>>> when I check out core from the trunk, build the war and try to deploy
>>>>>> it, there are some libraries missing:
>>>>>> - validation-api-1.0.0.GA.jar
>>>>>> - openjpa-all-2.2.0.jar
>>>>>> Guess they're missing in the POM?
>>>>> Bob,
>>>>> please follow the wiki page for creating new projects:
>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
>>>>>
>>>>> Regards.
--
Francesco Chicchiriccò
Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/