Re: weird error - property substitution not working

2024-05-09 Thread Tomo Suzuki
My guess: Project A’s parent pom in your local Maven repository is outdated.

Regards,
Tomo


On Thu, May 9, 2024 at 21:43 Siddharth Jain  wrote:

> Hello,
>
> I have a property defined in parent pom:
>
> 1.17.3
>
> I have project A that has following:
>
> 
> com.microsoft.onnxruntime
> onnxruntime
> ${onnxruntime.version}
> 
>
> it installs fine.
>
> I have project B that has following:
>
> 
> com.example
> projectA
> ${project.version}
> test
> 
>
> this give me this bizarre error on test-compile:
>
> Could not resolve dependencies for project
> xxx:xxx-xxx-xxx:jar:1.0.0-SNAPSHOT: The following artifacts could not be
> resolved:
> com.microsoft.onnxruntime:onnxruntime_gpu:jar:${onnxruntime.version}
> (absent), com.microsoft.onnxruntime:onnxruntime:jar:${onnxruntime.version}
> (absent): Could not find artifact
> com.microsoft.onnxruntime:onnxruntime_gpu:jar:${onnxruntime.version} in
> central (https://repo.maven.apache.org/maven2)
>
> it does not substitute ${onnxruntime.version} with the value from
> parent pom. how can I fix this? I have never seen anything like this
> before.
>


weird error - property substitution not working

2024-05-09 Thread Siddharth Jain
Hello,

I have a property defined in parent pom:

1.17.3

I have project A that has following:


com.microsoft.onnxruntime
onnxruntime
${onnxruntime.version}


it installs fine.

I have project B that has following:


com.example
projectA
${project.version}
test


this give me this bizarre error on test-compile:

Could not resolve dependencies for project
xxx:xxx-xxx-xxx:jar:1.0.0-SNAPSHOT: The following artifacts could not be
resolved: com.microsoft.onnxruntime:onnxruntime_gpu:jar:${onnxruntime.version}
(absent), com.microsoft.onnxruntime:onnxruntime:jar:${onnxruntime.version}
(absent): Could not find artifact
com.microsoft.onnxruntime:onnxruntime_gpu:jar:${onnxruntime.version} in
central (https://repo.maven.apache.org/maven2)

it does not substitute ${onnxruntime.version} with the value from
parent pom. how can I fix this? I have never seen anything like this before.


Re: maven-resources-plugin:3.2.0 fails with weird error

2020-12-06 Thread Maxim Solodovnik
Done: https://issues.apache.org/jira/browse/MRESOURCES-272

On Sat, 5 Dec 2020 at 18:13, Michael Osipov  wrote:
>
> Am 2020-12-04 um 09:05 schrieb Maxim Solodovnik:
> > Thanks a lot Michael,
> >
> > Adding more extensions to  solves my problem
> > Sorry for the noise
> >
> > the only thing can be improved: diagnostic messages :)
>
> I agree, file an issue please.
>
> > On Fri, 13 Nov 2020 at 16:59, Maxim Solodovnik  wrote:
> >
> >> Thanks Michael,
> >>
> >> I'll double-check my POM
> >> lots of previous versions works as expected 
> >>
> >> On Fri, 13 Nov 2020 at 16:55, Michael Osipov  wrote:
> >>
> >>> Am 2020-11-12 um 18:12 schrieb Maxim Solodovnik:
>  Hello All,
> 
>  I've just updated our project [1] to maven-resources-plugin:3.2.0
>  And start getting following error:
> 
>  [ERROR] Failed to execute goal
>  org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
>  (prepare-test-resources) on project openmeetings-web: Input length = 1
> >>> ->
>  [Help 1]
>  [ERROR]
> >>>
> >>> I have closed recently a false positive with a similar description. You
> >>> are trying to filter a file which does not correspond to the input
> >>> encoding. It was a binary file.
> >>>
> >>> -
> >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >>> For additional commands, e-mail: users-h...@maven.apache.org
> >>>
> >>>
> >>
> >> --
> >> Best regards,
> >> Maxim
> >>
> >
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>


-- 
Best regards,
Maxim

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven-resources-plugin:3.2.0 fails with weird error

2020-12-05 Thread Michael Osipov

Am 2020-12-04 um 09:05 schrieb Maxim Solodovnik:

Thanks a lot Michael,

Adding more extensions to  solves my problem
Sorry for the noise

the only thing can be improved: diagnostic messages :)


I agree, file an issue please.


On Fri, 13 Nov 2020 at 16:59, Maxim Solodovnik  wrote:


Thanks Michael,

I'll double-check my POM
lots of previous versions works as expected 

On Fri, 13 Nov 2020 at 16:55, Michael Osipov  wrote:


Am 2020-11-12 um 18:12 schrieb Maxim Solodovnik:

Hello All,

I've just updated our project [1] to maven-resources-plugin:3.2.0
And start getting following error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
(prepare-test-resources) on project openmeetings-web: Input length = 1

->

[Help 1]
[ERROR]


I have closed recently a false positive with a similar description. You
are trying to filter a file which does not correspond to the input
encoding. It was a binary file.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




--
Best regards,
Maxim







-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven-resources-plugin:3.2.0 fails with weird error

2020-12-04 Thread Maxim Solodovnik
Thanks a lot Michael,

Adding more extensions to  solves my problem
Sorry for the noise

the only thing can be improved: diagnostic messages :)

On Fri, 13 Nov 2020 at 16:59, Maxim Solodovnik  wrote:

> Thanks Michael,
>
> I'll double-check my POM
> lots of previous versions works as expected 
>
> On Fri, 13 Nov 2020 at 16:55, Michael Osipov  wrote:
>
>> Am 2020-11-12 um 18:12 schrieb Maxim Solodovnik:
>> > Hello All,
>> >
>> > I've just updated our project [1] to maven-resources-plugin:3.2.0
>> > And start getting following error:
>> >
>> > [ERROR] Failed to execute goal
>> > org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
>> > (prepare-test-resources) on project openmeetings-web: Input length = 1
>> ->
>> > [Help 1]
>> > [ERROR]
>>
>> I have closed recently a false positive with a similar description. You
>> are trying to filter a file which does not correspond to the input
>> encoding. It was a binary file.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> --
> Best regards,
> Maxim
>


-- 
Best regards,
Maxim


Re: maven-resources-plugin:3.2.0 fails with weird error

2020-11-13 Thread Maxim Solodovnik
Thanks Michael,

I'll double-check my POM
lots of previous versions works as expected 

On Fri, 13 Nov 2020 at 16:55, Michael Osipov  wrote:

> Am 2020-11-12 um 18:12 schrieb Maxim Solodovnik:
> > Hello All,
> >
> > I've just updated our project [1] to maven-resources-plugin:3.2.0
> > And start getting following error:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
> > (prepare-test-resources) on project openmeetings-web: Input length = 1 ->
> > [Help 1]
> > [ERROR]
>
> I have closed recently a false positive with a similar description. You
> are trying to filter a file which does not correspond to the input
> encoding. It was a binary file.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-- 
Best regards,
Maxim


Re: maven-resources-plugin:3.2.0 fails with weird error

2020-11-13 Thread Michael Osipov

Am 2020-11-12 um 18:12 schrieb Maxim Solodovnik:

Hello All,

I've just updated our project [1] to maven-resources-plugin:3.2.0
And start getting following error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
(prepare-test-resources) on project openmeetings-web: Input length = 1 ->
[Help 1]
[ERROR]


I have closed recently a false positive with a similar description. You 
are trying to filter a file which does not correspond to the input 
encoding. It was a binary file.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven-resources-plugin:3.2.0 fails with weird error

2020-11-12 Thread Greg Chabala
Given the stacktrace, I'm guessing you've found a regression from this
commit:
https://github.com/apache/maven-filtering/commit/80c045058a364c5c7d46be9c2b2ae65b81f84d7f

Nothing else in that file has changed in years. Would be good to narrow it
down to a test case though.

On Thu, Nov 12, 2020 at 7:14 PM Maxim Solodovnik 
wrote:

> Here is the output with `-e`:
>
> *mvn -version*
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /opt/maven
> Java version: 11.0.9, vendor: Ubuntu, runtime:
> /usr/lib/jvm/java-11-openjdk-amd64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-53-generic", arch: "amd64", family:
> "unix"
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
> (prepare-test-resources) on project openmeetings-web: Input length = 1 ->
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
> (prepare-test-resources) on project openmeetings-web: Input length = 1
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:215)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
> at
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
> Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Input length = 1
> at org.apache.maven.plugins.resources.ResourcesMojo.execute
> (ResourcesMojo.java:362)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:210)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
> at
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
> Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
> at 

Re: maven-resources-plugin:3.2.0 fails with weird error

2020-11-12 Thread Maxim Solodovnik
Here is the output with `-e`:

*mvn -version*
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/maven
Java version: 11.0.9, vendor: Ubuntu, runtime:
/usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-53-generic", arch: "amd64", family: "unix"

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
(prepare-test-resources) on project openmeetings-web: Input length = 1 ->
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
(prepare-test-resources) on project openmeetings-web: Input length = 1
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Input length = 1
at org.apache.maven.plugins.resources.ResourcesMojo.execute
(ResourcesMojo.java:362)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
Caused by: org.apache.maven.shared.filtering.MavenFilteringException: Input
length = 1
at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile
(DefaultMavenFileFilter.java:113)
at
org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources
(DefaultMavenResourcesFiltering.java:262)
at org.apache.maven.plugins.resources.ResourcesMojo.execute

maven-resources-plugin:3.2.0 fails with weird error

2020-11-12 Thread Falko Modler
Hi Maxim,

have you tried mvn -e ... ?
That should reveal more error details.

Cheers,

Falko

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



maven-resources-plugin:3.2.0 fails with weird error

2020-11-12 Thread Maxim Solodovnik
Hello All,

I've just updated our project [1] to maven-resources-plugin:3.2.0
And start getting following error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources
(prepare-test-resources) on project openmeetings-web: Input length = 1 ->
[Help 1]
[ERROR]

not very informative :(

the build is successful if maven-resources-plugin:3.1.0 is used

https://github.com/apache/openmeetings/

-- 
Best regards,
Maxim


Re: Weird error

2015-11-18 Thread Wayne Fay
This seems to be the issue:

he.maven.plugins:maven-eclipse-plugin:2.9:eclipse failed: A required class
was missing while executing
org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse
: org/codehaus/plexus/util/StringUtils

But I'm not sure why StringUtils is not found. Hopefully someone else pipes up.

Wayne

On Wed, Nov 18, 2015 at 6:43 AM, Shrivallabh Deshmukh
 wrote:
> Hi,
>
> I am using maven 3.3.9.
> The eclipse plugin version is Eclipse plugin version 2,9
>
> I am getting the error mentioned below. It does not happen for all
> projects. Once it starts happening, even if I clear pom to absolute
> vanilla, it still keeps giving the same error.
>
> Any help will be appreciated
>
> Thanks
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-eclipse-plugin:2.9
> :eclipse (default-cli) on project trixie: Execution default-cli of goal
> org.apac
> he.maven.plugins:maven-eclipse-plugin:2.9:eclipse failed: A required class
> was m
> issing while executing
> org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse
> : org/codehaus/plexus/util/StringUtils
> [ERROR] -
> [ERROR] realm =plugin>org.apache.maven.plugins:maven-eclipse-plugin:2.9
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/plugi
> ns/maven-eclipse-plugin/2.9/maven-eclipse-plugin-2.9.jar
> [ERROR] urls[1] =
> file:/C:/Users/shriv_000/.m2/repository/junit/junit/3.8.1/juni
> t-3.8.1.jar
> [ERROR] urls[2] =
> file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/repor
> ting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.jar
> [ERROR] urls[3] =
> file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/doxia
> /doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.jar
> [ERROR] urls[4] =
> file:/C:/Users/shriv_000/.m2/repository/commons-cli/commons-cl
> i/1.0/commons-cli-1.0.jar
> [ERROR] urls[5] =
> file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
> exus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
> [ERROR] urls[6] =
> file:/C:/Users/shriv_000/.m2/repository/commons-io/commons-io/
> 1.4/commons-io-1.4.jar
> [ERROR] urls[7] =
> file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
> exus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
> [ERROR] urls[8] =
> file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
> exus-utils/1.5.6/plexus-utils-1.5.6.jar
> [ERROR] urls[9] =
> file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
> exus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.jar
> [ERROR] urls[10] =
> file:/C:/Users/shriv_000/.m2/repository/jline/jline/0.9.1/jli
> ne-0.9.1.jar
> [ERROR] urls[11] =
> file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/mave
> n-archiver/2.2/maven-archiver-2.2.jar
> [ERROR] urls[12] =
> file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/p
> lexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar
> [ERROR] urls[13] =
> file:/C:/Users/shriv_000/.m2/repository/biz/aQute/bndlib/0.0.
> 145/bndlib-0.0.145.jar
> [ERROR] urls[14] =
> file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/shar
> ed/maven-osgi/0.2.0/maven-osgi-0.2.0.jar
> [ERROR] urls[15] =
> file:/C:/Users/shriv_000/.m2/repository/org/eclipse/core/reso
> urces/3.3.0-v20070604/resources-3.3.0-v20070604.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
> null]]
> [ERROR]
> [ERROR] -:
> org.codehaus.plex
> us.util.StringUtils
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginContaine
> rException

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Weird error

2015-11-18 Thread Shrivallabh Deshmukh
Hi,

I am using maven 3.3.9.
The eclipse plugin version is Eclipse plugin version 2,9

I am getting the error mentioned below. It does not happen for all
projects. Once it starts happening, even if I clear pom to absolute
vanilla, it still keeps giving the same error.

Any help will be appreciated

