directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r369103 - in /directory/sandbox/adc/asn1-compiler: ./ asn1-compiler/ asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/ asn1-compiler/src/test/java/org/apache/asn1/compiler/ asn1-compiler/src/test/java/org/apache/asn1/comp...
Date Sat, 14 Jan 2006 22:12:10 GMT
Author: adc
Date: Sat Jan 14 14:12:06 2006
New Revision: 369103

URL: http://svn.apache.org/viewcvs?rev=369103&view=rev
Log:
Moving into my new home!

Added:
    directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGenerator.java
    directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGeneratorFinder.java
    directory/sandbox/adc/asn1-compiler/asn1-compiler/src/test/java/org/apache/asn1/compiler/stages/codegen/
    directory/sandbox/adc/asn1-compiler/asn1-compiler/src/test/resources/META-INF/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/   (with props)
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/pom.xml
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/asn1/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/asn1/plugin/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/asn1/plugin/ASN1Mojo.java
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/apt/
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/apt/index.apt
    directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/site.xml
Modified:
    directory/sandbox/adc/asn1-compiler/asn1-compiler/pom.xml
    directory/sandbox/adc/asn1-compiler/asn1-compiler/src/test/java/org/apache/asn1/compiler/CompilerTest.java
    directory/sandbox/adc/asn1-compiler/pom.xml

Modified: directory/sandbox/adc/asn1-compiler/asn1-compiler/pom.xml
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-compiler/pom.xml?rev=369103&r1=369102&r2=369103&view=diff
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-compiler/pom.xml (original)
+++ directory/sandbox/adc/asn1-compiler/asn1-compiler/pom.xml Sat Jan 14 14:12:06 2006
@@ -31,6 +31,16 @@
         </executions>
       </plugin>
       
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <includes>
+            <include implementation="java.lang.String">**/*Test.java</include>
+          </includes>
+        </configuration>
+      </plugin>
+
     </plugins>
     
   </build>

Added: directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGenerator.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGenerator.java?rev=369103&view=auto
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGenerator.java
(added)
+++ directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGenerator.java
Sat Jan 14 14:12:06 2006
@@ -0,0 +1,42 @@
+/**
+ *
+ * Copyright 2005 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.
+ */
+package org.apache.asn1.compiler.stages.codegen;
+
+import java.util.Properties;
+
+import org.apache.asn1.compiler.stages.ProcessException;
+
+
+/**
+ * @version $Revision: $ $Date: $
+ */
+public abstract class CodeGenerator
+{
+    private final Properties properties;
+
+    public CodeGenerator( Properties properties )
+    {
+        this.properties = properties;
+    }
+
+    public abstract void generate() throws ProcessException;
+
+    public Properties getProperties()
+    {
+        return properties;
+    }
+}

Added: directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGeneratorFinder.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGeneratorFinder.java?rev=369103&view=auto
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGeneratorFinder.java
(added)
+++ directory/sandbox/adc/asn1-compiler/asn1-compiler/src/main/java/org/apache/asn1/compiler/stages/codegen/CodeGeneratorFinder.java
Sat Jan 14 14:12:06 2006
@@ -0,0 +1,156 @@
+/**
+ *
+ * Copyright 2005 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.
+ */
+package org.apache.asn1.compiler.stages.codegen;
+
+import java.io.BufferedInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
+import java.util.Properties;
+import java.util.WeakHashMap;
+
+import org.apache.asn1.compiler.stages.ProcessException;
+
+
+/**
+ * This finder allows for the loose coupling of code generators.
+ *
+ * @version $Revision: $ $Date: $
+ */
+public class CodeGeneratorFinder
+{
+    private final static String PROPERTY_NAME = "org.apache.asn1.CodeGeneratorClass";
+    private final static WeakHashMap classCache = new WeakHashMap();
+
+    private CodeGeneratorFinder()
+    {
+    }
+
+    /**
+     * Creates a new instance of the given key
+     *
+     * @param key is the key to add to the path to find a text file
+     *            containing the factory name
+     * @return a newly created instance
+     */
+    public static CodeGenerator newInstance( String key ) throws ProcessException
+    {
+        CodeGenerator result = null;
+        try
+        {
+            synchronized ( classCache )
+            {
+                CacheItem item = (CacheItem) classCache.get( key );
+                if ( item == null )
+                {
+                    item = new CacheItem();
+
+                    item.properties = findCodeGeneratorProperies( key );
+
+                    Class clazz = loadClass( item.properties );
+                    item.constructor = clazz.getConstructor( new Class[]{Properties.class}
);
+
+                    classCache.put( key, item );
+                }
+                result = (CodeGenerator) item.constructor.newInstance( new Object[]{item.properties}
);
+            }
+        }
+        catch ( ClassNotFoundException doNothing )
+        {
+            throw new ProcessException( doNothing );
+        }
+        catch ( IOException doNothing )
+        {
+            throw new ProcessException( doNothing );
+        }
+        catch ( InstantiationException doNothing )
+        {
+            throw new ProcessException( doNothing );
+        }
+        catch ( IllegalAccessException doNothing )
+        {
+            throw new ProcessException( doNothing );
+        }
+        catch ( NoSuchMethodException doNothing )
+        {
+            throw new ProcessException( doNothing );
+        }
+        catch ( InvocationTargetException doNothing )
+        {
+            throw new ProcessException( doNothing );
+        }
+        return result;
+    }
+
+    private static Class loadClass( Properties properties ) throws ClassNotFoundException,
IOException
+    {
+        String className = properties.getProperty( PROPERTY_NAME );
+        if ( className == null )
+        {
+            throw new IOException( "Expected property is missing: " + PROPERTY_NAME );
+        }
+        try
+        {
+            return Thread.currentThread().getContextClassLoader().loadClass( className );
+        }
+        catch ( ClassNotFoundException e )
+        {
+            return CodeGeneratorFinder.class.getClassLoader().loadClass( className );
+        }
+    }
+
+    private static Properties findCodeGeneratorProperies( String key ) throws IOException
+    {
+        String uri = "META-INF/org/apache/asn1/codegen/" + key;
+
+        InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream(
uri );
+        if ( in == null )
+        {
+            in = CodeGeneratorFinder.class.getClassLoader().getResourceAsStream( uri );
+            if ( in == null )
+            {
+                throw new IOException( "Could not find strategy class for resource: " + uri
);
+            }
+        }
+
+        BufferedInputStream reader = null;
+        try
+        {
+            reader = new BufferedInputStream( in );
+            Properties properties = new Properties();
+            properties.load( reader );
+            return properties;
+        }
+        finally
+        {
+            try
+            {
+                reader.close();
+            }
+            catch ( Exception e )
+            {
+            }
+        }
+    }
+
+    private static class CacheItem
+    {
+        Constructor constructor;
+        Properties properties;
+    }
+}
\ No newline at end of file

