On 28/10/19 16:43, [email protected] wrote:
> Hi,
>
> Can you clarify what you mean by "provide the Maven coordinates of *your* 
> project".  Specifically, what you mean by "coordinates".
Maven coordinates are groupId, artifactId and version.
> Also, what do you mean by "any values that is not CLASHING with Syncope own 
> coordinates"?
> Are you saying that we can use any values for the responses, as long as they 
> are NOT THE SAME as the defaults?

I am saying you can use whatever values; only, you should take care that the 
resulting triple (groupId, artifactId, version) is not already in use by 
another Maven project.

If you have been using Syncope's coordinates when generating your project, you 
are doing it wrong.

I would suggest to get some confidence with Maven, starting with archetypes:
https://maven.apache.org/guides/introduction/introduction-to-archetypes.html

Regards.

> On Monday, October 28, 2019, 3:35:24 PM UTC, Francesco Chicchiriccò 
> <[email protected]> wrote:
>
>
> On 28/10/19 16:31, [email protected] <mailto:[email protected]> wrote:
>> Francesco,
>>
>> I noticed from the paste that your provided, that it is showing "
>> 1.0-SNAPSHOT
>> "
>>
>> but when I ran the dependency try, my output was showing "2.1.5", e.g., per 
>> the txt file I attached earlier:
>>
>>
>> Mine: Building Apache Syncope sample project - Core 2.1.5
>>
>> Yours: Building Apache Syncope sample project - Core 1.0-SNAPSHOT
>>
>> ??
>>
>> When we run the mvn to generate the archetype we use:
>>
>> |/apps/apache-maven-||3.0||.||5||/bin/mvn archetype:generate \|
>> |    ||-DarchetypeGroupId=org.apache.syncope \|
>> |    ||-DarchetypeArtifactId=syncope-archetype \|
>> |    ||-DarchetypeRepository=http:||//repo1.maven.org/maven2 \|
>> |    ||-DarchetypeVersion=||2.1||.||5|
>>
>> and for the "|Define value ||for| |property ||'version'| |1.0||-SNAPSHOT: |" 
>> prompt, we are responding with "2.1.5" rather than just pressing ENTER.
>>
>> Should be just pressing ENTER for that prompt?
>>
>> Could that be the problem for us?
>
>
> As explained in the Getting Started guide, you need to provide the Maven 
> coordinates of *your* project, not Syncope's, hence:
>
> * groupId: my.company
>
> * artifactId: idm
>
> * version 1.0.0-SNAPSHOT
>
> or any values that is not clashing with Syncope own coordinates, e.g.
>
> * org.apache.syncope
>
> * syncope
>
> * 2.1.5
>
> HTH
> Regards.
>
> -- 
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Member at The Apache Software Foundation
> Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
> http://home.apache.org/~ilgrosso/


-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to