Spring Roo
  1. Spring Roo
  2. ROO-1551

Update the generated pom.xml file to reference the Google snapshot repo

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      The current pom.xml that we generate references the M3 repo, it needs to be updated to reference the Google snapshot repo at:

      https://oss.sonatype.org/content/repositories/google-snapshots

        Activity

        Hide
        Christian Dupuis added a comment -

        Chris,

        do you also host the Maven plugins at this new repo location?

        		<repositories>
        			<repository>
        				<id>gwt-repo</id>
        				<name>Google Web Toolkit Repository</name>
        				<url>https://oss.sonatype.org/content/repositories/google-snapshots</url>
        			</repository>
        		</repositories>
        		<pluginRepositories>
        			<pluginRepository>
        				<id>gwt-plugin-repo</id>
        				<name>Google Web Toolkit Plugin Repository</name>
        				<url>https://oss.sonatype.org/content/repositories/google-snapshots</url>
        			</pluginRepository>
        		</pluginRepositories>
        
        Show
        Christian Dupuis added a comment - Chris, do you also host the Maven plugins at this new repo location? <repositories> <repository> <id>gwt-repo</id> <name>Google Web Toolkit Repository</name> <url>https: //oss.sonatype.org/content/repositories/google-snapshots</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>gwt-plugin-repo</id> <name>Google Web Toolkit Plugin Repository</name> <url>https: //oss.sonatype.org/content/repositories/google-snapshots</url> </pluginRepository> </pluginRepositories>
        Hide
        Christian Dupuis added a comment -

        Ok, to answer my own question: The gwt maven plugin is still at the old M3 location.

        Only updating the repository section and not the pluginRepository entry.

        Christian

        Show
        Christian Dupuis added a comment - Ok, to answer my own question: The gwt maven plugin is still at the old M3 location. Only updating the repository section and not the pluginRepository entry. Christian
        Hide
        Chris Ramsdale added a comment -

        It's actually in the new RC1 repo:
        http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/gwt/maven/

        So the code snippet you included would should look more like:

         
        <repositories>
          <repository>
            <id>gwt-repo</id>
            <name>Google Web Toolkit Repository</name>
            <url>https://oss.sonatype.org/content/repositories/google-snapshots</url>
          </repository>
        </repositories>
        
        <pluginRepositories>
          <pluginRepository>
            <id>gwt-plugin-repo</id>
            <name>Google Web Toolkit Plugin Repository</name>
            <url>http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/gwt/maven/</url>
          </pluginRepository>
        </pluginRepositories>
        

        We're trying to make this as complicated as possible.

        Show
        Chris Ramsdale added a comment - It's actually in the new RC1 repo: http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/gwt/maven/ So the code snippet you included would should look more like: <repositories> <repository> <id>gwt-repo</id> <name>Google Web Toolkit Repository</name> <url>https: //oss.sonatype.org/content/repositories/google-snapshots</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>gwt-plugin-repo</id> <name>Google Web Toolkit Plugin Repository</name> <url>http: //google-web-toolkit.googlecode.com/svn/2.1.0.RC1/gwt/maven/</url> </pluginRepository> </pluginRepositories> We're trying to make this as complicated as possible.
        Hide
        Christian Dupuis added a comment -

        I committed a fix for this in sha1 1a648e59fb570d099495352f50d453a45b5b6b43.

        Please note that for now the pluginRepository hasn't changed as the RC1 one doesn't seem to work in my tests.

        Christian

        Show
        Christian Dupuis added a comment - I committed a fix for this in sha1 1a648e59fb570d099495352f50d453a45b5b6b43. Please note that for now the pluginRepository hasn't changed as the RC1 one doesn't seem to work in my tests. Christian
        Hide
        Chris Ramsdale added a comment -

        Here's the error he was seeing (not sure if this is the full error or just a snippet):

        [INFO] ------------------------------------------------------------------------
        [ERROR] BUILD ERROR
        [INFO] ------------------------------------------------------------------------
        [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:run': Unable to find the mojo 'org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:run' in the plugin 'org.codehaus.mojo:gwt-maven-plugin'
        org.codehaus.plexus.util.xml.XmlStreamReader

        Show
        Chris Ramsdale added a comment - Here's the error he was seeing (not sure if this is the full error or just a snippet): [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:run': Unable to find the mojo 'org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:run' in the plugin 'org.codehaus.mojo:gwt-maven-plugin' org.codehaus.plexus.util.xml.XmlStreamReader
        Hide
        Ray Cromwell added a comment -

        The two tasks left are
        1) deploy gwt-maven-plugin to our sonatype google-snapshots repo
        2) modify Roo generated pom so that the <pluginRepository> points there.

        I can do step #2. David has to do step #1.

        Show
        Ray Cromwell added a comment - The two tasks left are 1) deploy gwt-maven-plugin to our sonatype google-snapshots repo 2) modify Roo generated pom so that the <pluginRepository> points there. I can do step #2. David has to do step #1.
        Hide
        Stefan Schmidt added a comment -

        Complete.

        Show
        Stefan Schmidt added a comment - Complete.

          People

          • Assignee:
            Christian Dupuis
            Reporter:
            Chris Ramsdale
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: