[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pointing maven-javadoc-plugin to a different repository



On Sun, 30 Dec 2012 12:32:50 -0800, Mark Nesterovych wrote:

> I am not sure, but as I remember, maven threats localRepo as project
> output folder.
> In case of maven java doc plugin, try to use remoteRepositories
> configuration option.

I get the same exact error output:

---8<---
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-javadoc-plugin:2.6.1

    (found static expression:
    '/home/david/deb/git/my/apache-mime4j/debian/libapache-mime4j-java/usr/share/maven-repo'
    which may act as a default value).


Cause: Cannot assign configuration entry 'remoteRepositories' to 'interface
java.util.List' from
'/home/david/deb/git/my/apache-mime4j/debian/libapache-mime4j-java/usr/share/maven-repo',
which is of type class java.lang.String
--->8---

Reading that it expected a List, I then tried the following code:

  <remoteRepositories>
    <remoteRepository>...</remoteRepository>
  </remoteRepositories>

The compilation continued, but failed at a later point because it couldn't find
the artifacts.


Thanks for your help,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: