Re: Surefire report failure.

2007-06-22 Thread Ole-Martin Mørk

Thanks for the reply, but that didn't make any difference..


2007/6/22, Jörg Schaible <[EMAIL PROTECTED]>:


Hi,

for some unknown reason, Maven sometimes damages its files in your local
repo. We had also sometimes that suddenly the compiler plugin was no longer
available. In such a case simply remove the plugin from your local repo and
build again. A proper version will then be installed again.

- Jörg


Ole-Martin Mørk wrote on Friday, June 22, 2007 2:08 PM:

> I am having the same problem. Just appeared today out of blue..
>
> What has happened with the surefire plugins lately? It seems
> like people are
> deploying a lot of broken surefire artifacts to the central
> repository..
>
> -olemartin
>
> 2007/6/15, Jon Strayer <[EMAIL PROTECTED]>:
>>
>> I have a main project with two subprojects.  Both of the subprojects
>> use the surefire report.  The main project does not.  I can run
>> mvn:site on either of the subprojects and it works fine.  But when I
>> run on the main project it fails with this error message:
>>
>> [INFO] Error getting reports from the plugin '
>> org.apache.maven.plugins:maven-surefire-report-plugin': Unable to
>> find the mojo
> 'org.apache.maven.plugins:maven-surefire-report-plugin:2.0:report' in
>> the plugin 'org.apache.maven.plugins:maven-surefire-report-plugin'
>> Component descriptor cannot be found in the component repository:
>>
> org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-sur
> efire-report
>> -plugin:2.0:report.
>>
>> Look at the component repository:
>>
>>
> org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-sur
> efire-report-plugin:2.0:report
>> .
>>
>> When I search the mailing list for "Mojoorg" I get a lot of hits,
>> but nobody seems to be paying attention to it.   Is it a bad error
>> message or is it a clue to my problem?
>>
>>
>> --
>> Esse Quam Videre
>> To Be, rather than to Seem

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





--
Regards, Ole-Martin Mørk.


Re: Surefire report failure.

2007-06-22 Thread Ole-Martin Mørk

I am having the same problem. Just appeared today out of blue..

What has happened with the surefire plugins lately? It seems like people are
deploying a lot of broken surefire artifacts to the central repository..

-olemartin

2007/6/15, Jon Strayer <[EMAIL PROTECTED]>:


I have a main project with two subprojects.  Both of the subprojects use
the
surefire report.  The main project does not.  I can run mvn:site on either
of the subprojects and it works fine.  But when I run on the main project
it
fails with this error message:

[INFO] Error getting reports from the plugin '
org.apache.maven.plugins:maven-surefire-report-plugin': Unable to find the
mojo 'org.apache.maven.plugins:maven-surefire-report-plugin:2.0:report' in
the plugin 'org.apache.maven.plugins:maven-surefire-report-plugin'
Component descriptor cannot be found in the component repository:
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-surefire-report
-plugin:2.0:report.

Look at the component repository:

org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-surefire-report-plugin:2.0:report
.

When I search the mailing list for "Mojoorg" I get a lot of hits, but
nobody
seems to be paying attention to it.   Is it a bad error message or is it a
clue to my problem?


--
Esse Quam Videre
To Be, rather than to Seem





--
Regards, Ole-Martin Mørk.


NullPointerException in ArtifactUtils.copyArtifact when generating site

2007-06-14 Thread Ole-Martin Mørk
   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)

This is a multimodule project

--
Regards, Ole-Martin Mørk.


NoSuchMethodError with surefire-booter-2.3.1-20070606.032942-4

2007-06-06 Thread Ole-Martin Mørk

[INFO] Trace
java.lang.NoSuchMethodError:
org.apache.maven.surefire.booter.SurefireBooter.setUseSystemClassLoader(Z)V
   at
org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(
SurefirePlugin.java:684)
   at org.apache.maven.plugin.surefire.SurefirePlugin.execute(
SurefirePlugin.java:391)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
   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:256)
   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)

Maven version: 2.0.4

java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

AND

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

--
Regards, Ole-Martin Mørk.


Re: Build error with weblogic-maven-plugin

