On Sep 29, 2006, at 10:14 AM, Rick McGuire wrote:

David Blevins wrote:
We could do

modules/openejb-corba
modules/openejb-yoko
modules/openejb-sunorb

.. and have openejb-sunorb disabled by default, enableable with a - D flag of our choosing. I.e.

---pom.xml---
    <modules>
        <module>openejb-pkgen-builder</module>
        <module>openejb-core</module>
        <module>openejb-builder</module>
    </modules>

  <profiles>
    <profile>
      <id>sunorb</id>
      <activation>
        <property>
          <name>sunorb</name>
        </property>
      </activation>
      <modules>
        <module>openejb-sunrob</module>
      </modules>
    </profile>
  </profiles>
-------------

mvn clean install
(no sunorb built)

mvn clean install -Dsunorb=true
(includes the openejb-sunorb module)
[...]
That works for me. I'll need some pointers on how to do this in m2, but sounds manageable.

You should be able to copy paste the "<profiles>...</profiles>" section I posted right into the modules/pom.xml file and that's about it. The other two modules, 'openejb-corba' and 'openejb-yoko' can just be added normally.

Now, given that, what package name should I use for each module? From this, it sounds like org.apache.openejb.yoko and org.apache.openejb.sunorb would be fine.

Works for me!

Heads up, use the new ASL 2.0b license on your files:

/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */



-David


-David



Rick


Thoughts?

-David







Reply via email to