Re: keel:maven
Warren Hedges <hedgeswj-1H237VC6GES6c6uEtOJ/[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Raoul,
I had the same problem and got around it by deleting the existing keel
plugin from the $MAVEN_HOME/plugins directory
then I did a "maven clean" then downloaded the plugin again.
This worked but there must be an easier way of achieving the same result.
HTH,
Warren
Raoul Pierre wrote:
> Hello,
> I did a new try:
> - with "maven maven:install"
> - from {KEEL_HOME}/keel-build/maven-plugins/keel
> - and a slightly modified plugin.jelly from version 1.2.12
>
> Everything ran fine here. But as soon I tried to build default
> project(*) with the modified maven keel plugin, I got the same error:
>
> Goal "keel:maven" does not exist in this project.
>
> See PS #2 for details.
>
> I'm sure I didn't do any "maven jar:install" under
> {KEEL_HOME}/keel-build/maven-plugins/keel.
>
> Any idea?
>
> Pierre
>
> PS(*): with the project.xml file from the last Shash's email. The
> build is OK with the downloaded maven keel plugin 1.2.12. And the
> default application runs fine.
>
> PS #2:
>
> C:\DEV\keel\keel-build\maven-plugins\keel>maven plugin:install
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> plugin:plugin:
> java:prepare-filesystem:
> [mkdir] Created dir:
> C:\DEV\keel\keel-build\maven-plugins\keel\target\classes
>
> java:compile:
> [echo] Compiling to
> C:\DEV\keel\keel-build\maven-plugins\keel/target/classes
>
> java:jar-resources:
> Copying 2 files to
> C:\DEV\keel\keel-build\maven-plugins\keel\target\classes
>
> test:prepare-filesystem:
> [mkdir] Created dir:
> C:\DEV\keel\keel-build\maven-plugins\keel\target\test-classes
> [mkdir] Created dir:
> C:\DEV\keel\keel-build\maven-plugins\keel\target\test-reports
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>
> jar:jar:
> keel:version:
> [echo] Keel plugin v1.2.12
>
> [echo] Creating Keel xdoclet info to be included in jar
> java:prepare-filesystem:
>
> java:compile:
> [echo] Compiling to
> C:\DEV\keel\keel-build\maven-plugins\keel/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> [echo] Processing meta-info for java source in
> C:\DEV\keel\keel-build\maven-plugins\keel/src/java
> [collect-metainfo] Writing Info descriptors as property files (.meta).
> [collect-metainfo] Collecting service information.
> [mkdir] Created dir:
> C:\DEV\keel\keel-build\maven-plugins\keel\target\classes\conf\server
> [jar] Building jar:
> C:\DEV\keel\keel-build\maven-plugins\keel\target\maven-keel-plugin-1.2.12.jar
>
>
>
> plugin:install:
> [delete] Deleting 1 files from C:\dev\Maven-1.0.2\plugins
> [delete] C:\Documents and Settings\Raoul\.maven\plugins not found.
> [delete] Deleting 4 files from C:\Documents and
> Settings\Raoul\.maven\cache
> [delete] Deleted 6 directories from C:\Documents and
> Settings\Raoul\.maven\cache
> [copy] Copying 1 file to C:\dev\Maven-1.0.2\plugins
> BUILD SUCCESSFUL
> Total time: 8 seconds
> Finished at: Sat Mar 12 21:29:55 CET 2005
>
> C:\DEV\keel\keel-build\maven-plugins\keel>cd ..
>
> C:\DEV\keel\keel-build\maven-plugins>cd ..
>
> C:\DEV\keel\keel-build>cd default
>
> C:\DEV\keel\keel-build\default>maven clean
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> clean:clean:
> [delete] Deleting directory C:\DEV\keel\keel-build\default\target
> BUILD SUCCESSFUL
> Total time: 31 seconds
> Finished at: Sat Mar 12 21:38:51 CET 2005
>
> C:\DEV\keel\keel-build\default>maven keel:maven
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> BUILD FAILED
> Goal "keel:maven" does not exist in this project.
> Total time: 2 seconds
> Finished at: Sat Mar 12 21:42:33 CET 2005
>
>
>
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com