Hi community!

after adding another attribute to my plugin source (the only change )

/**
* jpa prefix 'openejb' || 'hibernate'
*
* @parameter default-value="openejb"
*/
public String propertyprefix;

I got this error message:

+ Error stacktraces are turned on.
Maven version: 2.0.9
Java version: 1.5.0_12
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
[DEBUG] Building Maven user-level plugin registry from: 'D:\Dokumente und
Einstellungen\XXXXXX\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'C:\Programme\Apache Software Foundation\apache-maven-2.0.9
\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Initialising extension: org.apache.maven.wagon:wagon-webdav
[DEBUG] Retrieving parent-POM:
org.apache.maven.wagon:wagon-providers::1.0-beta-2 for project:
null:wagon-webdav:jar:1.0-beta-2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven.wagon:wagon::1.0-beta-2 for
project: null:wagon-providers:pom:null from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::4 for
project: org.apache.maven.wagon:wagon:pom:1.0-beta-2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.maven:maven-parent:pom:4 from the repository.
[DEBUG] Adding managed dependencies for unknown:wagon-webdav
[DEBUG] org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-ssh-common-test:jar:1.0-beta-2:test
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-provider-test:jar:1.0-beta-2
[DEBUG] junit:junit:jar:3.8.1
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] net.atos.xa.maven:dbconngen-maven-plugin:maven-plugin:0.1.2
(selected for null)
[DEBUG] slide:slide-webdavlib:jar:2.1:runtime (selected for runtime)
[DEBUG] commons-httpclient:commons-httpclient:jar:2.0.2:runtime (selected
for runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.3:runtime (selected for
runtime)
[DEBUG] jdom:jdom:jar:1.0:runtime (selected for runtime)
[DEBUG] de.zeigermann.xml:xml-im-exporter:jar:1.1:runtime (selected for
runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.3:runtime (removed - nearer
found: 1.0.4)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:runtime (selected for
runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for
runtime)
[DEBUG] org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2:runtime
(selected for runtime)
[DEBUG] Adding managed dependencies for unknown:wagon-provider-api
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-provider-test:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-ssh-common-test:jar:1.0-beta-2
[DEBUG] org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-2
[DEBUG] junit:junit:jar:3.8.1
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed -
nearer found: 1.1)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed -
nearer found: 1.1)
[DEBUG] Adding to extension classpath:
C:\.m2\repository\slide\slide-webdavlib\2.1\slide-webdavlib-2.1.jar
[DEBUG] Adding to extension classpath:
C:\.m2\repository\commons-httpclient\commons-httpclient\2.0.2
\commons-httpclient-2.0.2.jar
[DEBUG] Adding to extension classpath:
C:\.m2\repository\commons-logging\commons-logging\1.0.4
\commons-logging-1.0.4.jar
[DEBUG] Adding to extension classpath:
C:\.m2\repository\jdom\jdom\1.0\jdom-1.0.jar
[DEBUG] Adding to extension classpath:
C:\.m2\repository\de\zeigermann\xml\xml-im-exporter\1.1\xml-im-exporter-1.1.jar

[DEBUG] Adding to extension classpath:
C:\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar
[DEBUG] Adding to extension classpath:
C:\.m2\repository\org\apache\maven\wagon\wagon-webdav\1.0-beta-2\wagon-webdav-1.0-beta-2.jar

-----------------------------------------------------
this realm = plexus.core.child-container[extensions]
urls[0] =
file:/C:/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
urls[1] =
file:/C:/.m2/repository/commons-httpclient/commons-httpclient/2.0.2
/commons-httpclient-2.0.2.jar
urls[2] = file:/C:/.m2/repository/commons-logging/commons-logging/1.0.4
/commons-logging-1.0.4.jar
urls[3] = file:/C:/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
urls[4] =
file:/C:/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar

urls[5] =
file:/C:/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

urls[6] =
file:/C:/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar

Number of imports: 0


this realm = plexus.core
urls[0] = file:/C:/Programme/Apache Software Foundation/apache-maven-2.0.9
/lib/maven-2.0.9-uber.jar
Number of imports: 0
-----------------------------------------------------
WAGON_VERSION: 1.0-beta-2
[INFO]
------------------------------------------------------------------------
[INFO] Building dbconngen-maven-plugin Maven Mojo
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::10
for project:
org.apache.maven.plugins:maven-plugin-plugin:maven-plugin:2.4.1 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::7 for
project: org.apache.maven.plugins:maven-plugins:pom:10 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::4 for project:
org.apache.maven:maven-parent:pom:7 from the repository.
[DEBUG] Adding managed dependencies for
org.apache.maven.plugins:maven-plugin-plugin
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-tools-api:jar:2.4.1
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-tools-model:jar:2.4.1
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-tools-java:jar:2.4.1
[DEBUG]
org.apache.maven.plugin-tools:maven-plugin-tools-beanshell:jar:2.4.1
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.5
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.1
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-resources-plugin:maven-plugin:2.2 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8
for project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for
project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.4.2
for project:
org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:null from the
repository.
[DEBUG] Adding managed dependencies for
org.apache.maven.plugins:maven-surefire-plugin
[DEBUG] org.apache.maven.surefire:surefire-api:jar:2.4.2
[DEBUG] org.apache.maven.surefire:surefire-booter:jar:2.4.2
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.9
[DEBUG] dbconngen-maven-plugin: resolved to version 0.1.2 from local
repository
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The PluginDescriptor for the plugin Plugin
[net.atos.xa.maven:dbconngen-maven-plugin] was not found.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin
[net.atos.xa.maven:dbconngen-maven-plugin] was not found.
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:325)

at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)

at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1238)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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: 1 second
[INFO] Finished at: Wed Sep 10 09:34:31 CEST 2008
[INFO] Final Memory: 6M/254M
[INFO]
------------------------------------------------------------------------

The plugin generates some (configuration) files
and for testing I include a section of itself in the pom.xml:

<!-- this section is for testing !! -->
<!-- you have to comment it out on your first run -->
<plugin>
<groupId>net.atos.xa.maven</groupId>
<artifactId>dbconngen-maven-plugin</artifactId>
<!--version>0.1.1</version-->
<!-- the configuration here is for all executions -->
<!-- you may override by configuring in <execution> -->
<configuration>
<driver>org.gjt.mm.mysql.Driver</driver>
<url>jdbc:mysql://localhost:3306/cpm</url>
<settingsKey>localmysql</settingsKey>
</configuration>
<executions>
<execution>
<id>jss_rm</id>
<phase>initialize</phase>
<goals>
<goal>jbossconfig</goal>
<goal>jssconfig</goal>
<goal>rmconfig</goal>
<goal>oejbresourceconfig</goal>
<goal>beansconfig</goal>
</goals>
<configuration>
<resource>openejb</resource>
<database>cpm</database>
<jtadatasource>cpm</jtadatasource>
<mode>ENABLE</mode>
</configuration>
</execution>
<execution>
<id>opm</id>
<phase>initialize</phase>
<goals>
<goal>opm</goal>
</goals>
<configuration>
<opmDescriptorDirectory>src</opmDescriptorDirectory>
<generatedSourcesLocation>src/generated-sources/</generatedSourcesLocation>
<compileDirectories>java</compileDirectories>
<pool>pool1,WLP-CC-DS,WLP-CC-LISTMGR-DS</pool>
<projectxml>false</projectxml>
</configuration>
</execution>
<execution>
<id>jpa</id>
<goals>
<goal>jpaconfig</goal>
</goals>
<configuration>
<persistenceunit>oejb3</persistenceunit>
<propertyprefix>openejb</propertyprefix>
</configuration>
</execution>
<execution>
<id>hbm</id>
<goals>
<goal>hbmconfig</goal>
</goals>
<configuration>
<hbmDBdialect>MySQLInnoDB</hbmDBdialect>
<mappingResources>
abc, def, ich.du, er/es
</mappingResources>
</configuration>
</execution>

</executions>
<dependencies>
</dependencies>
</plugin>


It looks as if there is a limit to the number of variables to be
autoinserted into the plugin.
Is this possible ?

Any help or comments appreciated!


mit freundlichen Grüßen/best regards

Wolfgang Schrecker

"In mathematics, to exist is to be construed."
from Shapiro: The Oxford Handbook of PHILOSOPHY OF MATHEMATICS AND LOGIC S.
19



 --
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstrasse 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
mailto:[EMAIL PROTECTED]
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417

--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstraße 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
Fax :
mailto: [EMAIL PROTECTED]
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
This e-mail is destined for the above mentioned recipient. In case you
received this e-mail by accident, we would appreciate it if you could
contact the sender and delete all copies stored on your computer.
Please be aware that the security and confidentiality of electronic data
transmitted by e-mail is not completely guaranteed and that data may be
seen,
copied, downloaded or changed by third persons during transmission.
Atos Origin accepts no liability for the security and confidentiality of
data and documents sent by e-mail. Please make sure that all important
messages will be confirmed in writing by means of a telefax or a letter.
* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *


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

Reply via email to