Hi Robert,

I tried testing it by adding this:

    <pluginRepository>
      <id>staged-releases</id>
      <url>https://repository.apache.org/content/repositories/maven-1331</url>

    </pluginRepository>

and this:

<repository>
    <id>staged-releases</id>
    <url>https://repository.apache.org/content/repositories/maven-1331</url>
</repository>

to one of my project's pom.xml and I tried to issue this command: mvn
archetype:create-from-project
-Darchetype.properties=src/main/resources/archetype.properties

but I get this error:

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project
com.nemesis.archetype:samplestore-archetype:1.5.1.BUILD-SNAPSHOT
(/home/petar/workspace/nemesis-archetype/target/generated-sources/archetype/pom.xml)
has 2 errors
[ERROR]     Unresolveable build extension: Plugin
org.apache.maven.archetype:archetype-packaging:3.0.1 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.archetype:archetype-packaging:jar:3.0.1: Failure to find
org.apache.maven.archetype:maven-archetype:pom:3.0.1 in
https://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 2]
[ERROR]     Unknown packaging: maven-archetype @ line 8, column 14

And indeed the generated pom.xml
(/home/petar/workspace/nemesis-archetype/target/generated-sources/archetype/pom.xml)
contains the archetype extension:

    <extensions>
      <extension>
        <groupId>org.apache.maven.archetype</groupId>
        <artifactId>archetype-packaging</artifactId>
        <version>3.0.1</version>
      </extension>
    </extensions>

but not the custom repository. After manually adding the pluginRepository
and successfully building the generated archetype I then created several
projects out of this archetype and it all seems to be good.

+1 from me.

2017-04-08 16:26 GMT+03:00 Robert Scholte <rfscho...@apache.org>:

> Hi,
>
> We solved 6 issues:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?proje
> ctId=12317122&version=12339582&styleName=Text
>
> There are still a couple of issues left in JIRA:
> https://issues.apache.org/jira/issues/?jql=project%20%3D%
> 2012317122%20AND%20status%20%3D%20Open%20ORDER%20BY%20key%
> 20DESC%2C%20priority%20DESC
>
> Staging repo:
> https://repository.apache.org/content/repositories/maven-1331
> https://repository.apache.org/content/repositories/maven-133
> 1/org/apache/maven/archetype/maven-archetype/3.0.1/maven-
> archetype-3.0.1-source-release.zip
>
> Source release checksum(s):
> maven-archetype-3.0.1-source-release.zip sha1:
> 7332a5f891eb8ec128afa068ed669a9fa4420533
>
> Staging site:
> https://maven.apache.org/archetype-archives/archetype-LATEST/
>
> Guide to testing staged releases:
> https://maven.apache.org/guides/development/guide-testing-releases.html
>
> Vote open for at least 72 hours.
>
> [ ] +1
> [ ] +0
> [ ] -1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


-- 
Regards, Petar!
Karlovo, Bulgaria.
---
Public PGP Key at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

Reply via email to