On 23/10/2008, at 4:46 PM, M.Y. Tjoe wrote:
> I added profile id to setting/xml
>
> <id>default</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
>
> and getting new error shown below. I think the dependency issue is
> resolved. Thanks guys.
Great.
> MBP:testMaven mytjoe$ mvn package
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
> Project ID: unknown
> POM Location: /Users/mytjoe/.m2/testMaven/pom.xml
>
> Reason: Parse error reading POM. Reason: Duplicated tag:
> 'packaging' (position: START_TAG seen ...</artifactId>\n\t
> \t<packaging>.....1:14) for project unknown at /Users/mytjoe/.m2/
> testMaven/pom.xml
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Parse error
> reading POM. Reason: Duplicated tag: 'packaging' (position:
> START_TAG seen ...</artifactId>\n\t\t<packaging>.....1:14) for
> project unknown at /Users/mytjoe/.m2/testMaven/pom.xml
And your pom looks like? It's complaining that you've got a duplicate
tag.
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Thu Oct 23 2008 - 01:59:18 EDT