maven-javanet-plugin
  1. maven-javanet-plugin
  2. MAVEN_JAVANET_PLUGIN-1

javanet:deploy-xxx doesn't work when groupId != java.net project name

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Incomplete
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      1

      Description

      Hello Kohsuke,

      I still can't get this to work, even with your 1.4-SNAPSHOT release. Here is
      the output from the build.

      I think the operative line is " [cvs] User edburns doesn't have <VersionControl

      • Add> access to project javax.faces"

      In the meantime, can you please give me write access to the repository manually
      so I can just put the files there?

      Thanks.

      Ed

      __ __

      \/ __ Apache_ ___
        \/ / ` \ V / -) ' \ ~ intelligent projects ~
      _   _,_ _/___ _ _ v. 1.0.2

      build:start:

      javanet:check:

      java:compile:
      [unjar] Expanding:
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/build/lib/jsf-api.jar
      into /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/classes

      java:jar-resources:

      test:prepare-filesystem:

      test:test-resources:

      test:compile:
      [echo] No test source files to compile.

      test:test:
      [echo] No tests to run.

      jar:jar:

      javanet:deploy-jar:
      javanet:check:

      [echo] Tempdir is
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo
      [delete] Deleting directory
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo
      [echo] Processing artifact
      '/Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/jsf-api-1.2-b12-SNAPSHOT.jar'
      [echo] Type is 'jar'
      [echo] Path is
      '/Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/jars'
      [mkdir] Created dir:
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/jars
      [copy] Copying 1 file to
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/jars
      [checksum] Calculating MD5 checksum for
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/jars/jsf-api-1.2-b12-SNAPSHOT.jar
      [checksum] Calculating SHA checksum for
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/jars/jsf-api-1.2-b12-SNAPSHOT.jar
      [mkdir] Created dir:
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/poms
      [copy] Copying 1 file to
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/poms
      [checksum] Calculating MD5 checksum for
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/poms/jsf-api-1.2-b12-SNAPSHOT.pom
      [checksum] Calculating SHA checksum for
      /Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api/target/repo/poms/jsf-api-1.2-b12-SNAPSHOT.pom
      [echo] CVSROOT is: :pserver:edburns@cvs.dev.java.net:/cvs
      [cvs] Using cvs passfile: /Users/edburns/.cvspass
      [cvs] User edburns doesn't have <VersionControl - Add> access to project
      javax.faces

      BUILD FAILED
      File......
      /Users/edburns/.maven/cache/maven-javanet-plugin-1.4-SNAPSHOT/plugin.jelly
      Element... cvs
      Line...... 183
      Column.... 55
      cvs exited with error code 1
      Command line was [Executing 'cvs' with arguments:
      '-d:pserver:edburns@cvs.dev.java.net:/cvs'
      '-z9'
      'import'
      '-ko'
      '-W'
      '*.jar'
      '-k'
      'b'
      '-W'
      '*.war'
      '-k'
      'b'
      '-W'
      '*.zip'
      '-k'
      'b'
      '-W'
      '*.tar.gz'
      '-k'
      'b'
      '-W'
      '*.png -k 'b''
      '-W'
      '*.gif -k 'b''
      '-m'
      'deployment by maven-javanet-plugin'
      'javax.faces/repo'
      'deployment-by-maven-javanet-plugin'
      't200601310935'

      The ' characters around the executable and arguments are
      not part of the command.

      environment:

      MANPATH=/sw/share/man:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/man:/usr/share/man:/usr/X11R6/man
      TERM_PROGRAM=Apple_Terminal
      SHELL=/bin/bash
      TERM=xterm-color
      PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
      TERM_PROGRAM_VERSION=133
      ANT_HOME=/Users/edburns/downloads/ant-1.6.5
      USER=edburns
      __CF_USER_TEXT_ENCODING=0x9114:0:0

      PATH=/sw/bin:/sw/sbin:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin:/Users/edburns/downloads/ant-1.6.5/bin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/edburns/downloads/maven-1.0.2/bin:/Users/edburns/bin:/usr/X11R6/bin
      MAVEN_HOME=/Users/edburns/downloads/maven-1.0.2
      PWD=/Users/edburns/Projects/J2EE/workareas/jsf-trunk/jsf-api
      JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
      HOME=/Users/edburns
      SHLVL=2
      LOGNAME=edburns
      INFOPATH=/sw/share/info:/sw/info:/usr/share/info
      JDKHOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
      SECURITYSESSIONID=40cc50
      _=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
      JAVA_MAIN_CLASS_4196=com.werken.forehead.Forehead
      CVS_PASSFILE=/Users/edburns/.cvspass]
      Total time: 25 seconds
      Finished at: Tue Jan 31 09:35:53 EST 2006

        Activity

        Hide
        kohsuke added a comment -

        Ed confirmed that setting maven.javanet.project property fixed the problem.

        In the future we shall consider inferring that information from CVS/Root.

        Show
        kohsuke added a comment - Ed confirmed that setting maven.javanet.project property fixed the problem. In the future we shall consider inferring that information from CVS/Root.

          People

          • Assignee:
            maven-javanet-plugin-issues
            Reporter:
            Ed Burns
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: