two compiles from the same source

2007-12-15 Thread deckrider+mvn
I have a requirement to build two different jars (one for java 1.4 and
one for java 1.5) from the same source.  Is this the best way to make
such a project or are there better aproaches?

Layout:

foo-parent/pom.xml
foo-parent/foo14
foo-parent/foo14/pom.xml
foo-parent/foo15
foo-parent/foo15/pom.xml
foo-parent/src
foo-parent/src/main
foo-parent/src/main/java
foo-parent/src/main/java/com
foo-parent/src/main/java/com/example
foo-parent/src/main/java/com/example/Test.java

foo-parent/pom.xml:

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdcom.example/groupId
  packagingpom/packaging
  artifactIdfoo-parent/artifactId
  version1.0.0-SNAPSHOT/version
  nameFoo Parent/name
  urlhttp://impact.vzbi.com/url
  modules
modulefoo15/module
modulefoo14/module
  /modules
/project

foo-parent/foo14/pom.xml:

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  parent
 groupIdcom.example/groupId
 artifactIdfoo-parent/artifactId
 version1.0.0-SNAPSHOT/version
  /parent
  groupIdcom.example/groupId
  nameFoo 1.4/name
  artifactIdfoo14/artifactId
  packagingjar/packaging
  build
sourceDirectory../src/sourceDirectory
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
  source1.4/source
  target1.4/target
/configuration
  /plugin
/plugins
  /build
/project

foo-parent/foo15/pom.xml:

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  parent
 groupIdcom.example/groupId
 artifactIdfoo-parent/artifactId
 version1.0.0-SNAPSHOT/version
  /parent
  groupIdcom.example/groupId
  nameFoo 1.5/name
  artifactIdfoo15/artifactId
  packagingjar/packaging
  build
sourceDirectory../src/sourceDirectory
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
  source1.5/source
  target1.5/target
/configuration
  /plugin
/plugins
  /build
/project

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



continuum 1.1 and guest user

2007-12-08 Thread deckrider+mvn
I would like to just have 1-2 admins and everyone else can be guest
for continuum 1.1.

This seemed possible in continuum 1.0, but I must be missing some step
to know how to do it with continuum 1.1.  After I log in the first
time to set up admin, I'm still not understanding how to log in so as
to become guest (as well as how to give guest more privs).

Thanks!


dependency plugin and version

2007-11-19 Thread deckrider+mvn
Hi, is there a way I can change version below to take the latest
greater than 8.0.0 instead of hard-coding the version as I do below?
I tried using:  version[8,)/version but that did not work.

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIddependency-maven-plugin/artifactId
executions
  execution
!--
  Copy the webstart bundle in as a resource
  before packaging starts.
--
phaseprocess-resources/phase
goals
  goalunpack/goal
/goals
  /execution
/executions
configuration
  artifactItems
artifactItem
  groupIdcom.vzb.impact/groupId
  artifactIdwebstart-test/artifactId
  version8.1.2/version
  typezip/type
/artifactItem
  
outputDirectory${project.build.directory}/${project.build.finalName}/outputDirectory
/configuration
  /plugin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



both idlj and jacorb

2007-11-15 Thread deckrider+mvn
I'm a looking to convert a project to maven.  This project currently
produces two jar files from the same IDL source, by generating first from
idlj and then again from jacorb.  For instance, jacorb-foo.jar and
idlj-foo.jar.

Is there some way of setting up my pom.xml so that this can still
happen?  Or what is the best way forward with maven to achieve this?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]