Re: Default example project...
Raoul Pierre <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Aleks,
Delete all the "*.cache" files in your "maven.plugin.unpacked.dir"
directory (*) and try again.
Pierre
PS : by default |it's ${maven.home.local}/cache| directory with
|"maven.home.local" defined in your ${home}/build.properties|
Aleksandar Vidakovic a écrit :
>Shash,
>
>sorry to bother you again, but now I'm having a problem executing goals
>from the maven keel plugin. The plugin's goals don't seem to be
>available directly. I'm getting errors like this one:
>
>bash-2.05b$ maven -b keel:uberjar
>BUILD FAILED
>Goal "keel:uberjar" does not exist in this project.
>Total time: 4 seconds
>Finished at: Mon Mar 28 13:25:00 CEST 2005
>
>The plugin is installed... actually it fires up if I do a "maven war" in
>my webapp project. Now I wanted to execute a "maven keel:uberjar
>keel:tests" in a service project, but all I get is the above error. My
>first idea was reinstalling the plugin, but the error remains. BTW:
>before I built my webapp project with "maven keel:maven clean war"
>everything worked fine... is this a bug?
>
>Aleks
>
>On Sun, 2005-03-27 at 16:00 -0600, Shash Chatterjee wrote:
>
>
>>Aleks,
>>
>>I think you have some parts of the plugin (from CVS) and not
>>others...there have been really massive changes in all the modules
>>over the past two weeks.
>>
>>First of all, if you want your tests to be included (an earlier post
>>of yours), each module's build.properties should contain:
>>maven.test.dest=${maven.build.dir}/classes
>>
>>I'd strongly suggest you sync up all the modules from CVS, if you are
>>going to use 1.2.14 plugin, and delete the "target" dir in *every*
>>module. Then, go to keel-build, tool-config, tool-maven and do a
>>"maven jar:install " on each of those. Then, go to tool-maven-plugin
>>and do a "maven plugin:install" on that.
>>
>>After the plugin and all its dependencies are built as above, I'd then
>>do a "maven -Dgoal=jar:install multiproject:goal" from the $KEEL_HOME
>>directory.
>>
>>Finally, from the default example copy the build.properties and
>>project.xml into your project directory, do a "maven keel:maven clean
>>war" and see if the server starts for you. It has been for me.
>>
>>Shash
>>
>>PS: I have the following in my $HOME/build.properties:
>>
>>maven.repo.remote=http://www.ibiblio.org/maven,http://www.apache.org/dist/java-repository,http://svn.apache.org/repos/asf/excalibur/repository,http://www.keelframework.org/maven
>>maven.multiproject.ignoreFailures=true
>>maven.multiproject.includes=*/project.xml
>>maven.multiproject.excludes=tool-xdoclet/project.xml,tool-maven-plugin/project.xml
>>
>>
>>
>>
>>>Salut all,
>>>
>>>is the default project working for anybody... I think there are some
>>>dependencies missing (solved this). My biggest problem is that my keel
>>>server does not start... and I think it's because the whole
>>>configuration stuff (WEB-INF/keel/server/conf) is missing. I think the
>>>war file is almost ok except for the configuration issue. BTW: I used
>>>the maven plugin from CVS HEAD (1.2.14). Here is my project.xml:
>>>
>>>[code]
>>>
>>><?xml version="1.0" encoding="UTF-8"?>
>>><project>
>>> <pomVersion>3</pomVersion>
>>> <name>Keel Example Project - Default</name>
>>> <id>default</id>
>>> <groupId>keel</groupId>
>>> <currentVersion>1.0</currentVersion>
>>> <description>
>>>This example project builds a Keel deployment in a "single-webapp" style
>>>- the simplest Keel environment for web deployment. It uses Struts as
>>>the UI,
>>>and includes several of the basic Keel applications, including
>>>Registration/Login and Poll.
>>> </description>
>>> <shortDescription>Default</shortDescription>
>>> <dependencies>
>>> <!--
>>> Our own applications
>>> -->
>>> <!--
>>> Keel Applications
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>app-crud</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>app-navigate</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>app-poll</artifactId>
>>> <version>2.0.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>app-register</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>app-util</artifactId>
>>> <version>1.1.1</version>
>>> </dependency>
>>> <!--
>>> Keel Services
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-authentication-persist</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-authorization-persist</artifactId>
>>> <version>2.1.2</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-cache-excalibur</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-crypto-base64</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-crypto-des</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-domain-config</artifactId>
>>> <version>1.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-event-defaultevent</artifactId>
>>> <version>2.2.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-filter-filters</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-httpunit</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-mail-javamail</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-model-defaultmodel</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-password-jpassgen</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-persist-base</artifactId>
>>> <version>1.2.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-persist-default</artifactId>
>>> <version>2.1.1</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>svc-usergroup-persist</artifactId>
>>> <version>1.1.1</version>
>>> </dependency>
>>> <!--
>>> Keel Client(s)
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>clnt-cli</artifactId>
>>> <version>1.2.2</version>
>>> <properties>
>>> <keel.client>true</keel.client>
>>> <war.bundle>true</war.bundle>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>clnt-struts</artifactId>
>>> <version>3.1.1</version>
>>> <properties>
>>> <keel.client>true</keel.client>
>>> <war.bundle>true</war.bundle>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>keel-client</artifactId>
>>> <version>2.2.1</version>
>>> <type>jar</type>
>>> <properties>
>>> <keel.client>true</keel.client>
>>> <war.bundle>true</war.bundle>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>concurrent</groupId>
>>> <artifactId>concurrent</artifactId>
>>> <version>1.3.1</version>
>>> <type>jar</type>
>>> <properties>
>>> <keel.client>true</keel.client>
>>> <war.bundle>true</war.bundle>
>>> </properties>
>>> </dependency>
>>> <!--
>>> Keel Comm
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>comm-direct</artifactId>
>>> <version>1.1.2</version>
>>> </dependency>
>>> <!--
>>> Keel Core
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>keel-core</artifactId>
>>> <version>4.0</version>
>>> </dependency>
>>> <!--
>>> Keel Common
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>keel-common</artifactId>
>>> <version>3.0</version>
>>> </dependency>
>>> <!--
>>> Keel Server
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>keel-server</artifactId>
>>> <version>3.0.1</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>avalon-framework</groupId>
>>> <artifactId>avalon-framework</artifactId>
>>> <version>4.1.5</version>
>>> <type>jar</type>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-logger</groupId>
>>> <artifactId>excalibur-logger</artifactId>
>>> <version>1.1</version>
>>> <type>jar</type>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <!--
>>> Keel Container
>>> -->
>>> <dependency>
>>> <groupId>keel</groupId>
>>> <artifactId>keel-container</artifactId>
>>> <version>4.0</version>
>>> <type>jar</type>
>>> </dependency>
>>> <dependency>
>>> <groupId>d-haven-managed-pool</groupId>
>>> <artifactId>d-haven-managed-pool</artifactId>
>>> <version>1.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>d-haven-event</groupId>
>>> <artifactId>d-haven-event</artifactId>
>>> <version>1.0.3</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-configuration</groupId>
>>> <artifactId>excalibur-configuration</artifactId>
>>> <version>1.2</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-datasource</groupId>
>>> <artifactId>excalibur-datasource</artifactId>
>>> <version>1.2.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-fortress</groupId>
>>> <artifactId>excalibur-fortress-container-api</artifactId>
>>> <version>20050320</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-fortress</groupId>
>>> <artifactId>excalibur-fortress-container-impl</artifactId>
>>> <version>20050320</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-i18n</groupId>
>>> <artifactId>excalibur-i18n</artifactId>
>>> <version>1.1</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-instrument</groupId>
>>> <artifactId>excalibur-instrument-api</artifactId>
>>> <version>1.2-dev</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-instrument</groupId>
>>> <artifactId>excalibur-instrument-mgr-api</artifactId>
>>> <version>1.2-dev</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-instrument</groupId>
>>> <artifactId>excalibur-instrument-mgr-http</artifactId>
>>> <version>1.2-dev</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-instrument</groupId>
>>> <artifactId>excalibur-instrument-mgr-impl</artifactId>
>>> <version>1.2-dev</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-lifecycle</groupId>
>>> <artifactId>excalibur-lifecycle-api</artifactId>
>>> <version>1.1</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-lifecycle</groupId>
>>> <artifactId>excalibur-lifecycle-impl</artifactId>
>>> <version>1.1</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-logger</groupId>
>>> <artifactId>excalibur-logger</artifactId>
>>> <version>1.1</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-pool</groupId>
>>> <artifactId>excalibur-pool-api</artifactId>
>>> <version>2.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-pool</groupId>
>>> <artifactId>excalibur-pool-impl</artifactId>
>>> <version>2.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-pool</groupId>
>>> <artifactId>excalibur-pool-instrumented</artifactId>
>>> <version>2.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-sourceresolve</groupId>
>>> <artifactId>excalibur-sourceresolve</artifactId>
>>> <version>2.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-thread</groupId>
>>> <artifactId>excalibur-thread-api</artifactId>
>>> <version>2.0.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>excalibur-thread</groupId>
>>> <artifactId>excalibur-thread-impl</artifactId>
>>> <version>2.0.0</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <dependency>
>>> <groupId>logkit</groupId>
>>> <artifactId>logkit</artifactId>
>>> <version>1.2.2</version>
>>> <properties>
>>> <keel.server>true</keel.server>
>>> </properties>
>>> </dependency>
>>> <!--
>>> JDBC Drivers
>>> -->
>>> <dependency>
>>> <groupId>hsqldb</groupId>
>>> <artifactId>hsqldb</artifactId>
>>> <version>1.7.3.0</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>mysql</groupId>
>>> <artifactId>mysql-connector-java</artifactId>
>>> <version>3.1.4-beta-bin</version>
>>> </dependency>
>>> <dependency>
>>> <groupId>postgresql</groupId>
>>> <artifactId>postgresql</artifactId>
>>> <version>7.4.1-jdbc3</version>
>>> </dependency>
>>> </dependencies>
>>></project>
>>>
>>>[/code]
>>>
>>>Thanks,
>>>
>>>Aleks
>>>
>>>
>>>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