Thanks

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-eclipse-plugin:2.9
:eclipse (default-cli) on project trixie: Execution default-cli of goal
org.apac
he.maven.plugins:maven-eclipse-plugin:2.9:eclipse failed: A required class
was m
issing while executing
org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse
: org/codehaus/plexus/util/StringUtils
[ERROR] -
[ERROR] realm =plugin>org.apache.maven.plugins:maven-eclipse-plugin:2.9
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/plugi
ns/maven-eclipse-plugin/2.9/maven-eclipse-plugin-2.9.jar
[ERROR] urls[1] =
file:/C:/Users/shriv_000/.m2/repository/junit/junit/3.8.1/juni
t-3.8.1.jar
[ERROR] urls[2] =
file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/repor
ting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.jar
[ERROR] urls[3] =
file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/doxia
/doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.jar
[ERROR] urls[4] =
file:/C:/Users/shriv_000/.m2/repository/commons-cli/commons-cl
i/1.0/commons-cli-1.0.jar
[ERROR] urls[5] =
file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
exus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[6] =
file:/C:/Users/shriv_000/.m2/repository/commons-io/commons-io/
1.4/commons-io-1.4.jar
[ERROR] urls[7] =
file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
exus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
[ERROR] urls[8] =
file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
exus-utils/1.5.6/plexus-utils-1.5.6.jar
[ERROR] urls[9] =
file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/pl
exus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.jar
[ERROR] urls[10] =
file:/C:/Users/shriv_000/.m2/repository/jline/jline/0.9.1/jli
ne-0.9.1.jar
[ERROR] urls[11] =
file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/mave
n-archiver/2.2/maven-archiver-2.2.jar
[ERROR] urls[12] =
file:/C:/Users/shriv_000/.m2/repository/org/codehaus/plexus/p
lexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar
[ERROR] urls[13] =
file:/C:/Users/shriv_000/.m2/repository/biz/aQute/bndlib/0.0.
145/bndlib-0.0.145.jar
[ERROR] urls[14] =
file:/C:/Users/shriv_000/.m2/repository/org/apache/maven/shar
ed/maven-osgi/0.2.0/maven-osgi-0.2.0.jar
[ERROR] urls[15] =
file:/C:/Users/shriv_000/.m2/repository/org/eclipse/core/reso
urces/3.3.0-v20070604/resources-3.3.0-v20070604.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
null]]
[ERROR]
[ERROR] -:
org.codehaus.plex
us.util.StringUtils
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginContaine
rException


Weird Error

2010-10-21 Thread Mahdi Yusuf
I recently upgrade to Maven 3 Official. Now one of my build doesn't seem to
work. I haven't changed any of the source code and it was working fine
before. Suggestions here is my error

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2:assembly (default-cli) on
project KDM-CExtractor: Error reading assemblies: Error reading descriptor:
src.xml: Unrecognised tag: 'useDefaultExcludes' (position: START_TAG seen
.../unpack\n\t\t\t\tuseDefaultExcludes... @54:25) - [Help 1]


Then when i take that line out I get this error.


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly
(default-cli) on project KDM-CExtractor: Failed to create assembly:
Error creating assembly archive : You must set at least one file. -
[Help 1]




My plugin declaration in the pom.xml

   plugin
artifactIdmaven-assembly-plugin/artifactId
 version2.2/version
configuration
descriptors
 descriptorsrc.xml/descriptor
/descriptors
 /configuration
/plugin

and here is my descriptor :

assembly
xmlns=http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
http://maven.apache.org/xsd/assembly-1.1.0.xsd;
 id/id
formats
formatzip/format
 /formats
includeBaseDirectorytrue/includeBaseDirectory
 moduleSets
moduleSet
sources
 useDefaultExcludestrue/useDefaultExcludes
includeModuleDirectoryfalse/includeModuleDirectory
 fileSets
fileSet
useDefaultExcludestrue/useDefaultExcludes
 directoryexec/directory
excludes
excludesample//exclude
 exclude.project/exclude
/excludes
/fileSet
 fileSet
directoryjre/directory
excludes
 exclude.project/exclude
/excludes
/fileSet
 fileSet
directoryplugins/directory
excludes
 /excludes
/fileSet
fileSet
 directoryMinGW-gcc4.5/directory
excludes
 exclude.project/exclude
/excludes
/fileSet
 fileSet
directorypackaging/directory
excludes
 /excludes
outputDirectory/outputDirectory
 /fileSet
/fileSets
/sources
 includes
/includes
binaries
 outputDirectoryplugins//outputDirectory
unpackfalse/unpack
 useDefaultExcludestrue/useDefaultExcludes
excludes
 exclude.project/exclude
/excludes
/binaries
 /moduleSet
/moduleSets
/assembly


Re: Weird Error

2010-10-21 Thread Anders Hammar
Something is fishy. Your logs show that first maven-assembly-plugin v2.2 is
used, then you say you take out that line and v2.2-beta-5 is used. What
line are you removing?
Are you sure the very same version of assembly is used in Maven 2.2.1 and
Maven 3.0? Do you do ANY updates to the pom when switching Maven version?

/Anders

On Thu, Oct 21, 2010 at 17:13, Mahdi Yusuf yusuf.ma...@gmail.com wrote:

 I recently upgrade to Maven 3 Official. Now one of my build doesn't seem to
 work. I haven't changed any of the source code and it was working fine
 before. Suggestions here is my error

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-assembly-plugin:2.2:assembly (default-cli)
 on
 project KDM-CExtractor: Error reading assemblies: Error reading descriptor:
 src.xml: Unrecognised tag: 'useDefaultExcludes' (position: START_TAG seen
 .../unpack\n\t\t\t\tuseDefaultExcludes... @54:25) - [Help 1]


 Then when i take that line out I get this error.


 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly
 (default-cli) on project KDM-CExtractor: Failed to create assembly:
 Error creating assembly archive : You must set at least one file. -
 [Help 1]




 My plugin declaration in the pom.xml

   plugin
 artifactIdmaven-assembly-plugin/artifactId
  version2.2/version
 configuration
 descriptors
  descriptorsrc.xml/descriptor
 /descriptors
  /configuration
 /plugin

 and here is my descriptor :

 assembly
 xmlns=
 http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=
 http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
 http://maven.apache.org/xsd/assembly-1.1.0.xsd;
  id/id
 formats
 formatzip/format
  /formats
 includeBaseDirectorytrue/includeBaseDirectory
  moduleSets
 moduleSet
 sources
  useDefaultExcludestrue/useDefaultExcludes
 includeModuleDirectoryfalse/includeModuleDirectory
  fileSets
 fileSet
 useDefaultExcludestrue/useDefaultExcludes
  directoryexec/directory
 excludes
 excludesample//exclude
  exclude.project/exclude
 /excludes
 /fileSet
  fileSet
 directoryjre/directory
 excludes
  exclude.project/exclude
 /excludes
 /fileSet
  fileSet
 directoryplugins/directory
 excludes
  /excludes
 /fileSet
 fileSet
  directoryMinGW-gcc4.5/directory
 excludes
  exclude.project/exclude
 /excludes
 /fileSet
  fileSet
 directorypackaging/directory
 excludes
  /excludes
 outputDirectory/outputDirectory
  /fileSet
 /fileSets
 /sources
  includes
 /includes
 binaries
  outputDirectoryplugins//outputDirectory
 unpackfalse/unpack
  useDefaultExcludestrue/useDefaultExcludes
 excludes
  exclude.project/exclude
 /excludes
 /binaries
  /moduleSet
 /moduleSets
 /assembly



Re: weird error

2010-09-22 Thread tedwards

I'm seeing the same error. It's like you say. I'll build once and it will
work, another time, it will give this error. I'll build again and it will
work again.
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/weird-error-tp125075p2850214.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



weird error

2009-10-02 Thread Jan
Any one has any idea on below error, weird thing is same project works fine
if rerun it again, but the error keeps coming back, if i run this project
continuously


[INFO]

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: unknown:maven-clean-plugin
POM Location: Artifact [org.apache.maven.plugins:maven-clean-plugin:pom:2.2]

Reason: Failed to interpolate field: public static final java.lang.String
org.apache.maven.model.PluginExecution.DEFAULT_EXECUTION_ID on class:
org.apac
he.maven.model.PluginExecution for project unknown:maven-clean-plugin at
Artifact [org.apache.maven.plugins:maven-clean-plugin:pom:2.2]


[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
project for plugin 'org.apache.maven.plugins:maven-clean-plugin': Failed to
inte
rpolate field: public static final java.lang.String
org.apache.maven.model.PluginExecution.DEFAULT_EXECUTION_ID on class:
org.apache.maven.model.PluginE
xecution for project unknown:maven-clean-plugin at Artifact
[org.apache.maven.plugins:maven-clean-plugin:pom:2.2]
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1557)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1851)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1275)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
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)
Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build
project for plugin 'org.apache.maven.plugins:maven-clean-plugin': Failed to
i
nterpolate field: public static final java.lang.String
org.apache.maven.model.PluginExecution.DEFAULT_EXECUTION_ID on class:
org.apache.maven.model.Plug
inExecution for project unknown:maven-clean-plugin at Artifact
[org.apache.maven.plugins:maven-clean-plugin:pom:2.2]
at
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:293)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:205)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:184)
at
org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(DefaultPluginManager.java:1642)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1540)
... 19 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to
interpolate field: public static final java.lang.String org.apache.maven.mod
el.PluginExecution.DEFAULT_EXECUTION_ID on class:
org.apache.maven.model.PluginExecution for project
unknown:maven-clean-plugin at Artifact [org.apache.
maven.plugins:maven-clean-plugin:pom:2.2]
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:884)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
at
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:277)
... 23 more
Caused by:

Re: Weird Error -CHILDREN_COMBINATION_MODE_ATTRIBUTE

2009-09-30 Thread Jan
I'm using maven 2.2.1

Problem is i don't fix any thing, i just keep running the same pom for few
times, then this error message goes away.

On Tue, Sep 29, 2009 at 11:26 PM, Brett Porter br...@apache.org wrote:

 Do you have a sample POM that illustrates it? I'm guessing a configuration
 element with an attribute?

 What version of Maven?


 On 30/09/2009, at 11:16 AM, Jan wrote:

  Hi All,

 I'm getting this weird error at some time, even without changing anything
 this error goes off after some time,

 Any one has any idea on this?


 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: ProjectA.Admin:Web
 POM Location: C:\srcviews\RG_Myview\WEB\pom.xml

 Reason: Failed to interpolate field: public static final java.lang.String

 org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIBUTE on
 class: org.codehaus.plexus.util.xml
 .Xpp3Dom for project ProjectA.Admin:Web at
 C:\srcviews\RG_Myview\WEB\pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to interpolate
 field: public static final java.lang.String
 org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIB
 UTE on class: org.codehaus.plexus.util.xml.Xpp3Dom for project
 ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
   at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
   at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:615)
   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)
 Caused by: org.apache.maven.project.InvalidProjectModelException: Failed
 to
 interpolate field: public static final java.lang.String
 org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINA
 TION_MODE_ATTRIBUTE on class: org.codehaus.plexus.util.xml.Xpp3Dom for
 project ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
   at

 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:884)
   at

 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
   at

 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
   at
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
   at
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
   ... 12 more
 Caused by:
 org.apache.maven.project.interpolation.ModelInterpolationException: Failed
 to interpolate field: public static final java.lang.String
 org.codehaus.plexus.util.xml.Xpp3Dom.CHI
 LDREN_COMBINATION_MODE_ATTRIBUTE on class:
 org.codehaus.plexus.util.xml.Xpp3Dom
   at

 org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:318)
   at

 org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:135)
   at

 org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:102)
   at
 java.security.AccessController.doPrivileged(AccessController.java:192)
   at

 org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolateObject(StringSearchModelInterpolator.java:80)
   at

 org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolate(StringSearchModelInterpolator.java:62)
   at

 org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:990)
   at

 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
   ... 18 more
 Caused by: java.lang.IllegalAccessException: Field is final

Re: Weird Error -CHILDREN_COMBINATION_MODE_ATTRIBUTE

2009-09-30 Thread Brett Porter
Sounds strange indeed. Unfortunately, there's not much that can be  
done to help without a sample project to try it on.


- Brett

On 30/09/2009, at 11:54 PM, Jan wrote:


I'm using maven 2.2.1

Problem is i don't fix any thing, i just keep running the same pom  
for few

times, then this error message goes away.

On Tue, Sep 29, 2009 at 11:26 PM, Brett Porter br...@apache.org  
wrote:


Do you have a sample POM that illustrates it? I'm guessing a  
configuration

element with an attribute?

What version of Maven?


On 30/09/2009, at 11:16 AM, Jan wrote:

Hi All,


I'm getting this weird error at some time, even without changing  
anything

this error goes off after some time,

Any one has any idea on this?


[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: ProjectA.Admin:Web
POM Location: C:\srcviews\RG_Myview\WEB\pom.xml

Reason: Failed to interpolate field: public static final  
java.lang.String


org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIBUTE 
 on

class: org.codehaus.plexus.util.xml
.Xpp3Dom for project ProjectA.Admin:Web at
C:\srcviews\RG_Myview\WEB\pom.xml


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
interpolate

field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIB
UTE on class: org.codehaus.plexus.util.xml.Xpp3Dom for project
ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
 at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:404)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
272)

 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at
org.apache.maven.cli.compat.CompatibleMain.main 
(CompatibleMain.java:60)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at

sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:64)

 at

sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:615)
 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)
Caused by: org.apache.maven.project.InvalidProjectModelException:  
Failed

to
interpolate field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINA
TION_MODE_ATTRIBUTE on class: org.codehaus.plexus.util.xml.Xpp3Dom  
for

project ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
 at

org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
(DefaultMavenProjectBuilder.java:884)

 at

org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal 
(DefaultMavenProjectBuilder.java:508)

 at

org.apache.maven.project.DefaultMavenProjectBuilder.build 
(DefaultMavenProjectBuilder.java:200)
 at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java: 
604)

 at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
 at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
 at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:391)

 ... 12 more
Caused by:
org.apache.maven.project.interpolation.ModelInterpolationException 
: Failed

to interpolate field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHI
LDREN_COMBINATION_MODE_ATTRIBUTE on class:
org.codehaus.plexus.util.xml.Xpp3Dom
 at

org.apache.maven.project.interpolation.StringSearchModelInterpolator 
$InterpolateObjectAction.traverseObjectWithParents 
(StringSearchModelInterpolator.java:318)

 at

