Stephen, I downloaded the template project from the repository and I
executed "maven". I obtain the following error:
D:\Projects\Merlin_template>maven
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
Starting the reactor...
Our processing order:
Template API
Template Implementation
+----------------------------------------
| Building: Template API
| Memory: 1M/2M
+----------------------------------------
avalon:build:
java:prepare-filesystem:
[mkdir] Created dir: D:\Projects\Merlin_template\api\target\classes
java:compile:
[echo] Compiling to D:\Projects\Merlin_template\api/target/classes
[javac] Compiling 1 source file to
D:\Projects\Merlin_template\api\target\classes
java:jar-resources:
test:prepare-filesystem:
[mkdir] Created dir: D:\Projects\Merlin_template\api\target\test-classes
[mkdir] Created dir: D:\Projects\Merlin_template\api\target\test-reports
test:test-resources:
test:compile:
[echo] No test source files to compile.
test:test:
[echo] No tests to run.
jar:jar:
[jar] Building jar:
D:\Projects\Merlin_template\api\target\template-api-1.0.jar
jar:install:
[echo]
id = 'template-api'
groupId = 'template'
artifactDirectory = 'template'
[copy] Copying 1 file to C:\Documents and
Settings\mtedone\.maven\repository\template\jars
+----------------------------------------
| Building: Template Implementation
| Memory: 7M/10M
+----------------------------------------
Attempting to download template-api-1.0.jar.
WARNING: Failed to download template-api-1.0.jar.
BUILD FAILED
File...... file:/D:/Projects/Merlin_template/
Element... maven:reactor
Line...... 20
Column.... 31
The build cannot continue because of the following unsatisfied dependency:
template-api-1.0.jar (no download url specified)
Total time: 13 seconds
Finished at: Sat Dec 20 14:38:52 GMT 2003
D:\Projects\Merlin_template>
I noted few things that seemed to me strange:
1) The /target folder is created under /api (is this the default behaviour?)
2) The maven.xml under /api is different from the maven.xml under /impl. The
one under /api contains only the following:
<project default="jar:install"/>
While the one under /impl contains the following:
<project default="jar:install">
<preGoal name="java:compile">
<attainGoal name="avalon:meta"/>
</preGoal>
</project>
The jars created at the end contains only the Manifest.mf and the
Sample.class file
Any idea?
Marco
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]