I'm not sure that I like this.  Consider this a technical veto.

Let us focus our efforts on a a clean m2 build, not stop gap measures like this one listed below.


Regards,
Alan

anita kulshreshtha wrote, On 3/5/2006 6:50 PM:
Hi All,
   I am afraid that I have yet another way to do an M2
build! It uses a dummy pom, which copies a jar from
.maven to .m2 repo. It does not disturb any thing
produced by m1 build.
1. The attached pom can be added to ALL the modules
that do not have a pom.xml by editing <artifactId> and
<name>. 
2. Do mvn install from top level, and now all the jars
and poms (incomplete) will be in m2 repo. 
3. Pick your favorite module, I know there are so many
of you who would like to try one! 
  cd a-module
  mvn install 
    The advantage here is that no one needs to depend
on any one elses module! I just got it to work. If
there is interest in doing this, I will spend some
more time to see if there are any other issues.
         Comments welcome.

Thnaks
Anita
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Copyright 2006 The Apache Software Foundation Licensed 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. --> <!-- $Revision$ $Date$ --> <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo</artifactId> <version>1.2-SNAPSHOT</version> </parent> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-axis</artifactId> <version>${geronimoVersion}</version> <packaging>jar</packaging> <name>Geronimo :: Axis</name> <build> <directory>notarget</directory> <outputDirectory>notarget</outputDirectory> <testOutputDirectory>notarget</testOutputDirectory> <sourceDirectory>nosrc</sourceDirectory> <testSourceDirectory>nosrc</testSourceDirectory> <resources> <resource> <directory>nosrc</directory> </resource> </resources> <testResources> <testResource> <directory>nosrc</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <copy todir="target" file="${user.home}/.maven/repository/geronimo/jars/${artifactId}-${version}.jar"/> </tasks> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>