Re: Problem using Plugin Management

2008-08-19 Thread Stefan Groschupf

Great! Thanks for the hint!
Stefan

On Aug 19, 2008, at 12:22 AM, Jean-Marc Desprez wrote:


Hi,
I found a solution to this problem after reading this page : 
http://docs.codehaus.org/display/MAVENUSER/Assembly+Plugin

Modification for the main project (important part is the executions  
block) :

build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
inheritedtrue/inherited

configuration
descriptors
descriptor${basedir}/assembly/ 
livraison.xml/descriptor

/descriptors
/configuration

 !-- important part is here --
 executions
 execution
 phasepackage/phase
 goals
 goalassembly/goal
 /goals
  /execution
  /executions

/plugin
/plugins
/pluginManagement
/build

Important : Now, with this configuration, you must launch mvn ...  
package and not mvn  assembly:assembly


Bye

2008/7/25 Jean-Marc Desprez [EMAIL PROTECTED]
Hi,
I have four projects under maven.
I want to be able to run assembly:assembly on each projects with  
minimum effort.


So I had create a main project with this configuration :
...
modules
module../aaa/module
module../zzz/module
module../eee/module
module../rrr/module
/modules

build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
inheritedtrue/inherited

configuration
descriptors
descriptor${basedir}/assembly/ 
livraison.xml/descriptor

/descriptors
/configuration
/plugin
/plugins
/pluginManagement
/build

On each child, I add this two pieces of code :
parent
groupIdthe.group/groupId
artifactIdmain/artifactId
version0.0.1-SNAPSHOT/version
relativePath../main/pom.xml/relativePath
/parent
and
build
plugins
...
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
!-- see configuration on parent's project --
/plugin
...
/plugins
/build