org.apache.maven.project.interpolation.StringSearchModelInterpolator 
$InterpolateObjectAction.run(StringSearchModelInterpolator.java:135)

 at

org.apache.maven.project.interpolation.StringSearchModelInterpolator 
$InterpolateObjectAction.run(StringSearchModelInterpolator.java:102)

 at
java.security.AccessController.doPrivileged(AccessController.java: 
192)

 at

org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolateObject 
(StringSearchModelInterpolator.java:80)

 at

org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolate 
(StringSearchModelInterpolator.java:62)

 at

org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic 
(DefaultMavenProjectBuilder.java:990)

 at

org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal

Weird Error -CHILDREN_COMBINATION_MODE_ATTRIBUTE

2009-09-29 Thread Jan
Hi All,

I'm getting this weird error at some time, even without changing anything
this error goes off after some time,

Any one has any idea on this?


[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: ProjectA.Admin:Web
POM Location: C:\srcviews\RG_Myview\WEB\pom.xml

Reason: Failed to interpolate field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIBUTE on
class: org.codehaus.plexus.util.xml
.Xpp3Dom for project ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to interpolate
field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIB
UTE on class: org.codehaus.plexus.util.xml.Xpp3Dom for project
ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
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)
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to
interpolate field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINA
TION_MODE_ATTRIBUTE on class: org.codehaus.plexus.util.xml.Xpp3Dom for
project ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:884)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by:
org.apache.maven.project.interpolation.ModelInterpolationException: Failed
to interpolate field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHI
LDREN_COMBINATION_MODE_ATTRIBUTE on class:
org.codehaus.plexus.util.xml.Xpp3Dom
at
org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:318)
at
org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:135)
at
org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:102)
at
java.security.AccessController.doPrivileged(AccessController.java:192)
at
org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolateObject(StringSearchModelInterpolator.java:80)
at
org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolate(StringSearchModelInterpolator.java:62)
at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:990)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
... 18 more
Caused by: java.lang.IllegalAccessException: Field is final
at
sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)
at java.lang.reflect.Field.set(Field.java:684)
at
org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:189)
... 25 more
[INFO]

[INFO] Total time:  1

Re: Weird Error -CHILDREN_COMBINATION_MODE_ATTRIBUTE

2009-09-29 Thread Brett Porter
Do you have a sample POM that illustrates it? I'm guessing a  
configuration element with an attribute?


What version of Maven?

On 30/09/2009, at 11:16 AM, Jan wrote:


Hi All,

I'm getting this weird error at some time, even without changing  
anything

this error goes off after some time,

Any one has any idea on this?


[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: ProjectA.Admin:Web
POM Location: C:\srcviews\RG_Myview\WEB\pom.xml

Reason: Failed to interpolate field: public static final  
java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIBUTE 
 on

class: org.codehaus.plexus.util.xml
.Xpp3Dom for project ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB 
\pom.xml



[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to  
interpolate

field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINATION_MODE_ATTRIB
UTE on class: org.codehaus.plexus.util.xml.Xpp3Dom for project
ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
   at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:404)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
272)

   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
   at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: 
60)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:64)

   at
sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)

   at java.lang.reflect.Method.invoke(Method.java:615)
   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)
Caused by: org.apache.maven.project.InvalidProjectModelException:  
Failed to

interpolate field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHILDREN_COMBINA
TION_MODE_ATTRIBUTE on class: org.codehaus.plexus.util.xml.Xpp3Dom for
project ProjectA.Admin:Web at C:\srcviews\RG_Myview\WEB\pom.xml
   at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
(DefaultMavenProjectBuilder.java:884)

   at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal 
(DefaultMavenProjectBuilder.java:508)

   at
org.apache.maven.project.DefaultMavenProjectBuilder.build 
(DefaultMavenProjectBuilder.java:200)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java: 
604)

   at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
   at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
   at org.apache.maven.DefaultMaven.getProjects 
(DefaultMaven.java:391)

   ... 12 more
Caused by:
org.apache.maven.project.interpolation.ModelInterpolationException:  
Failed

to interpolate field: public static final java.lang.String
org.codehaus.plexus.util.xml.Xpp3Dom.CHI
LDREN_COMBINATION_MODE_ATTRIBUTE on class:
org.codehaus.plexus.util.xml.Xpp3Dom
   at
org.apache.maven.project.interpolation.StringSearchModelInterpolator 
$InterpolateObjectAction.traverseObjectWithParents 
(StringSearchModelInterpolator.java:318)

   at
org.apache.maven.project.interpolation.StringSearchModelInterpolator 
$InterpolateObjectAction.run(StringSearchModelInterpolator.java:135)

   at
org.apache.maven.project.interpolation.StringSearchModelInterpolator 
$InterpolateObjectAction.run(StringSearchModelInterpolator.java:102)

   at
java.security.AccessController.doPrivileged(AccessController.java:192)
   at
org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolateObject 
(StringSearchModelInterpolator.java:80)

   at
org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolate 
(StringSearchModelInterpolator.java:62)

   at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic 
(DefaultMavenProjectBuilder.java:990)

   at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
(DefaultMavenProjectBuilder.java:880)

   ... 18 more
Caused by: java.lang.IllegalAccessException: Field is final
   at
sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set 
(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)

   at java.lang.reflect.Field.set(Field.java:684)
   at
org.apache.maven.project.interpolation.StringSearchModelInterpolator

weird error message

2008-06-25 Thread Ittay Dror
Component descriptor role: 'org.apache.maven.wagon.CommandExecutor', 
implementation: 
'org.apache.maven.wagon.providers.ssh.external.ScpExternalCommandExecutor', 
role hint: 'scpexe' has a hint, but there are other implementations that 
don't


Thank you for your help,
Ittay


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



Weird error using war overlays

2008-05-19 Thread Insitu
Hello,
We are running into a strange problem with the war plugin
(v. 2.1-alpha-1). We are trying to use overlay between two webapps,
both using jspc plugin to precompile jsps. To enable jspc, we need to
add the following pom fragement:

plugin
!-- precompilation of JSPs --
groupIdorg.codehaus.mojo/groupId

artifactIdjspc-maven-plugin/artifactId
version1.4.6/version
configuration
target1.5/target
source1.5/source
encodingUTF-8/encoding
/configuration
executions
execution
idjspc/id
goals

goalcompile/goal
/goals
/execution
/executions
/plugin
plugin
!-- non standard definition of web xml 
(ie.generated) --

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-war-plugin/artifactId
version2.1-alpha-1/version
configuration

webXml${basedir}/target/jspweb.xml/webXml
/configuration
/plugin   

Please note this is added to the pluginManagement of a toplevel pom.

Help greatly appreciated, of course :)

Here is the stack rtace from mvn -e -X:


