Brett Porter wrote:
No, that won't work.

Note that the default value of maxOccurs in xsd is "1".

- Brett

Oh, duh.  Never mind.

On 08/04/2009, at 9:04 AM, David M. Karr wrote:

As the POM schema has 'minOccurs="0"' for the "artifactId" element, does that mean that something like this:

<dependencies>
<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-annotations</artifactId>
  <version>3.3.0.ga</version>
</dependency>
<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-commons-annotations</artifactId>
  <version>3.3.0.ga</version>
</dependency>
</dependencies>

can instead be expressed like this:

<dependencies>
<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-annotations</artifactId>
  <artifactId>hibernate-commons-annotations</artifactId>
  <version>3.3.0.ga</version>
</dependency>
</dependencies>

Will that do the same thing?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to