Maven help (http://maven.apache.org/pom.html#Plugin_Management)  
say : Plugin Management contains plugin elements in much the same  
way, except that rather than configuring plugin information for this  
particular project build, it is intended to configure project builds  
that inherit from this one.


But, assembly:assembly on the main's pom.xml throw an error :
[INFO] [assembly:assembly]
[INFO] Reading assembly descriptor: /path/to\main/assembly/ 
livraison.xml
[INFO]  


[ERROR] BUILD ERROR
[INFO]  


[INFO] Error reading assemblies: Error locating assembly descriptor

Which is completly normal because I do not have assembly descriptor  
for the main project.

Plus, the assembly is not done on the childs projects

How can I run assembly:assembly only on the childs projects ??

Thanks




~~~
101tec Inc.
Menlo Park, California, USA
http://www.101tec.com



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



dist.codehaus.org mirror?

2004-06-18 Thread Stefan Groschupf
Hi,
I try to dowload latest meven ide from 
http://dist.codehaus.org/mevenide/release but this folder does not 
exist. ;(
Has someone a copy of the latest snapshot or a mirror of 
dist.codehaus.org?

Thanks!
Stefan
---
enterprise information technology consulting
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


maven xerces-2_2_1

2004-03-14 Thread Stefan Groschupf
Hi there,

are there any known problems with xerces-2_2_1 or xerces-apis-2_2_1 and 
maven?
I use org.apache.html.dom.HTMLDocumentImpl and my class and test is 
running well in eclipse, but until i use maven to run the tests i got a 
error:

loader constraints violated when linking org/w3c/dom/Element class
java.lang.LinkageError: loader constraints violated when linking 
org/w3c/dom/Element class

Does maven use a different version of xerces?
Does maven extend the classpath for the junit tests with more then the 
dependencies?

Thanks for any hints!
Stefan
---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org

statcvs

2004-03-12 Thread Stefan Groschupf
Hi there,

i have trouble to use the statcvs report.
Since the changelog report is running well, i dont think the problem is 
releated to the cvs login.
I wondering that the plugin missing a property since the documentation 
does say there are not properties required.
Has someone any idea what's going on? Google has no answer. ;/

statcvs:init:

statcvs:generate:
[echo] fetching cvs logs...
[cvs] Using cvs passfile: /Users/joa/.cvspass
[java] StatCvs-XML - CVS statistics generation
[java]
[java] Cannot recognize web repository type. Please select it 
explicitly
[java] Usage: java -jar statcvs-xml-0.9.0.jar [options] logfile 
directory
[java]
[java] Required parameters:
[java]   logfile  path to the cvs logfile of the module
[java]   directorypath to the directory of the checked 
out module
[java]

Thanks for any hints.
Stefan
---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: reactor or multiproject

2004-03-12 Thread Stefan Groschupf
 If you than also build your own plugins you are really flexible and 
this is the advantage of maven against ant.

Hope this helps a little bit



Yes, thanks it gives me the feeling to be not alone with the problems. 
;)
Thanks!
Stefan

---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: pmd report

2004-03-12 Thread Stefan Groschupf
Am 12.03.2004 um 20:47 schrieb Ryan Owens:

PMD reports have been broken for a few weeks now, not PMD itself but 
maven's plugin:plugin I believe. Something to do with new maven plugin 
setting that broke old stuff or something or other. There are posts 
about it from a few weeks back. I think everyone is saying to just 
wait on PMD reports til rc2 is out. I could be wrong though, please 
correct me if I am.
Thanks for this information!

Stefan

---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ssh cvs

2004-03-08 Thread Stefan Groschupf
Hi,

sorry does someone know how to use extssh cvs authentication without a 
keyfile?
My cvs has only ssh2 access but use passwords instead of key files.

As i read in the documentation the .cvspass file only works with 
pserver.
Any ideas for a workaround?

Thanks for any hints.
Stefan
---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


run eclipse plugin tests

2004-03-01 Thread Stefan Groschupf
Hi there,

i didn't find something in the net and was wondering if someone had 
experience with running eclipse plugin unit tests with maven.
The backround:

I'm developing a eclipse based gui for a j2ee application.
My j2ee stuff is running fine with maven.
I have some eclipse ui tests as eclipse plugin unit tests that run 
only inside of eclipse.

I wish to do nightly builds with maven that run the ui tests as well.

Thanks for any hints!

Stefan

---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: CruiseControl

2004-02-19 Thread Stefan Groschupf
http://cruisecontrol.sourceforge.net/main/install.html

Am 20.02.2004 um 00:48 schrieb Freddy:

Where can I find documentaion of how to use cruise control to do a 
nightly build???

---
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


statcvs:generate:

2004-02-02 Thread Stefan Groschupf
Hi,

i have still problems to use cvs related plugins.
Thanks to Emmanuel i figure out i had a typo in my cvs connection 
string.
I use a anonymous user to connect the cvs. This user need no password.
however i got a error that it is not possible to access the .cvspass 
file.

statcvs:generate:
[echo] fetching cvs logs...
[cvs] cvs log: could not open /Users/joa/.cvspass: No such file or 
directory
[cvs] cvs [log aborted]: use cvs login to log in first

Can someone give me a hint where i do a mistake?!

Thanks!
Stefan


open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


less than six tokens

2004-02-01 Thread Stefan Groschupf
Hi,

sorry i had searched in the archive and in the user Guide as well,
Can someone  give me a hint what's wrong?
I have a working cvs connection configured in my project.xml file. ;?


BUILD FAILED
File.. file:/Users/joa/.maven/plugins/maven-changelog-plugin-1.3/
Element... changelog:changelog
Line.. 64
Column 15
repository connection string contains less than six tokens
Thanks,
Stefan
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


mavenide on mac os x

2004-01-25 Thread Stefan Groschupf
Hi,

when i start maven with the mavenide i got this exception:
File or url 
'/System/Library/Frameworks/JavaVM.framework/Home/lib/tools.jar' could 
not be found
java.net.MalformedURLException: no protocol: 
/System/Library/Frameworks/JavaVM.framework/Home/lib/tools.jar
	at java.net.URL.init(URL.java:579)
	at java.net.URL.init(URL.java:476)
	at java.net.URL.init(URL.java:425)
	at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403)
	at com.werken.forehead.Forehead.load(Forehead.java:322)
	at com.werken.forehead.Forehead.config(Forehead.java:245)
	at com.werken.forehead.Forehead.config(Forehead.java:131)
	at com.werken.forehead.Forehead.main(Forehead.java:579)

It is a known issue that the mac os x java  does not have a tools.jar 
file.
This problem is fixable with different workarounds. (use win tools.jar 
etc.)
However is there any preferred solution?

Thanks in advanced.
Stefan

jboss mbeans