[DEBUG] net.courtanet.b2b2c:b2b2c-presentation-webapp:war:1.1-SNAPSHOT 
(selected for null)
[DEBUG]   active project artifact:
artifact = 
net.courtanet.b2b2c:b2b2c-presentation-front:war:1.1-SNAPSHOT:compile;
project: MavenProject: 
net.courtanet.b2b2c:b2b2c-presentation-front:1.1-SNAPSHOT @ 
W:\work\b2b2c\presentation\front\pom.xml (selected for compile)
[DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war' --
[DEBUG]   (s) archiveClasses = false
[DEBUG]   (s) cacheFile = 
W:\work\b2b2c\presentation\webapp\target\war\work\webapp-cache.xml
[DEBUG]   (s) classesDirectory = 
W:\work\b2b2c\presentation\webapp\target\classes
[DEBUG]   (s) filters = []
[DEBUG]   (f) outputDirectory = W:\work\b2b2c\presentation\webapp\target
[DEBUG]   (f) primaryArtifact = true
[DEBUG]   (s) project = MavenProject: 
net.courtanet.b2b2c:b2b2c-presentation-webapp:1.1-SNAPSHOT @ 
W:\work\b2b2c\presentation\webapp\pom.xml
[DEBUG]   (s) useCache = true
[DEBUG]   (f) warName = b2b2c-webapp
[DEBUG]   (s) warSourceDirectory = 
W:\work\b2b2c\presentation\webapp\src\main\webapp
[DEBUG]   (s) webXml = W:\work\b2b2c\presentation\webapp\target\jspweb.xml
[DEBUG]   (s) webappDirectory = 
W:\work\b2b2c\presentation\webapp\target\b2b2c-webapp
[DEBUG]   (s) workDirectory = W:\work\b2b2c\presentation\webapp\target\war\work
[DEBUG] -- end configuration --
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[b2b2c-presentation-webapp] in 
[W:\work\b2b2c\presentation\webapp\target\b2b2c-webapp]
[INFO] Processing war project
[DEBUG]  + index.jsp has been copied.
[DEBUG]  + WEB-INF/web.xml has been copied.
[DEBUG]  + WEB-INF/classes/jsp/index_jsp.class has been copied.
[DEBUG] Processing: b2b2c-presentation-front-1.1-SNAPSHOT.war
OverlayPackagingTask performPackaging overlay.getTargetPath() null[INFO] 
Processing overlay[ id net.courtanet.b2b2c:b2b2c-presentation-front]
[INFO] Unpacking overlay[ id net.courtanet.b2b2c:b2b2c-presentation-front]
[INFO] Expanding: W:\work\b2b2c\presentation\front\target\b2b2c-front.war into 
W:\work\b2b2c\presentation\webapp\target\war\work\net.courtanet.b2b2c\b2b2c-presentation-front
[DEBUG] expanding 
META-INF/maven/net.courtanet.b2b2c/b2b2c-presentation-front/pom.properties to 
W:\work\b2b2c\presentation\webapp\target\war\work\net.courtanet.b2b2c\b2b2c-presentation-front\META-INF\maven\net.courtanet.b2b2c\b2b2c-presentation-front\pom.properties
[DEBUG] expanding 
META-INF/maven/net.courtanet.b2b2c/b2b2c-presentation-front/pom.xml to 
W:\work\b2b2c\presentation\webapp\target\war\work\net.courtanet.b2b2c\b2b2c-presentation-front\META-INF\maven\net.courtanet.b2b2c\b2b2c-presentation-front\pom.xml
[DEBUG] expanding META-INF/maven/net.courtanet.b2b2c/b2b2c-presentation-front/ 
to 

weird error - anyone seen this before?

2007-08-15 Thread EJ Ciramella
If I do a mvn deploy of module A, I can watch it get uploaded to our
repository and there are no errors.  I can also look over the pom that
gets created and etc and all looks great.
 
When I do a mvn install of module B, which depends on version 1.0.0.11
of module A (installed in the previous step), I get the following:
 
 
[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_11). Please file a bug
at the Java Developer Connection (http://java.sun.com/webapps/bugreport)
after checking
the Bug Parade for duplicates. Include your program and the following
diagnostic in your report.  Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: file
edu\umd\cs\findbugs\annotations\SuppressWarnings.class not found
 
 
 
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_11). Please file a bug
at the Java Developer Connection (http://java.sun.com/webapps/bugreport)
after checking
the Bug Parade for duplicates. Include your program and the following
diagnostic in your report.  Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: file
edu\umd\cs\findbugs\annotations\SuppressWarnings.class not found

 
If I do a mvn install of module A, everything is fine.
 
Any suggestions on where to look?


Re: weird error - anyone seen this before?

2007-08-15 Thread Wayne Fay
Looks like a problem related to Findbugs. Perhaps comment out your
findbugs config and see if the error goes away.

Wayne

On 8/15/07, EJ Ciramella [EMAIL PROTECTED] wrote:
 If I do a mvn deploy of module A, I can watch it get uploaded to our
 repository and there are no errors.  I can also look over the pom that
 gets created and etc and all looks great.

 When I do a mvn install of module B, which depends on version 1.0.0.11
 of module A (installed in the previous step), I get the following:


 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure
 Failure executing javac, but could not parse the error:
 An exception has occurred in the compiler (1.5.0_11). Please file a bug
 at the Java Developer Connection (http://java.sun.com/webapps/bugreport)
 after checking
 the Bug Parade for duplicates. Include your program and the following
 diagnostic in your report.  Thank you.
 com.sun.tools.javac.code.Symbol$CompletionFailure: file
 edu\umd\cs\findbugs\annotations\SuppressWarnings.class not found



 Failure executing javac, but could not parse the error:
 An exception has occurred in the compiler (1.5.0_11). Please file a bug
 at the Java Developer Connection (http://java.sun.com/webapps/bugreport)
 after checking
 the Bug Parade for duplicates. Include your program and the following
 diagnostic in your report.  Thank you.
 com.sun.tools.javac.code.Symbol$CompletionFailure: file
 edu\umd\cs\findbugs\annotations\SuppressWarnings.class not found


 If I do a mvn install of module A, everything is fine.

 Any suggestions on where to look?


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



weird error from maven-dependency plugin...

2007-03-20 Thread EJ Ciramella
 
So I've hit another wall trying to maintain my own internal repository.
I'd like to use the dependency plugin, but after installing it, I get
this message:
 
(what is this trying to indicate?)
 
[INFO] Building jar:
E:\work\up-svcs\lty\proj\LTY-P39\frontoffice\ltyApp\emailApp\target\
emailApp.jar
-
this realm =
app0.child-container[org.apache.maven.plugins:maven-dependency-plugin]
urls[0] =
file:/E:/work/m2/Repository/org/apache/maven/plugins/maven-dependency-pl
ugin/2.0-alpha-2/maven-dependency-plugin-2.0-alpha-2.jar
Number of imports: 0
 

this realm = plexus.core.maven
urls[0] = file:/E:/buildtools/maven-2.0.5/bin/../lib/commons-cli-1.0.jar
urls[1] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/doxia-sink-api-1.0-alpha-7.ja
r
urls[2] = file:/E:/buildtools/maven-2.0.5/bin/../lib/jsch-0.1.27.jar
urls[3] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/jtidy-4aug2000r7-dev.jar
urls[4] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-artifact-2.0.5.jar
urls[5] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-artifact-manager-2.0.5.
jar
urls[6] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-core-2.0.5-javadoc.jar
urls[7] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-core-2.0.5.jar
urls[8] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-error-diagnostics-2.0.5
.jar
urls[9] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-model-2.0.5.jar
urls[10] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-monitor-2.0.5.jar
urls[11] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-api-2.0.5.jar
urls[12] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-descriptor-2.0.5
.jar
urls[13] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-parameter-docume
nter-2.0.5.jar
urls[14] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-registry-2.0.5.j
ar
urls[15] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-profile-2.0.5.jar
urls[16] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-project-2.0.5.jar
urls[17] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-reporting-api-2.0.5.jar
urls[18] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-repository-metadata-2.0
.5.jar
urls[19] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-settings-2.0.5.jar
urls[20] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/plexus-interactivity-api-1.0-
alpha-4.jar
urls[21] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-file-1.0-beta-2.jar
urls[22] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-http-lightweight-1.0-be
ta-2.jar
urls[23] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-http-shared-1.0-beta-2.
jar
urls[24] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-provider-api-1.0-beta-2
.jar
urls[25] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-1.0-beta-2.jar
urls[26] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-common-1.0-beta-2.j
ar
urls[27] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-external-1.0-beta-2
.jar
urls[28] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/xml-apis-1.0.b2.jar
Number of imports: 0
 

this realm = plexus.core
urls[0] =
file:/E:/buildtools/maven-2.0.5/bin/../core/plexus-container-default-1.0
-alpha-9.jar
urls[1] =
file:/E:/buildtools/maven-2.0.5/bin/../core/plexus-utils-1.1.jar
Number of imports: 0
-
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-2:copy':
Unable to find the mojo 'o
rg.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-2:copy' in the
plugin 'org.apache.maven.plugins:maven-dependency-plugin'
org/codehaus/plexus/archiver/ArchiverException


RE: weird error from maven-dependency plugin...

2007-03-20 Thread Brian E. Fox
Seems like it can't properly load the plugin. I would try clearing
org/codehaus and org/apache/maven/plugins from your repo and see if that
solves it. (I'm guessing a local metadata issue) 

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 3:36 PM
To: users@maven.apache.org
Subject: weird error from maven-dependency plugin...

 
So I've hit another wall trying to maintain my own internal repository.
I'd like to use the dependency plugin, but after installing it, I get
this message:
 
(what is this trying to indicate?)
 
[INFO] Building jar:
E:\work\up-svcs\lty\proj\LTY-P39\frontoffice\ltyApp\emailApp\target\
emailApp.jar
-
this realm =
app0.child-container[org.apache.maven.plugins:maven-dependency-plugin]
urls[0] =
file:/E:/work/m2/Repository/org/apache/maven/plugins/maven-dependency-pl
ugin/2.0-alpha-2/maven-dependency-plugin-2.0-alpha-2.jar
Number of imports: 0
 

this realm = plexus.core.maven
urls[0] = file:/E:/buildtools/maven-2.0.5/bin/../lib/commons-cli-1.0.jar
urls[1] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/doxia-sink-api-1.0-alpha-7.ja
r
urls[2] = file:/E:/buildtools/maven-2.0.5/bin/../lib/jsch-0.1.27.jar
urls[3] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/jtidy-4aug2000r7-dev.jar
urls[4] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-artifact-2.0.5.jar
urls[5] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-artifact-manager-2.0.5.
jar
urls[6] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-core-2.0.5-javadoc.jar
urls[7] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-core-2.0.5.jar
urls[8] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-error-diagnostics-2.0.5
.jar
urls[9] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-model-2.0.5.jar
urls[10] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-monitor-2.0.5.jar
urls[11] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-api-2.0.5.jar
urls[12] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-descriptor-2.0.5
.jar
urls[13] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-parameter-docume
nter-2.0.5.jar
urls[14] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-registry-2.0.5.j
ar
urls[15] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-profile-2.0.5.jar
urls[16] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-project-2.0.5.jar
urls[17] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-reporting-api-2.0.5.jar
urls[18] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-repository-metadata-2.0
.5.jar
urls[19] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-settings-2.0.5.jar
urls[20] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/plexus-interactivity-api-1.0-
alpha-4.jar
urls[21] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-file-1.0-beta-2.jar
urls[22] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-http-lightweight-1.0-be
ta-2.jar
urls[23] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-http-shared-1.0-beta-2.
jar
urls[24] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-provider-api-1.0-beta-2
.jar
urls[25] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-1.0-beta-2.jar
urls[26] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-common-1.0-beta-2.j
ar
urls[27] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-external-1.0-beta-2
.jar
urls[28] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/xml-apis-1.0.b2.jar
Number of imports: 0
 

this realm = plexus.core
urls[0] =
file:/E:/buildtools/maven-2.0.5/bin/../core/plexus-container-default-1.0
-alpha-9.jar
urls[1] =
file:/E:/buildtools/maven-2.0.5/bin/../core/plexus-utils-1.1.jar
Number of imports: 0
-
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-2:copy':
Unable to find the mojo 'o
rg.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-2:copy' in the
plugin 'org.apache.maven.plugins:maven-dependency-plugin'
org/codehaus/plexus/archiver/ArchiverException

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



RE: weird error from maven-dependency plugin...

2007-03-20 Thread EJ Ciramella
I'm guessing it is a metadata module problem within our repository.

I hate doing this kind of management - completely stinks.  We're so
hopelessly out of date.

Most developers are running maven 2.0.5 yet we don't even have all the
core parts for 2.0.4 in our repository.

I'm sure that's why we have all kinds of build weirdness. 

-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 3:37 PM
To: Maven Users List
Subject: RE: weird error from maven-dependency plugin...

Seems like it can't properly load the plugin. I would try clearing
org/codehaus and org/apache/maven/plugins from your repo and see if that
solves it. (I'm guessing a local metadata issue) 

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 3:36 PM
To: users@maven.apache.org
Subject: weird error from maven-dependency plugin...

 
So I've hit another wall trying to maintain my own internal repository.
I'd like to use the dependency plugin, but after installing it, I get
this message:
 
(what is this trying to indicate?)
 
[INFO] Building jar:
E:\work\up-svcs\lty\proj\LTY-P39\frontoffice\ltyApp\emailApp\target\
emailApp.jar
-
this realm =
app0.child-container[org.apache.maven.plugins:maven-dependency-plugin]
urls[0] =
file:/E:/work/m2/Repository/org/apache/maven/plugins/maven-dependency-pl
ugin/2.0-alpha-2/maven-dependency-plugin-2.0-alpha-2.jar
Number of imports: 0
 

this realm = plexus.core.maven
urls[0] = file:/E:/buildtools/maven-2.0.5/bin/../lib/commons-cli-1.0.jar
urls[1] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/doxia-sink-api-1.0-alpha-7.ja
r
urls[2] = file:/E:/buildtools/maven-2.0.5/bin/../lib/jsch-0.1.27.jar
urls[3] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/jtidy-4aug2000r7-dev.jar
urls[4] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-artifact-2.0.5.jar
urls[5] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-artifact-manager-2.0.5.
jar
urls[6] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-core-2.0.5-javadoc.jar
urls[7] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-core-2.0.5.jar
urls[8] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-error-diagnostics-2.0.5
.jar
urls[9] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-model-2.0.5.jar
urls[10] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-monitor-2.0.5.jar
urls[11] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-api-2.0.5.jar
urls[12] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-descriptor-2.0.5
.jar
urls[13] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-parameter-docume
nter-2.0.5.jar
urls[14] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-plugin-registry-2.0.5.j
ar
urls[15] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-profile-2.0.5.jar
urls[16] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-project-2.0.5.jar
urls[17] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-reporting-api-2.0.5.jar
urls[18] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-repository-metadata-2.0
.5.jar
urls[19] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/maven-settings-2.0.5.jar
urls[20] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/plexus-interactivity-api-1.0-
alpha-4.jar
urls[21] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-file-1.0-beta-2.jar
urls[22] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-http-lightweight-1.0-be
ta-2.jar
urls[23] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-http-shared-1.0-beta-2.
jar
urls[24] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-provider-api-1.0-beta-2
.jar
urls[25] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-1.0-beta-2.jar
urls[26] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-common-1.0-beta-2.j
ar
urls[27] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/wagon-ssh-external-1.0-beta-2
.jar
urls[28] =
file:/E:/buildtools/maven-2.0.5/bin/../lib/xml-apis-1.0.b2.jar
Number of imports: 0
 

this realm = plexus.core
urls[0] =
file:/E:/buildtools/maven-2.0.5/bin/../core/plexus-container-default-1.0
-alpha-9.jar
urls[1] =
file:/E:/buildtools/maven-2.0.5/bin/../core/plexus-utils-1.1.jar
Number of imports: 0
-
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-2:copy':
Unable to find the mojo 'o
rg.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-2:copy' in the
plugin 'org.apache.maven.plugins:maven-dependency-plugin'
org/codehaus/plexus/archiver/ArchiverException

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

change log very weird error

2006-10-18 Thread raghurajan . x . gurunathan
Hi All

I'm having this weird error when run site:site

lets say i have dir structure like

MySRC
src
| - com
| - raghu
-pom.xml
--
pom.xml
 

in MySRC\src\pom.xml i have artifactIdtestframeworkejb/artifactId

then when i ran site:site i'm getting following error

[INFO] Generate Change Log report.
[INFO] Generating changed sets xml to: 
C:\svn-source\Dal\trunk\MySRC\src\target\changelog.xml
[INFO] Executing: svn --non-interactive log -v -r {2006-09-18 20:49:02 
+}:{2006-10-19 20:49:02 +} http://subversion.n
y.jpmorgan.com/svn/repos/DAL/trunk/MySRC/frameworkejb
[INFO] Working directory: C:\svn-source\Dal\trunk\MySRC\src
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: REPORT request failed on 
'/svn/repos/DAL/!svn/bc/109/trunk/MySRC/frameworkejb'
svn: '/svn/repos/DAL/!svn/bc/109/trunk/MySRC/frameworkejb' path not found

[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[INFO] Error during page generation

Embedded error: Error rendering Maven report: An error is occurred during 
changelog command :
Command failed.
[INFO] 

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error during page 
generation
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
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:324)
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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during 
page generation
at 
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:97)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error 
rendering Maven report: An error is occurred during cha
ngelog command :
at 
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:71)
at 
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
at 
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
at 
org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
at 
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
... 18 more
Caused by: org.apache.maven.reporting.MavenReportException: An error is 
occurred during changelog command :
at 
org.apache.maven.plugin.changelog.ChangeLogReport.generateChangeSetsFromSCM(ChangeLogReport.java:483)
at 
org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(ChangeLogReport.java:328)
at 
org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:275)
at 
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
at 
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
... 22 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Command failed.
at 
org.apache.maven.plugin.changelog.ChangeLogReport.checkResult(ChangeLogReport.java:633

Weird error with hierarchical projects

2006-09-04 Thread Matthew Denner

Hi,

I'm in the process of migrating a project from Maven 1 to Maven 2.0.4
and, although it all seems to be going well, I've hit a problem with
the hierarchy of pom.xml.

We have a project that is divided into two halves: a client side and a
manager side.  Each of these sides is further divided into
sub-projects which generate JARs, WARs and EARs.  Now, our directory
structure mirrors this so we have './client/interfaces' and
'./client/web' as 'client' side projects.  We have pom.xml files at
each level of the project so:

./pom.xml
 project
   groupIdfoo/groupId
   artifactIdbig-project/artifactId
   version1.0/version
   packagingpom/packaging
   modules
 moduleclient/module
 modulemanager/module
   /modules
 /project

./client/pom.xml
 project
   parent
 groupIdfoo/groupId
 artifactIdbig-project/artifactId
 version1.0/version
   /parent
   artifactIdbig-project-client/artifactId
   packagingpom/packaging
   modules
 moduleinterfaces/module
 moduleweb/module
   /modules
 /project

./client/interfaces.pom.xml:
 project
   parent
 groupIdfoo/groupId
 artifactIdbig-project-client/artifactId
 version1.0/version
   /parent
   artifactIdbig-project-client-interfaces/artifactId
   packagingjar/packaging
 /project

Now, if I execute 'mvn clean' at the root of this hierarchy I get what
I expect: it goes into the client project, then into the interfaces
(does the clean), back out and up into web (does the clean), and then
into the manager project  and finally exits.

If I go into the 'client/interfaces' project directory and do 'mvn
clean' that too does what I expect: cleans the current project only.

But, if I go into the 'client' project and execute 'mvn clean' I get
an error reporting that it cannot find the parent pom.xml in the
repository.  I would have expected it to going into interfaces and
then into the web project, doing the clean each time.

Weirder than this is the fact that 'mvn -X clean' clearly states that:

[DEBUG] Searching for parent-POM: foo:big-project::1.0 of project:
foo:big-project-client:pom:null in relative path: ../pom.xml
[DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml'
for project: foo:big-project-adapter:pom:null
[DEBUG] Retrieving parent-POM: foo:big-project::1.0 for project:
foo:big-project:pom:1.0 from the repository.

So it finds it and then tries to download it from the repository!?!!

Now, if I remove the 'modules' from './client/pom.xml' it doesn't
complain but doesn't do anything.

So my question is: is this a bug where you cannot execute maven
mid-project hierarchy like this, or is this something I've done wrong?

Matt

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



Weird error

2006-08-04 Thread Arnaud Bailly
Hello,
When trying to generate site, I get the following strange error:

[EMAIL PROTECTED]:~/oqube/site$ mvn -e -cpu site
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 

[INFO] Building OQube Site Francais
[INFO]task-segment: [site]
[INFO] 

[INFO] Setting property: classpath.resource.loader.class = 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error getting reports from the plugin 
'org.apache.maven.plugins:maven-project-info-reports-plugin': Unable to find 
the mojo 'org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim' 
in the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin'
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error getting reports 
from the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin': 
Unable to find the mojo 
'org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim' in the 
plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin'
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:689)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:637)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:512)
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)
Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find the 
mojo 'org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim' in 
the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin'
at 
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:533)
at 
org.apache.maven.plugin.DefaultPluginManager.getReport(DefaultPluginManager.java:462)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:678)
... 18 more
Caused by: 
org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
Unable to lookup component 
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim',
 it could not be started
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:339)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
at 
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:524)
... 20 more
Caused by: 
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: 
Error starting component
at 
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:109)
at 
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
at