Modified: directory/sandbox/adc/asn1-compiler/asn1-compiler/src/test/java/org/apache/asn1/compiler/CompilerTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-compiler/src/test/java/org/apache/asn1/compiler/CompilerTest.java?rev=369103&r1=369102&r2=369103&view=diff
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-compiler/src/test/java/org/apache/asn1/compiler/CompilerTest.java
(original)
+++ directory/sandbox/adc/asn1-compiler/asn1-compiler/src/test/java/org/apache/asn1/compiler/CompilerTest.java
Sat Jan 14 14:12:06 2006
@@ -35,7 +35,7 @@
 
     public void testLDAP() throws Exception
     {
-        Compiler compiler = new Compiler();
+       Compiler compiler = new Compiler();
         Map environment = new HashMap();
 
         System.err.println( basedir );

Propchange: directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan 14 14:12:06 2006
@@ -0,0 +1,3 @@
+*.iml
+*.ipr
+*.iws

Added: directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/pom.xml
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/pom.xml?rev=369103&view=auto
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/pom.xml (added)
+++ directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/pom.xml Sat Jan 14 14:12:06 2006
@@ -0,0 +1,42 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.asn1</groupId>
+    <artifactId>asn1-root</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>asn1-maven-plugin</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>maven-plugin</packaging>
+  <name>Apache ASN1 Compiler :: ASN1 Maven Plugin</name>
+  <inceptionYear>2005</inceptionYear>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-project</artifactId>
+    </dependency>      
+    
+    <dependency>
+      <groupId>org.apache.asn1</groupId>
+      <artifactId>asn1-compiler</artifactId>
+    </dependency>      
+    
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+    </dependency>    
+    
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-compiler-api</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+    </dependency>
+  </dependencies>
+</project>
+

Added: directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/asn1/plugin/ASN1Mojo.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/asn1/plugin/ASN1Mojo.java?rev=369103&view=auto
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/asn1/plugin/ASN1Mojo.java
(added)
+++ directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/main/java/org/apache/asn1/plugin/ASN1Mojo.java
Sat Jan 14 14:12:06 2006
@@ -0,0 +1,196 @@
+/**
+ *
+ * Copyright 2005 (C) The original author or authors.
+ *
+ * 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.
+ */
+package org.apache.asn1.plugin;
+
+import java.io.File;
+import java.lang.reflect.Method;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Set;
+import java.util.Map;
+import java.util.HashMap;
+
+import org.codehaus.plexus.compiler.util.scan.InclusionScanException;
+import org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner;
+import org.codehaus.plexus.compiler.util.scan.StaleSourceScanner;
+import org.codehaus.plexus.compiler.util.scan.mapping.SuffixMapping;
+import org.codehaus.plexus.util.FileUtils;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.project.MavenProjectHelper;
+
+import org.apache.asn1.compiler.ASN1Compiler;
+import org.apache.asn1.compiler.stages.codegen.CodeGeneratorStage;
+import org.apache.asn1.compiler.stages.parser.ParseStage;
+
+
+public abstract class ASN1Mojo extends AbstractMojo
+{
+    /**
+     * print out debug messages
+     *
+     * @parameter debug
+     */
+    private boolean debug;
+
+    /**
+     * the source directory containing *.asn1 files
+     *
+     * @parameter expression="${basedir}/src/main/asn1"
+     */
+    private String sourceDirectory;
+
+    /**
+     * the directory to output the generated sources to
+     *
+     * @parameter expression="${project.build.directory}/generated-sources/asn1"
+     */
+    private String outputDirectory;
+
+    /**
+     * @parameter expression="${project}"
+     * @required
+     */
+    protected MavenProject project;
+
+    /**
+     * The granularity in milliseconds of the last modification
+     * date for testing whether a source needs recompilation
+     *
+     * @parameter expression="${lastModGranularityMs}" default-value="0"
+     */
+    private int staleMillis;
+
+    /**
+     * the maven project helper class for adding resources
+     *
+     * @parameter expression="${component.org.apache.maven.project.MavenProjectHelper}"
+     */
+    protected MavenProjectHelper projectHelper;
+
+    /**
+     * the directory to store the processed grammars
+     *
+     * @parameter expression="${basedir}/target"
+     */
+    private String timestampDirectory;
+
+
+    public void execute() throws MojoExecutionException
+    {
+        if ( !FileUtils.fileExists( outputDirectory ) )
+        {
+            FileUtils.mkdir( outputDirectory );
+        }
+
+        Set staleGrammars = computeStaleGrammars();
+
+        if ( staleGrammars.isEmpty() )
+        {
+            getLog().info( "Nothing to process - all ASN1 files are up to date" );
+            return;
+        }
+
+        for ( Iterator i = staleGrammars.iterator(); i.hasNext(); )
+        {
+            File asn1lFile = (File) i.next();
+
+            ArrayList arguments = new ArrayList();
+
+            if ( sourceDirectory != null )
+            {
+                arguments.add( "-i" );
+                arguments.add( sourceDirectory.toString() );
+            }
+
+            arguments.add( asn1lFile.toString() );
+
+            try
+            {
+                getLog().info( "Processing: " + asn1lFile.toString() );
+
+                if ( debug )
+                {
+                    String command = "idlj";
+                    for ( int j = 0; j < arguments.size(); j++ )
+                    {
+                        command += " " + arguments.get( j );
+                    }
+                    getLog().info( "Executing: " + command );
+                }
+
+                org.apache.asn1.compiler.Compiler compiler = new org.apache.asn1.compiler.Compiler();
+                Map environment = new HashMap();
+
+                environment.put( ParseStage.SRC_URI, Thread.currentThread().getContextClassLoader().getResource(
"./ldap.asn1" ).toString() );
+                environment.put( CodeGeneratorStage.ROOT_PACKAGE, "org.apache.ldap.asn1"
);
+                environment.put( CodeGeneratorStage.DESTINATION_PATH, outputDirectory );
+
+                compiler.compile( environment );
+
+                // make sure this is after the acutal processing,
+                //otherwise it if fails the computeStaleGrammars will think it completed.
+                FileUtils.copyFileToDirectory( asn1lFile, new File( timestampDirectory )
);
+            }
+            catch ( Exception e )
+            {
+                throw new MojoExecutionException( "ASN1 compilation failed", e );
+            }
+            catch ( Throwable t )
+            {
+                throw new MojoExecutionException( "ASN1 compilation failed", t );
+            }
+        }
+
+        if ( project != null )
+        {
+            getLog().debug( "adding .dat resource" );
+            projectHelper.addResource( project, outputDirectory, Collections.singletonList(
"**/**.dat" ), new ArrayList() );
+            project.addCompileSourceRoot( outputDirectory );
+        }
+    }
+
+    private Set computeStaleGrammars() throws MojoExecutionException
+    {
+        SourceInclusionScanner scanner = new StaleSourceScanner( staleMillis );
+
+        scanner.addSourceMapping( new SuffixMapping( ".asn1", ".asn1" ) );
+
+        File outDir = new File( timestampDirectory );
+
+        Set staleSources = new HashSet();
+
+        File sourceDir = new File( sourceDirectory );
+
+        try
+        {
+            if ( sourceDir.exists() && sourceDir.isDirectory() )
+            {
+                staleSources.addAll( scanner.getIncludedSources( sourceDir, outDir ) );
+            }
+        }
+        catch ( InclusionScanException e )
+        {
+            throw new MojoExecutionException( "Error scanning source root: \'" + sourceDir
+ "\' for stale ASN files to reprocess.", e );
+        }
+
+        return staleSources;
+    }
+}

Added: directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/apt/index.apt?rev=369103&view=auto
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/apt/index.apt (added)
+++ directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/apt/index.apt Sat Jan 14
14:12:06 2006
@@ -0,0 +1,48 @@
+ ------
+ Maven 2 SableCC plugin 
+ ------
+ Jesse McConnell <jesse.mcconnell@gmail.com>
+ ------
+ Mon Aug 1 2005
+ ------
+
+Maven 2 SableCC plugin
+
+ This plugin is for processing grammer files into java sources.
+
+ SableCC is a great mechanism for specifying a grammer and then generating the 
+ supporting implementaion of java classes.  See http://www.sablecc.org for 
+ more information about SableCC itself.
+   
+ This plugin will process all *.grammer files in the sourceDirectory into a 
+ common generated sources output directory.  This will occur during the 
+ generate-resources phase and the sources directory will be added to the project
+ for the compile phase.
+ 
+Available Configuration Options:
+ 
+ * sourceDirectory - src/main/sablecc
+ 
+ * outputDirectory - target/generated-sources/sablecc
+ 
+ * timestampDirectory - target (used so grammers are not constantly regenerated)
+ 
+ []
+
+Usage:
+ 
+-------------------
+<project>
+   ...
+      <build>
+         <plugins>
+            <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-sablecc-plugin</artifactId>
+            </plugin>
+         </plugins>
+         ...
+      </build>
+   ...
+</project>
+-------------------

Added: directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/site.xml
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/site.xml?rev=369103&view=auto
==============================================================================
--- directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/site.xml (added)
+++ directory/sandbox/adc/asn1-compiler/asn1-maven-plugin/src/site/site.xml Sat Jan 14 14:12:06
2006
@@ -0,0 +1,19 @@
+<project name="ASN1 Compiler Plug-In">
+   <bannerLeft>
+      <name>Mojo</name>
+      <src>/images/mojo_logo.png</src>
+      <href>http://mojo.codehaus.org</href>
+   </bannerLeft>
+   <bannerRight>
+      <name>Codehaus</name>
+      <src>http://mojo.codehaus.org/images/codehaus-small.png</src>
+      <href>http://www.codehaus.org</href>
+   </bannerRight>
+   <body>
+      <links>
+         <item name="Mojo" href="http://mojo.codehaus.org"/>
+         <item name="Maven" href="http://maven.apache.org/maven2"/>
+      </links>
+      ${reports}
+   </body>
+</project>

Modified: directory/sandbox/adc/asn1-compiler/pom.xml
URL: http://svn.apache.org/viewcvs/directory/sandbox/adc/asn1-compiler/pom.xml?rev=369103&r1=369102&r2=369103&view=diff
==============================================================================
--- directory/sandbox/adc/asn1-compiler/pom.xml (original)
+++ directory/sandbox/adc/asn1-compiler/pom.xml Sat Jan 14 14:12:06 2006
@@ -105,6 +105,7 @@
     <module>asn1-gen-cplus</module>
     <module>asn1-gen-csharp</module>
     <module>asn1-gen-java</module>
+    <module>asn1-maven-plugin</module>
   </modules> 
 
   <licenses>
@@ -152,6 +153,18 @@
       </dependency>
 
       <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-plugin-api</artifactId>
+        <version>2.0</version>
+      </dependency>      
+
+      <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-project</artifactId>
+        <version>2.0</version>
+      </dependency>      
+
+      <dependency>
         <groupId>commons-beanutils</groupId>
         <artifactId>commons-beanutils</artifactId>
         <version>1.7.0</version>
@@ -193,6 +206,18 @@
         <groupId>mx4j</groupId>
         <artifactId>mx4j-jmx</artifactId>
         <version>3.0.1</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-compiler-api</artifactId>
+        <version>1.5.1</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-utils</artifactId>
+        <version>1.0.5</version>
       </dependency>
 
       <dependency>



Mime
View raw message