Hi

Thanks for the reply, I tested with a different public IP, and it is working 
now.

Appreciate all your Support


Regards

____________________________________________________________________________________

Sanjeev Bali
(CNA,CNE,CLDA,CLP,NCE,CNI)
(Identity and Security Advanced Technical Specialist)

Cell: +919212747810



Planned Leave :

Planned Vacation :








________________________________
From: Sanjeev Bali <[email protected]>
Sent: Tuesday, September 2, 2025 13:42
To: [email protected] <[email protected]>
Subject: Re: Getting Error While building Maven archetype

Hi

Thanks for the prompt reply.  Let me test my network.


Regards

____________________________________________________________________________________

Sanjeev Bali
(CNA,CNE,CLDA,CLP,NCE,CNI)
(Identity and Security Advanced Technical Specialist)

Cell: +919212747810



Planned Leave :

Planned Vacation :








________________________________
From: Lorenzo Di Cola <[email protected]>
Sent: Tuesday, September 2, 2025 13:38
To: [email protected] <[email protected]>
Subject: Re: Getting Error While building Maven archetype

Are you sure you're able to connect to
https://repository.apache.org/content/repositories/snapshots from the
server where you're running the generate command?
It smells like a network issue, yours.

I can confirm on my side no issue to generate a sample syncope snapshot
archetype project with exactly that command.

Best regards,
Lorenzo

Il giorno mar 2 set 2025 alle ore 10:03 Sanjeev Bali <
[email protected]> ha scritto:

> I have tried with the -D option but I am still getting the same error.
>
> devadmin@devsrvr:~$  mvn
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
>     -DarchetypeGroupId=org.apache.syncope \
>     -DarchetypeArtifactId=syncope-archetype \
>     -DarchetypeRepository=
> https://repository.apache.org/content/repositories/snapshots \
>     -DarchetypeVersion=4.0.2-SNAPSHOT
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------< org.apache.maven:standalone-pom
> >-------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] --------------------------------[ pom
> ]---------------------------------
> [INFO]
> [INFO] >>> archetype:2.4:generate (default-cli) > generate-sources @
> standalone-pom >>>
> [INFO]
> [INFO] <<< archetype:2.4:generate (default-cli) < generate-sources @
> standalone-pom <<<
> [INFO]
> [INFO]
> [INFO] --- archetype:2.4:generate (default-cli) @ standalone-pom ---
> [INFO] Generating project in Interactive mode
> [INFO] Archetype defined by properties
> Downloading from syncope-archetype-repo:
> https://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/4.0.2-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.apache.syncope:syncope-archetype:4.0.2-SNAPSHOT/maven-metadata.xml
> from/to syncope-archetype-repo (
> https://repository.apache.org/content/repositories/snapshots): Connect to
> repository.apache.org:443 [repository.apache.org/37.27.138.133] failed:
> Connect timed out
> Downloading from syncope-archetype-repo:
> https://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/4.0.2-SNAPSHOT/syncope-archetype-4.0.2-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  20.445 s
> [INFO] Finished at: 2025-09-02T08:01:00Z
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli)
> on project standalone-pom: The desired archetype does not exist
> (org.apache.syncope:syncope-archetype:4.0.2-SNAPSHOT) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> devadmin@devsrvr:~$
>
>
> Regards
>
>
> ____________________________________________________________________________________
>
> Sanjeev Bali
> (CNA,CNE,CLDA,CLP,NCE,CNI)
> (Identity and Security Advanced Technical Specialist)
>
> Cell: +919212747810
>
>
>
> Planned Leave :
>
> Planned Vacation :
>
>
>
>
>
>
>
>
> ________________________________
> From: Lorenzo Di Cola <[email protected]>
> Sent: Tuesday, September 2, 2025 13:27
> To: [email protected] <[email protected]>
> Subject: Re: Getting Error While building Maven archetype
>
> Hello,
> you've a typo in the command.
> Please take a look at "DarchetypeRepository=
> https://repository.apache.org/content/repositories/snapshots \", this line
> must be "-DarchetypeRepository=
> https://repository.apache.org/content/repositories/snapshots \" so you're
> missing the "-" before "D".
>
> Trying with this correction all works as expected.
>
> HTH
> Best Regards,
> Lorenzo
>
> Il giorno mar 2 set 2025 alle ore 09:50 Sanjeev Bali <
> [email protected]> ha scritto:
>
> > Hi
> >
> > I am trying to build a project using the Following Command
> >
> > mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
> >     -DarchetypeGroupId=org.apache.syncope \
> >     -DarchetypeArtifactId=syncope-archetype \
> >    DarchetypeRepository=
> > https://repository.apache.org/content/repositories/snapshots \
> >     -DarchetypeVersion=4.0.2-SNAPSHOT
> >
> > As soon as it starts building, it gives the following Error
> > [INFO]
> > [INFO] --- archetype:2.4:generate (default-cli) @ standalone-pom ---
> > [INFO] Generating project in Interactive mode
> > [INFO] Archetype defined by properties
> > Downloading from syncope-archetype-repo:
> >
> https://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/4.0.2-SNAPSHOT/maven-metadata.xml
> > [WARNING] Could not transfer metadata
> > org.apache.syncope:syncope-archetype:4.0.2-SNAPSHOT/maven-metadata.xml
> > from/to syncope-archetype-repo (
> > https://repository.apache.org/content/repositories/snapshots): Connect
> to
> > repository.apache.org:443 [repository.apache.org/37.27.138.133] failed:
> > Connect timed out
> > Downloading from syncope-archetype-repo:
> >
> https://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/4.0.2-SNAPSHOT/syncope-archetype-4.0.2-SNAPSHOT.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time:  20.572 s
> > [INFO] Finished at: 2025-09-02T07:44:52Z
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-archetype-plugin:2.4:generate
> (default-cli)
> > on project standalone-pom: The desired archetype does not exist
> > (org.apache.syncope:syncope-archetype:4.0.2-SNAPSHOT) -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> > -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >
> >
> > Can you please help solve this issue? This has been happening for last 15
> > Hrs.
> >
> >
> >
> > Regards
> >
> >
> >
> ____________________________________________________________________________________
> >
> > Sanjeev Bali
> > (CNA,CNE,CLDA,CLP,NCE,CNI)
> > (Identity and Security Advanced Technical Specialist)
> >
> > Cell: +919212747810
> >
> >
> >
> > Planned Leave :
> >
> > Planned Vacation :
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
>
> --
> Lorenzo Di Cola
>
> Software Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna, 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope Committer
>
> Syncope PMC Member at The Apache Software Foundation
>
> http://people.apache.org/phonebook.html?uid=loredicola
>


--

--
Lorenzo Di Cola

Software Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna, 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net

Apache Syncope Committer

Syncope PMC Member at The Apache Software Foundation

http://people.apache.org/phonebook.html?uid=loredicola

Reply via email to