Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • bbruyn
    replied
    Originally posted by henrywu21 View Post
    I'm newbie of maven, all tries passed but only when I try to deploy to corporate repo like below by 'smartgwt:deploy -Pisc -Dbuild.date=2013-05-01', always get "Return code is: 401, ReasonPhrase: Unauthorized." error, must be username/password setting for the corporate_host, any idea of how to set it? Thanks!

    Code:
    <repository.id>corporate-nexus</repository.id>        <repository.url>http://corporate_host:9081/nexus/content/repositories/thirdparty/</repository.url>
    As you said, this is a Maven / repo config issue that has nothing to do with the plugin. You of course need a profile on your repo with deploy authority, and then you just need to add the creds to your Maven settings:

    Code:
    <settings>
    
      <servers>
        <server>
                <id>corporate-nexus</id>
    	    <username>NEXUS_USERNAME</username>
    	    <password>NEXUS_PASSWORD</password>
        </server>
      </servers>
      
      <snip/>
    
    </settings>

    Leave a comment:


  • dbscott525
    replied
    No plugin found for prefix 'smartgwt'

    I have been successfully using this plugin for probably over a month. Not when I try to use it I get the error No plugin found for prefix 'smartgwt'.

    Here is the output from Maven:

    Code:
    INFO] Scanning for projects...
    Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
    Downloading: http://repo.maven.apache.org/maven2/com/googlecode/smartgwt-maven-plugin/maven-metadata.xml
    Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
    Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (11 KB at 39.9 KB/sec)
    Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (22 KB at 76.1 KB/sec)
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 0.966s
    [INFO] Finished at: Fri May 03 18:29:39 PDT 2013
    [INFO] Final Memory: 10M/378M
    [INFO] ------------------------------------------------------------------------
    [ERROR] No plugin found for prefix 'smartgwt' in the current project and in the plugin groups [com.googlecode.smartgwt-maven-plugin, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Bruce\.m2\repository), central (http://repo.maven.apache.org/maven2)] -> [Help 1]
    Is there any reason why this would have stopped working recently?

    Of course its possible that I could have changed something on my end but so far I haven't been able to find any changes that would cause this.

    I'm running

    Code:
    mvn smartgwt:install –Pisc
    I've tried running this both from the command line and from Eclipse and I get the same results.

    Additional note: another engineer on my team is experiencing the same problem and he didn't change anything because he was on a trip for the past several days.
    Last edited by dbscott525; 3 May 2013, 18:02. Reason: additional info

    Leave a comment:


  • henrywu21
    replied
    I'm newbie of maven, all tries passed but only when I try to deploy to corporate repo like below by 'smartgwt:deploy -Pisc -Dbuild.date=2013-05-01', always get "Return code is: 401, ReasonPhrase: Unauthorized." error, must be username/password setting for the corporate_host, any idea of how to set it? Thanks!

    Code:
    <repository.id>corporate-nexus</repository.id>        <repository.url>http://corporate_host:9081/nexus/content/repositories/thirdparty/</repository.url>

    Leave a comment:


  • jpappalardo
    replied
    Just a minor inconvenience, but com.isomorphic.smartgwt:smartgwt-power does not deploy with a javadoc

    Leave a comment:


  • zatix
    replied
    Originally posted by bbruyn View Post
    No, but if I was guessing (and I have to since you haven't posted your pom) it looks like you have a problem with your dependency declaration. If you're going to use the isomorphic-network dependency group, you need to specify type=pom. i.e.,

    Code:
            <dependency>
                <groupId>com.isomorphic.smartgwt</groupId>
                <artifactId>isomorphic-network</artifactId>
                <version>${smartgwt.version}</version>
                <type>pom</type>
            </dependency>
    Indeed, I didn't need to specify the "type" tag previously.

    Tks

    Leave a comment:


  • bbruyn
    replied
    No, but if I was guessing (and I have to since you haven't posted your pom) it looks like you have a problem with your dependency declaration. If you're going to use the isomorphic-network dependency group, you need to specify type=pom. i.e.,

    Code:
            <dependency>
                <groupId>com.isomorphic.smartgwt</groupId>
                <artifactId>isomorphic-network</artifactId>
                <version>${smartgwt.version}</version>
                <type>pom</type>
            </dependency>

    Leave a comment:


  • zatix
    replied
    Coping the URL I discovered a problem with a local proxy.
    So, this problem was solved.


    But, building my project we found this error:

    Code:
    [ERROR] Failed to execute goal on project portal-orion.war: Could not resolve de
    pendencies for project br.com.zatix.portalorion:portal-orion.war:war:1.0: The re
    pository system is offline but the artifact com.isomorphic.smartgwt:isomorphic-n
    etwork:jar:3.1-p20130408 is not available in the local repository. -> [Help 1]
    ~

    Looking in to the repository I just can see:

    _maven.repositories
    isomorphic-network-3.1-p20130408.jar.lastUpdated
    isomorphic-network-3.1-p20130408.pom

    in the m2\repository\com\isomorphic\smartgwt\isomorphic-network\3.1-p20130408 directory.

    I just run "mvn smartgwt:install -Pisc"
    Perhaps I need to use some aditional argument/option?

    Leave a comment:


  • bbruyn
    replied
    As far as I know, there is no problem with the plugin or the 4/9 bundle for Power or any other edition. I just tried it from here and it seems to work as advertised. If you haven't already, you might try copy/pasting that URL into your browser and see what you get.

    Leave a comment:


  • zatix
    replied
    Working for Power Edition?

    Hi,

    I'm trying to use this for the Power edition, but I get:
    Code:
    [ERROR] Failed to execute goal com.googlecode.smartgwt-maven-plugin:smartgwt-mav
    en-plugin:3.1:download (download) on project standalone-pom: File not found at '
    http://www.smartclient.com/builds/SmartGWT/3.1p/PowerEdition/2013-04-09/smartgwt
    power-3.1p.zip'.Expected response with ContentType application/zip, but got text
    /html; charset="utf-8". Is a build available for the given date?  Are your login
     credentials correct?  Are you licensed for the specified download? -> [Help 1]
    User and Password are ok.

    Leave a comment:


  • jpappalardo
    replied
    I have had great success with this project in its present state. It appears to be ready for prime time. I must say that I am greatly appreciative of your efforts to make Smart GWT mavenized. You made a tool that greatly reduces the effort to keep the Smart GWT API current and allowed us to use our CM toolset as intended. Thank you very much.

    Leave a comment:


  • bbruyn
    replied
    Proxy awareness is now included in 2.5-3.1 releases, which have been staged again at https://oss.sonatype.org/content/rep...en-plugin-011/. You'll just need to change your pluginRepository appropriately:

    Code:
    <pluginRepository>
      <id>sonatype-staging</id>
      <name>Sonatype Staged Release</name>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <url>https://oss.sonatype.org/content/repositories/comgooglecodesmartgwt-maven-plugin-011/</url>
      <layout>default</layout>
    </pluginRepository>

    Leave a comment:


  • 238759
    replied
    With the latest revision of your plugin everything went fine. The download of the 4.0d EVAL works like a charm.

    Thanks for your work.

    Leave a comment:


  • bbruyn
    replied
    My mistake, sorry about that. Should be available now if you'll try again.

    Leave a comment:


  • 238759
    replied
    Hello bbruyn,

    I saw your code update but it seems the plugin 4.0 in the snapshot repo it still the old one (dated 17 Jan). Do I need to compile it on my own ?

    Leave a comment:


  • bbruyn
    replied
    I guess I don't know whether the JVM settings are supposed to work or not. I just know that both Maven and httpclient provide APIs for it, and it does seem reasonable that the plugin should respect whatever you have defined in your Maven settings.

    I think I've patched the 4.0-SNAPSHOT to do so, but I don't have a good way to test it at the moment. If you'll give that one a try and let me know how you do with it, I'll merge it back into the other releases and stage them again.

    Thanks for the feedback.

    Leave a comment:

Working...
X