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:

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";>
  4.0.0
  com.example
  pom
  foo-parent
  1.0.0-SNAPSHOT
  Foo Parent
  http://impact.vzbi.com
  
foo15
foo14
  


foo-parent/foo14/pom.xml:

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";>
  4.0.0
  
 com.example
 foo-parent
 1.0.0-SNAPSHOT
  
  com.example
  Foo 1.4
  foo14
  jar
  
../src

  
org.apache.maven.plugins
maven-compiler-plugin

  1.4
  1.4

  

  


foo-parent/foo15/pom.xml:

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";>
  4.0.0
  
 com.example
 foo-parent
 1.0.0-SNAPSHOT
  
  com.example
  Foo 1.5
  foo15
  jar
  
../src

  
org.apache.maven.plugins
maven-compiler-plugin

  1.5
  1.5

  

  


-
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:  "[8,)" but that did not work.

  
org.codehaus.mojo
dependency-maven-plugin

  

process-resources

  unpack

  


  

  com.vzb.impact
  webstart-test
  8.1.2
  zip

  
${project.build.directory}/${project.build.finalName}

  

-
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]