The kodo plugin is currently not functioning. It worked in maven 2.0 but was 
broken due to classloader changes/bugs in 2.0.1. See this jira for details: 
http://jira.codehaus.org/browse/MNG-1898

I basically stopped working on this plugin until it gets resolved because it 
won't load the kodo jar anymore. Once this gets fixed, I plan to finish the 
plugin and create documentation etc to show how to load the required jars into 
your repo. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 4:43 AM
To: Maven Users List
Cc: Maven Users List
Subject: Re: maven kodo plugin


Dear Stephane,
   I have compiled the maven-kodo-plugin and installed it sucessfully.
  Another project'm pom is

<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";>
    <modelVersion>4.0.0</modelVersion>
    <parent>
     <artifactId>jaf-framework</artifactId>
     <groupId>com.hactl.jaf</groupId>
     <version>1.0</version>
  </parent>
    <artifactId>cas-document-jdo</artifactId>
    <name>cas-document-jdo</name>
    <groupId>com.hactl.core</groupId>
   <packaging>jar</packaging>
  <inceptionYear>2005</inceptionYear>
        <url>http://maven.apache.org</url>
   <dependencies>
   <dependency>
      <groupId>com.hactl.core</groupId>
      <artifactId>common-util</artifactId>
      <version>1.0</version>
      <scope>compile</scope>
    </dependency>



     </dependencies>
     <build>
           <sourceDirectory>src/java</sourceDirectory>
           <outputDirectory>target/classes</outputDirectory>
           <finalName>${artifactId}</finalName>
           <resources>
                    <resource>
                      <directory>src/java</directory>
                      <filtering>true</filtering>
                      <includes>
                         <include>**/*.properties</include>
                         <include>**/*.jdo</include>
                         <include>**/*.mapping</include>
                      </includes>
                    </resource>
           </resources>

           <plugins>
            <plugin>
              <groupId>hactlext.kodo</groupId>
              <artifactId>maven-kodo-plugin</artifactId>
              <version>1.0-alpha-1-SNAPSHOT</version>
              <executions>
               <execution>
                <phase>compile</phase>
                 <configuration>
                      <extraClassPathItems>

<extraClassPathItem>target/classes</extraClassPathItem>

<extraClassPathItem>src/java/**/*.jdo</extraClassPathItem>

