You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Thiessen <tt...@avaya.com> on 2010/02/24 22:51:09 UTC

Restrictions on naming pattern of artifactId

It looks like there are some restrictions on the character that can be
included the the artifact ID of the GAV.

For example, a if a pom includes a dependency of:

<dependency>
  <groupId>org.redhat</groupId>
  <artifactId>compat-libstdc++</artifactId>
  <version>296-2.96-138.i386</version>
</dependency>

You get this error:

'dependencies.dependency.artifactId' with value 'compat-libstdc++' does
not match a valid id pattern.

Any know why such a restriction is in place?

Interestingly enough, Nexus does not complain about uploading such an
artifact and creating the pom with ++ in the artifactId.

---
Todd Thiessen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org