java.lang.AssertionError: Expected maven-archetype packaging: jar expected:<maven-archetype> but was:<jar>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Peter Lynch, 1 year ago
Expected maven-archetype packaging: jar expected:<maven-archetype> but was:<jar>
via GitHub by pires
, 2 years ago
expected [1] but found [2]
via Stack Overflow by Mani
, 2 years ago
via Stack Overflow by JITHIN
, 1 week ago
expected [START] but found [START]
via Google Groups by Andreas Guther, 2 years ago
Answer does not match! expected:<Answer 4> but was:<Answer 1>
via Stack Overflow by Software QA
, 1 year ago
expected [] but found [Positive value upto 150 is allowed]
java.lang.AssertionError: Expected maven-archetype packaging: jar expected:<maven-archetype> but was:<jar>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:171)
at org.sonatype.nexus.integrationtests.nexus570.Nexus570IndexArchetypeIT.searchForArchetype(Nexus570IndexArchetypeIT.java:48)

Users with the same issue

33 times, 6 months ago
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 8 months ago
Once, 3 weeks ago
21 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.