Dear maven users,

I want to use the changes plugin and when i execute it it doesn't work.
It says It can't find no DataSource class.
Anyone have any ideas?

OUTPUT :

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'changes'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Orbis BPE BE Application
[INFO]    task-segment: [changes:announcement-generate, 
changes:announcement-mail]
[INFO]
----------------------------------------------------------------------------
[INFO] Setting property: file.resource.loader.class =>
'org.apache.maven.plugin.resource.loader.ProjectResourceLoader'.
[INFO] Setting property: class.resource.loader.class =>
'org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader'.
[INFO] Setting property: resource.loader => 'file,class'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.apache.maven.plugin.resource.loader.ProjectResourceLoader
[INFO] ProjectResourceLoader : initialization starting.
[INFO] path :C:\hap\orbisbe2\src\main\resources\
[INFO] ProjectResourceLoader : adding path 'C:\hap\orbisbe2\src\main\resources\'
[INFO] ProjectResourceLoader : initialization complete.
[INFO] Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find reso
urce 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
global in scope if allowed.
[INFO] Velocimacro : messages on  : VM system will output logging messages
[INFO] Velocimacro : autoload off  : VM system will not automatically reload
global library macros
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [changes:announcement-generate]
[INFO] Creating announcement file from changes.xml...
[INFO] ResourceManager : found
org/apache/maven/plugin/announcement/announcement.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathReso
urceLoader
[ERROR] RHS of #set statement is null. Context will not be modified.
org/apache/maven/plugin/announcement/announcement.vm [line 40, column 1]
[ERROR] RHS of #set statement is null. Context will not be modified.
org/apache/maven/plugin/announcement/announcement.vm [line 41, column 1]
[ERROR] Left side ($!issue) of '!=' operation has null value. Operation not
possible. org/apache/maven/plugin/announcement/announcement.vm [line 42, colu
mn 27]
[ERROR] Left side ($!dueto) of '!=' operation has null value. Operation not
possible. org/apache/maven/plugin/announcement/announcement.vm [line 42, colu
mn 65]
[INFO] File created...
[INFO] Preparing changes:announcement-mail
[INFO] [changes:announcement-generate]
[INFO] Creating announcement file from changes.xml...
[INFO] ResourceManager : found
org/apache/maven/plugin/announcement/announcement.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathReso
urceLoader
[ERROR] RHS of #set statement is null. Context will not be modified.
org/apache/maven/plugin/announcement/announcement.vm [line 40, column 1]
[ERROR] RHS of #set statement is null. Context will not be modified.
org/apache/maven/plugin/announcement/announcement.vm [line 41, column 1]
[ERROR] Left side ($!issue) of '!=' operation has null value. Operation not
possible. org/apache/maven/plugin/announcement/announcement.vm [line 42, colu
mn 27]
[ERROR] Left side ($!dueto) of '!=' operation has null value. Operation not
possible. org/apache/maven/plugin/announcement/announcement.vm [line 42, colu
mn 65]
[INFO] File created...
[INFO] [changes:announcement-mail]
[INFO] Connecting to Host: notes.agfa.be:25
[INFO] email retrieved. [EMAIL PROTECTED] < van steen yves >
[INFO] Sending mail... [EMAIL PROTECTED]
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Program
Files\Java\jdk1.5.0_10\jre\lib\javamail.providers (The system cannot find the
file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name:
{com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
Mic
rosystems, Inc],
com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc], com.sun.mail.
imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provid
er[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc],
com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPSt
ore,Sun Microsystems, Inc],
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
Microsystems, Inc]}
DEBUG: Providers Listed By Protocol:
{imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
Microsystems, Inc], imap=javax.mail.Provid
er[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
Micros
ystems, Inc],
pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.
pop3.POP3SSLStore,Sun Microsystems, Inc],
smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program
Files\Java\jdk1.5.0_10\jre\lib\javamail.address.map (The system cannot find
the file specified)
DEBUG: setDebug: JavaMail version 1.4ea
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] javax/activation/DataSource
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: javax/activation/DataSource
        at
org.apache.maven.plugin.announcement.mailsender.ProjectJavamailMailSender.send(ProjectJavamailMailSender.java:136)
        at
org.codehaus.plexus.mailsender.AbstractMailSender.send(AbstractMailSender.java:144)
        at
org.codehaus.plexus.mailsender.AbstractMailSender.send(AbstractMailSender.java:120)
        at
org.apache.maven.plugin.announcement.AnnouncementMailMojo.sendMessage(AnnouncementMailMojo.java:210)
        at
org.apache.maven.plugin.announcement.AnnouncementMailMojo.execute(AnnouncementMailMojo.java:164)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        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)

Thx,
Yves

---
http://www.scarlet.be/


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

Reply via email to