2003-12-14 Thread Stefan Groschupf
Hi,
I'm very new to maven.
How to deploy a *.sar file / folder to jboss with maven?
Should I write my own goal ?
Thanks for any hints.
Stefan
--
open technology: http://www.media-style.com
open source: http://www.weta-group.net
open discussion: http://www.text-mining.org


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


maven eclipse plugin

2003-12-14 Thread Stefan Groschupf
Hi,

i tried to get the maven plugin for eclipse to run but it throws this 
exception.
The thing that confuse me is that i already have the org.aspectj.ajde 
deployed. (org.aspectj.ajde_1.1.4)
Are there any version depedencies?

Thanks for any hints!
Stefan
!SESSION Dec 14, 2003 19:08:06.906 
-
java.version=1.4.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86 -install 
file:C:/Programme/eclipse_3M5/
!ENTRY org.eclipse.core.runtime 2 1 Dec 14, 2003 19:08:06.921
!MESSAGE Problems encountered loading the plug-in registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Dec 14, 2003 19:08:06.921
!MESSAGE Plug-in org.mevenide was disabled due to missing or disabled 
prerequisite plug-in org.aspectj.ajde.
!SESSION Dec 14, 2003 20:10:06.437 
-
java.version=1.4.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86 -install 
file:C:/Programme/eclipse_3M5/
!ENTRY org.eclipse.ui 4 4 Dec 14, 2003 20:10:06.437
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Dec 14, 2003 20:10:06.437
!MESSAGE org/eclipse/debug/core/variables/LaunchVariableUtil
!STACK 0
java.lang.NoClassDefFoundError: 
org/eclipse/debug/core/variables/LaunchVariableUtil
   at 
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchShortcut.getDefaultLaunchConfiguration(MavenLaunchShortcut.java:181)
   at 
org.mevenide.ui.eclipse.launch.configuration.MavenLaunchShortcut.launch(MavenLaunchShortcut.java:128)
   at 
org.mevenide.ui.eclipse.launch.configuration.MavenRunActionDelegate.run(MavenRunActionDelegate.java:67)
   at 
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:270)
   at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:542)
   at 
org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:494)
   at 
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:466)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2187)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1877)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1381)
   at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:237)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
   at 
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
   at 
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
   at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
   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:324)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:299)
   at org.eclipse.core.launcher.Main.run(Main.java:767)
   at org.eclipse.core.launcher.Main.main(Main.java:601)
!ENTRY org.eclipse.ui.workbench 4 2 Dec 14, 2003 20:10:35.578
!MESSAGE Problems occurred when invoking code from plug-in: 
org.eclipse.ui.workbench.
!STACK 0
org.eclipse.swt.SWTException: Class ID not found in registry result = 
-2147221018
   at org.eclipse.swt.ole.win32.OLE.error(OLE.java:317)
   at 
org.eclipse.swt.ole.win32.OleClientSite.init(OleClientSite.java:178)
   at 
org.eclipse.ui.internal.editorsupport.win32.OleEditor.createClientSite(OleEditor.java:227)
   at 
org.eclipse.ui.internal.editorsupport.win32.OleEditor.createPartControl(OleEditor.java:215)
   at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:161)
   at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1127)
   at org.eclipse.core.runtime.Platform.run(Platform.java:464)
   at 
org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:157)
   at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:206)
   at 
org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWorkbook.java:156)
   at org.eclipse.ui.internal.EditorWorkbook.add(EditorWorkbook.java:97)
   at org.eclipse.ui.internal.EditorArea.addEditor(EditorArea.java:57)
   at 
org.eclipse.ui.internal.EditorPresentation.openEditor(EditorPresentation.java:351)
   at org.eclipse.ui.internal.EditorManager$2.run(EditorManager.java:545)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
   at 
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:534)
   at 

Re: maven eclipse plugin

2003-12-14 Thread Stefan Groschupf
Hi,



im not sure about this ajde problem (since you indicate that it is 
already present), however the main issue here is the api changes 
introduced with the M5 release. mevenide now supports M4 (in cvs at 
least) but not M5 yet.
You know what was changed? I can do a patch with a tiny hint where 
something was changed.

last, about the ajde dependency version : it is not required anymore ; 
so the simplest is to comment the require element in the plugin 
descriptor ;) 
Could be part of a patch. ;)

Thanks for the hints.
Stefan
--
open technology: http://www.media-style.com
open source: http://www.weta-group.net
open discussion: http://www.text-mining.org


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