2007-05-21 Thread Ole-Martin Mørk
> > >
> > >  verbose = true]
> > >
> > > [INFO] Using Classpath
> > > ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common-
> > > SNAPSHOT.ja
> > > r;...
> > >
> > > Created working directory:
> > > c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war
> > >
> > > [ERROR] Exception encountered during APPC processing
> > >
> > > weblogic.utils.compiler.ToolFailureException:
> com/bea/xml/XmlException
> > >
> > >
> > >
> > > This error does not show which file is causing the problem, so I
ran
> > > java weblogic.appc broker.war from the command line and received
> this
> > > error:
> > >
> > >
> > >
> > > There are 1 nested errors:
> > >
> > >
> > >
> > > weblogic.servlet.internal.dd.compliance.ComplianceException: The
> class
> > > "bf.web.c
> > >
> > > ommon.ApplicationContextListener" referred by the descriptor
element
> > > "listener"
> > >
> > > is not found. Please ensure that it is present in the classpath.
> > >
> > >
> > >
> > > However this class is in the common-SNAPSHOT.jar which is inside
the
> > > Broker.war in WEB-INF/lib.  Am I seeing 2 different errors due to
> > > the 2
> > > different commands?  How can I know from the mvn error which file
is
> > > causing the problem?
> > >
> > >
> > >
> > > Thanks,
> > >
> > >
> > >
> > > Doug Tanner
> > >
> > >
> > >
> > >
> **
> > > **
> > > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message
is
> > > intended only for the individual or entity to which it is
addressed
> > > and may contain information that is confidential and protected by
> > > law. Unauthorized review, use, disclosure, or dissemination of
this
> > > communication or its contents in any way is prohibited and may be
> > > unlawful. If you are not the intended recipient or a person
> > > responsible for delivering this message to an intended recipient,
> > > please notify the original sender immediately by e-mail or
> > > telephone, return the original message to the original sender or
to
> > > [EMAIL PROTECTED], and destroy all copies or
> > > derivations of the original message. Thank you.  (BFeComNote Rev.
> > > 08/01/2005)
> > >
> **
> > > *
> >
> > Scott Ryan
> > CTO Soaring Eagle L.L.C.
> > Denver, Co. 80129
> > www.soaringeagleco.com
> > www.theryansplace.com
> > (303) 263-3044
> > [EMAIL PROTECTED]
> >
>
>
>
>

**
> **
> BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> intended only for the individual or entity to which it is addressed
and
> may contain information that is confidential and protected by law.
> Unauthorized review, use, disclosure, or dissemination of this
> communication or its contents in any way is prohibited and may be
> unlawful. If you are not the intended recipient or a person
responsible
> for delivering this message to an intended recipient, please notify
the
> original sender immediately by e-mail or telephone, return the
original
> message to the original sender or to [EMAIL PROTECTED],
and
> destroy all copies or derivations of the original message. Thank you.
> (BFeComNote Rev. 08/01/2005)
>

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





BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
intended only for the individual or entity to which it is addressed and may
contain information that is confidential and protected by law. Unauthorized
review, use, disclosure, or dissemination of this communication or its
contents in any way is prohibited and may be unlawful. If you are not the
intended recipient or a person responsible for delivering this message to an
intended recipient, please notify the original sender immediately by e-mail
or telephone, return the original message to the original sender or to
[EMAIL PROTECTED], and destroy all copies or derivations of
the original message. Thank you.  (BFeComNote Rev. 08/01/2005)

***

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





--
Regards, Ole-Martin Mørk.


Re: Writing plugins and dependencies on other software

2006-08-02 Thread Ole-Martin Mørk

How are things progressing with the macker plugin?

I am really interested in using it..

On 6/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Thx Jerome.

Andy

-Original Message-
From: jerome lacoste [mailto:[EMAIL PROTECTED]
Sent: 21 June 2006 10:43
To: Maven Users List
Subject: Re: Writing plugins and dependencies on other software

On 6/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am writing a plugin for a 3rd party piece of software (Macker
> http://innig.net/macker). To run with Mavne 2.x What should I do re
> either ensuring availability of that software or informing an end user

> that it is required to run ?

You plugin will probably declare a dependency on macker itself.

Make sure the macker libraries are found under the ibiblio repository,
if it's not already done.

see http://jira.codehaus.org/browse/MAVENUPLOAD

> The plugin already exists for Maven 1.x and I have been in contact
> with the author and he knows I intend writing the plugin.

Note: Macker is under the GPL so depending on how you wrap it, you might
need to make your plugin under the GPL as well. IANAL...

Jerome

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


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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





--
Regards, Ole-Martin Mørk.

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



Re: changelog site problems

2006-05-30 Thread Ole-Martin Mørk
org.codehaus.plexus.component.configurator.converters.ComponentValueSett
er.configure(ComponentValueSetter.java:247)
 at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWi
thFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:
137)
 at
org.codehaus.plexus.component.configurator.BasicComponentConfigurator.co
nfigureComponent(BasicComponentConfigurator.java:56)
 at
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields
(DefaultPluginManager.java:1030)
 ... 21 more
Caused by: java.lang.InstantiationException: java.util.List
 at java.lang.Class.newInstance0(Class.java:335)
 at java.lang.Class.newInstance(Class.java:303)
 at
org.codehaus.plexus.component.configurator.converters.AbstractConfigurat
ionConverter.instantiateObject(AbstractConfigurationConverter.java:111)
 ... 26 more


Thanks,

J


--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca



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





--
Regards, Ole-Martin Mørk.

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