Quick question, I run the following and get an error message:
mvn install:install-file -Dpackaging=jar -DgroupId=org.apache.derby -
Dartifact=derby -Dversion=10.1.2.1 -Dfile=derby.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Maven Default Project
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO]
------------------------------------------------------------------------
----
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] One or more required plugin parameters are invalid/missing for
'install:install-file'
[0] on the command line, specify: '-DartifactId=VALUE'
Do you know what artifactId I need to specify?
Jim
On Jan 19, 2006, at 7:43 PM, Jeremy Boynes wrote:
Jim Marino wrote:
The problem was the issue Jeremy pointed to (http://
issues.apache.org/
jira/browse/DERBY-1). I ran into this problem on two separate OS X
machines. A workaround is to set the command line option -
Dderby.storage.fileSyncTransactionLog=true when running Maven.
Ideally,
we should have some conditional in the build script that puts
this in
for OS X. I would normally do this myself, but since it's not my
area
and I don't want to break the build, do someone more familiar
want to
do this?
Can you try with Derby 10.1.2.1 available from here:
http://db.apache.org/derby/releases/release-10.1.2.1.cgi
It's not on ibiblio yet so you will need to install the jar in your
local maven repo:
$ mvn install:install-file -Dpackaging=jar -
DgroupId=org.apache.derby \
-Dartifact=derby -Dversion=10.1.2.1 -Dfile=${file}
where ${file} is the derby.jar file from that download.
If that works it's simpler just to upgrade the Derby version. If not,
can you tell me the version of OSX and JRE so we can document that for
Derby.
Thanks
--
Jeremy