On 1/20/06, Peter Henderson <
[EMAIL PROTECTED]> wrote:
Bernd Bohmann wrote:
> Please remove the plugin from your repository.
>
> rm -rf ~/.m2/repository/org/codehaus/mojo/xslt-maven-plugin/
>
> then you should get a working version from the atanion repository.
Thanks for the reply Bernd.
I dont have that plugin in my repository.
[EMAIL PROTECTED] ~/downloads/java/maven/xslt $ ls -l
~/.m2/repository/org/codehaus
ls: /home/peter/.m2/repository/org/codehaus: No such file or directory
I feel like Im the only one who cant build MyFaces from svn...
Regards
Peter.
>
> Regards
>
> Bernd
>
> Peter Henderson schrieb:
>
>> Sean Schofield wrote:
>>
>>> Try also uncommenting this in the master pom
>>>
>>> <pluginRepositories>
>>> <pluginRepository>
>>> <snapshots>
>>> <enabled>true</enabled>
>>> </snapshots>
>>> <id>atanion</id>
>>> <url>http://www.atanion.com/maven2</url>
>>> </pluginRepository>
>>> </pluginRepositories>
>>>
>>> I believe there is a working version of the plugin there.
>>>
>>> Sean
>>>
>>>
>>
>> Thanks. Excuse my maven inexperience. but the pom.xml I retreived
>> from svn does not have a commented out block as above.
>> I did add it, but it seemed to make no difference.
>>
>>
>> I had a look at the jira issue you linked to. I would post a follow
>> on, but it seems today is bug day and I've broken jira too. **sigh**.
>>
>> Peter.
>>
>>
>>>
>>> On 1/19/06, Sean Schofield < [EMAIL PROTECTED]> wrote:
>>>
>>>
>>>> I had the same problem and posted an issue on it[1]. I haven't tried
>>>> rebuilding yet. Let me know if this works.
>>>>
>>>> Sean
>>>>
>>>> [1] http://jira.codehaus.org/browse/MOJO-247?page=all
>>>>
>>>> On 1/19/06, Peter Henderson <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>> Thomas Gaudin wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I had similar problem and to have the plugin installed I had to
>>>>>> modify
>>>>>> the pom.xml :
>>>>>>
>>>>>> <project>
>>>>>> <modelVersion>4.0.0</modelVersion>
>>>>>> <parent>
>>>>>> <artifactId>mojo-sandbox</artifactId>
>>>>>> <groupId>org.codehaus.mojo</groupId>
>>>>>> <version>1</version>
>>>>>> </parent>
>>>>>> ....
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Thanks for the feed back. Unfortunatly that does not fix the problem.
>>>>> I changed <version>2-SNAPSHOT</version> to <version>1</version>
>>>>> I also tried various version of 1 1.0 1-SNAPSHOT etc.
>>>>>
>>>>> Hmm Im even more confused, now, having just checked out the previous
>>>>> revisions of pom.xml (rev 1275 and 1168) I get the same error.
>>>>> Perhaps the problem is outside of my environment?
>>>>>
>>>>> Peter.
>>>>>
>>>>>
>>>>>
>>>>>> and run "mvn install" from the root directory but not from src
>>>>>>
>>>>>> Hope it helps,
>>>>>>
>>>>>> Thomas
>>>>>>
>>>>>> Peter Henderson a écrit :
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi list.
>>>>>>>
>>>>>>> Im trying to build MyFaces using Maven, by following the
>>>>>>> instructions
>>>>>>> at http://wiki.apache.org/myfaces/Building_With_Maven.
>>>>>>>
>>>>>>> The trouble is I cant even get the XSLT plugin to build. (Step 0)
>>>>>>>
>>>>>>> I check out the src.
>>>>>>>
>>>>>>> svn co
>>>>>>> https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xslt-maven-plugin
>>>>>>>
>>>>>>> A xslt-maven-plugin/src
>>>>>>> A xslt-maven-plugin/src/main
>>>>>>> A xslt-maven-plugin/src/main/java
>>>>>>> A xslt-maven-plugin/src/main/java/org
>>>>>>> A xslt-maven-plugin/src/main/java/org/codehaus
>>>>>>> A xslt-maven-plugin/src/main/java/org/codehaus/mojo
>>>>>>> A xslt-maven-plugin/src/main/java/org/codehaus/mojo/xslt
>>>>>>> A
>>>>>>> xslt-maven-plugin/src/main/java/org/codehaus/mojo/xslt/XsltMojo.java
>>>>>>>
>>>>>>> A xslt-maven-plugin/pom.xml
>>>>>>> Checked out revision 1356.
>>>>>>>
>>>>>>> OK no problem so far.
>>>>>>> Then I run
>>>>>>>
>>>>>>>
>>>>>>> mvn install -e
>>>>>>> + Error stacktraces are turned on.
>>>>>>> [INFO] Scanning for projects...
>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> [INFO] Building Maven Default Project
>>>>>>> [INFO] task-segment: [install]
>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
>>>>>>> checking for updates from central
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.1/maven-resources-plugin-2.1.pom
>>>>>>>
>>>>>>>
>>>>>>> 888b downloaded
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
>>>>>>>
>>>>>>>
>>>>>>> 6K downloaded
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.1/maven-resources-plugin-2.1.jar
>>>>>>>
>>>>>>>
>>>>>>> 10K downloaded
>>>>>>> [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin:
>>>>>>> checking for updates from central
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.pom
>>>>>>>
>>>>>>>
>>>>>>> 1K downloaded
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.jar
>>>>>>>
>>>>>>>
>>>>>>> 13K downloaded
>>>>>>> [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin:
>>>>>>> checking for updates from central
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2/maven-surefire-plugin-2.1.2.pom
>>>>>>>
>>>>>>>
>>>>>>> 2K downloaded
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.2/maven-surefire-plugin-2.1.2.jar
>>>>>>>
>>>>>>>
>>>>>>> 9K downloaded
>>>>>>> [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking
>>>>>>> for updates from central
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.0/maven-jar-plugin-2.0.pom
>>>>>>>
>>>>>>>
>>>>>>> 737b downloaded
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.0/maven-jar-plugin-2.0.jar
>>>>>>>
>>>>>>>
>>>>>>> 7K downloaded
>>>>>>> [INFO] artifact org.apache.maven.plugins:maven-install-plugin:
>>>>>>> checking for updates from central
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.pom
>>>>>>>
>>>>>>>
>>>>>>> 981b downloaded
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.jar
>>>>>>>
>>>>>>>
>>>>>>> 8K downloaded
>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> [ERROR] BUILD ERROR
>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> [INFO] Cannot execute mojo: resources. It requires a project
>>>>>>> with an
>>>>>>> existing pom.xml, but the build is not using one.
>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> [INFO] Trace
>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot
>>>>>>> execute mojo: resources. It requires a project with an existing
>>>>>>> pom.xml, but the build is not using one.
>>>>>>> at
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :555)
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java :472)
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :451)
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:303)
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:270)
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLifecycleExecutor.java:139)
>>>>>>>
>>>>>>>
>>>>>>> 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 :249)
>>>>>>> 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.MojoExecutionException: Cannot
>>>>>>> execute mojo: resources. It requires a project with an existing
>>>>>>> pom.xml, but the build is not using one.
>>>>>>> at
>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:359)
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:530)
>>>>>>>
>>>>>>>
>>>>>>> ... 16 more
>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> [INFO] Total time: 2 minutes 44 seconds
>>>>>>> [INFO] Finished at: Thu Jan 19 14:37:12 GMT 2006
>>>>>>> [INFO] Final Memory: 2M/4M
>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Whats wrong?
>>>>>>>
>>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>> Peter Henderson.
>>>>>>> ---------------------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> Wanadoo vous informe que cet e-mail a ete controle par
>>>>>>> l'anti-virus
>>>>>>> mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>