<extraClassPathItem>f:/corewas/core-main/*.properties</extraClassPathItem>
                      </extraClassPathItems>
                 </configuration>
                 <goals>
                   <goal>enhance</goal>
                 </goals>
               </execution>
              </executions>
            </plugin>
          </plugins>

         </build>
</project>

However ,a n error found.

F:\corewas\cas-document-jdo>mvn  -X compile
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and 
Settings\gz-clark_rao\.m2\plugin-registry.xml'

[DEBUG] Building Maven global-level plugin registry from: 'd:
\maven-2.01-bin\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for
project: com.hactl.core:cas-document-jdo:jar:nu
ll
[INFO]
----------------------------------------------------------------------------
[INFO] Building cas-document-jdo
[INFO]    task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[DEBUG] maven-resources-plugin: resolved to version 2.1 from repository central 
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-resources-plugin:maven-plugin:2.1
[DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository central 
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-compiler-plugin:maven-plugin:2.0
[DEBUG] maven-clean-plugin: resolved to version 2.0 from repository central 
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-clean-plugin:maven-plugin:2.0
[DEBUG] maven-surefire-plugin: resolved to version 2.1.1 from repository 
central [DEBUG] Retrieving parent-POM from the repository for project:
null:maven-surefire-plugin:maven-plugin:2.1.1
[DEBUG] maven-jar-plugin: resolved to version 2.0 from repository central 
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-jar-plugin:maven-plugin:2.0
[DEBUG] maven-war-plugin: resolved to version 2.0-beta-2 from repository 
central [DEBUG] Retrieving parent-POM from the repository for project:
null:maven-war-plugin:maven-plugin:2.0-beta-2
[DEBUG] maven-ejb-plugin: resolved to version 2.0 from repository central 
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-ejb-plugin:maven-plugin:2.0
[DEBUG] maven-ear-plugin: resolved to version 2.1 from repository central 
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-ear-plugin:maven-plugin:2.1
[DEBUG] Skipping disabled repository central [DEBUG] Skipping disabled 
repository central [DEBUG] maven-kodo-plugin: using locally installed snapshot 
[DEBUG] maven-kodo-plugin: using locally installed snapshot [INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] null
[INFO]
----------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
        at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1095)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1060)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:
869)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:447)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:301)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Feb 08 17:39:29 CST 2006 [INFO] Final Memory: 3M/9M 
[INFO]
----------------------------------------------------------------------------








thanks.
Tel: (020)36315358-328 Fax: (020)36315170


                                                                                
                                                       
                      stéphane bouchet                                          
                                                       
                      <Stephane.Bouchet        To:       Maven Users List 
<[email protected]>                                     
                      @emn.fr>                 cc:                              
                                                       
                                               Subject:  Re: maven kodo plugin  
                                                       
                      08/02/2006 17:16                                          
                                                       
                      Please respond to                                         
                                                       
                      "Maven Users                                              
                                                       
                      List"                                                     
                                                       
                                                                                
                                                       
                                                                                
                                                       




[EMAIL PROTECTED] a écrit :
> Dear Stephane,
>      You mean that kodo-jdo-runtime.jar?
>
>
>
>
>
>
>
> thanks.
> Tel: (020)36315358-328 Fax: (020)36315170
>
>
>

>                       stéphane bouchet

>                       <Stephane.Bouchet        To:       Maven Users List
<[email protected]>
>                       @emn.fr>                 cc:

>                                                Subject:  Re: maven 
> kodo
plugin
>                       08/02/2006 16:36

>                       Please respond to

>                       "Maven Users

>                       List"

>

>

>
>
>
>
> Henry S. Isidro a écrit :
>> [EMAIL PROTECTED] wrote:
>>
>>> Dear Henry,
>>>   I have got  org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT.
>>>
>>>  However, I can't get  com.solarmetric:kodo-jdo:jar:3.0
>>>
>>>
>>>
>>>
>> I don't think it's in the repositories. Have you tried their website 
>> --> http://www.solarmetric.com/
>>
>> Henry
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> Hi,
>
> All the jars from kodo can't be in remote repo, due to licence
limitations.
>
> Kodo is a commercial implementation of JDO, so you must download a
version
> from
> their website, and put manually the Jars to your local repo.
>
>
>
> --
> Stéphane Bouchet
> http://sbouchet.blogspot.com
>
> Architecte Logiciel du projet CASTORE
> http://www.castore.org
>
> EMN - CRITE
> La chantrerie
> 4, rue Alfred Kastler
> 44300 NANTES
>
> 02.51.85.82.29
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
>
>
>
> 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers.
> On this occasion we extend our thanks to all of you for your loyalty 
> and trust.
> You have contributed to our success.
>
> Visit us at our website at www.hactl.com
>
> DISCLAIMER :-
> The information contained in this message, including any attachment, 
> is confidential and may also be privileged. The information is 
> intended only for the person or entity to which it is addressed. Any 
> review, re-transmission, copying, storage, distribution or other use 
> or
disclosure
> of this information by persons or entities other than the intended 
> recipient is prohibited. If you are not the intended recipient, please 
> contact the sender immediately by return email and delete this message
from
> your system. Thank you.
>
>
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

yes, and also kodo.jar that contains the enhancer. there is also some other 
jars ( jta, jca ) that are not in remote repos, too ! ( due to licence terms, 
too ) ....



--
Stéphane Bouchet
http://sbouchet.blogspot.com

Architecte Logiciel du projet CASTORE
http://www.castore.org

EMN - CRITE
La chantrerie
4, rue Alfred Kastler
44300 NANTES

02.51.85.82.29

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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



2006 sees Hactl's 30 years of commitment to Hong Kong and our customers.
On this occasion we extend our thanks to all of you for your loyalty and trust.
You have contributed to our success.

Visit us at our website at www.hactl.com

DISCLAIMER :-
The information contained in this message, including any attachment, is 
confidential and may also be privileged. The information is intended only for 
the person or entity to which it is addressed. Any review, re-transmission, 
copying, storage, distribution or other use or disclosure of this information 
by persons or entities other than the intended recipient is prohibited. If you 
are not the intended recipient, please contact the sender immediately by return 
email and delete this message from your system. Thank you.




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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



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

Reply via email to