Without testing anything, I would assume the <repository></repository> in your <distributionManagement> section may be causing this error. Remove it (or just take out the entire distMgmt node) and try again.
Wayne On Wed, Oct 29, 2008 at 8:56 AM, <[EMAIL PROTECTED]> wrote: > Hello > > i am stating using maven and i am finding a lot of problems. > > now i made this command (bellow i writte the pom file): > > mvn -B -s "C:\Documents and Settings\user\.m2\settings.xml" source:jar > > and appears this problem (Can you help me please?): > > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] null > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NullPointerException > at org.apache.maven.wagon.PathUtils.protocol(PathUtils.java:206) > at > org.apache.maven.wagon.repository.Repository.setUrl(Repository.java:1 > 21) > at > org.apache.maven.wagon.repository.Repository.<init>(Repository.java:7 > 4) > at > org.apache.maven.artifact.repository.DefaultArtifactRepository.<init> > (DefaultArtifactRepository.java:70) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
