[jbosstools-issues] [JBoss JIRA] (JBDS-1992) Migrate "JBDS Build Results" Web site ant build script to maven

Nick Boldt (JIRA) jira-events at lists.jboss.org
Fri Jun 8 15:20:23 EDT 2012


    [ https://issues.jboss.org/browse/JBDS-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700257#comment-12700257 ] 

Nick Boldt edited comment on JBDS-1992 at 6/8/12 3:20 PM:
----------------------------------------------------------

Using latest in 50x branch, I did this:

{code}
cd ~/50x/product; mvn install
cd ~/50x/product/build-results; mvn install
{code}

And got this error:

{quote}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:copy (installer) on project build-results: Unable to find artifact. Could not find artifact com.jboss.jbds.product:jbdevstudio-product-universal:jar:5.0.0-SNAPSHOT in jboss-releases (https://repository.jboss.org/nexus/content/repositories/releases/)

[ERROR] mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-universal -Dversion=5.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
{quote}

So, I did this:

{code}
 mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-universal -Dversion=5.0.0-SNAPSHOT -Dpackaging=jar -Dfile=../installer/target/jbdevstudio-product-universal-5.0.0.v20120608-1840-CR1.jar
{code}

and for each of the next 3 similar errors, I did this:

{code} mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-eap-universal -Dversion=5.0.0-SNAPSHOT -Dpackaging=jar -Dfile=../installer/target/jbdevstudio-product-eap-universal-5.0.0.v20120608-1840-CR1.jar
mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-sources -Dversion=5.0.0-SNAPSHOT -Dpackaging=zip -Dfile=../sources/target/jbdevstudio-product-sources-5.0.0.v20120608-1438-H\$\{BUILD_NUMBER\}-CR1.zip 
mvn install:install-file -DgroupId=com.jboss.jbds.site -DartifactId=com.jboss.jbds.site.product -Dversion=5.0.0-SNAPSHOT -Dpackaging=zip -Dfile=../site/target/site_assembly.zip {code}

Then it finally worked:

{code}cd ~/50x/product/build-results; mvn-install{code}

However, I got strangely named files:

{quote}
jbdevstudio-product-universal-$${version.full}.v20120608-1911-CR1.jar
jbdevstudio-product-eap-universal-$${version.full}.v20120608-1911-CR1.jar
...{quote}

so I re-ran like this to point at the SPECIFIC versions on disk (and to set a value for version.full, which was not set):

{code}cd ~/50x/product/build-results; mvn install -Dversion.full=5.0.0 -DbuildQualifier=v20120608-1840-CR1 -Dversion=5.0.0.v20120608-1840-CR1
{code}

                
      was (Author: nickboldt):
    Using latest in 50x branch, I did this:

{code}
cd ~/50x/product; mvn install
cd ~/50x/product/build-results; mvn install
{code}

And got this error:

{quote}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:copy (installer) on project build-results: Unable to find artifact. Could not find artifact com.jboss.jbds.product:jbdevstudio-product-universal:jar:5.0.0-SNAPSHOT in jboss-releases (https://repository.jboss.org/nexus/content/repositories/releases/)

[ERROR] mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-universal -Dversion=5.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
{quote}

So, I did this:

{code}
 mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-universal -Dversion=5.0.0-SNAPSHOT -Dpackaging=jar -Dfile=../installer/target/jbdevstudio-product-universal-5.0.0.v20120608-1840-CR1.jar
{code}

and for each of the next 3 similar errors, I did this:

{code} mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-eap-universal -Dversion=5.0.0-SNAPSHOT -Dpackaging=jar -Dfile=../installer/target/jbdevstudio-product-eap-universal-5.0.0.v20120608-1840-CR1.jar
mvn install:install-file -DgroupId=com.jboss.jbds.product -DartifactId=jbdevstudio-product-sources -Dversion=5.0.0-SNAPSHOT -Dpackaging=zip -Dfile=../sources/target/jbdevstudio-product-sources-5.0.0.v20120608-1438-H\$\{BUILD_NUMBER\}-CR1.zip 
mvn install:install-file -DgroupId=com.jboss.jbds.site -DartifactId=com.jboss.jbds.site.product -Dversion=5.0.0-SNAPSHOT -Dpackaging=zip -Dfile=../site/target/site_assembly.zip {code}

Then it finally worked:

{code}cd ~/50x/product/build-results; mvn-install{code}

However, I got strangely named files:

{quote}
jbdevstudio-product-universal-\${version.full}.v20120608-1911-CR1.jar
jbdevstudio-product-eap-universal-\${version.full}.v20120608-1911-CR1.jar
...{quote}

so I re-ran like this to point at the SPECIFIC versions on disk (and to set a value for version.full, which was not set):

{code}cd ~/50x/product/build-results; mvn install -Dversion.full=5.0.0 -DbuildQualifier=v20120608-1840-CR1 -Dversion=5.0.0.v20120608-1840-CR1
{code}

                  
> Migrate "JBDS Build Results" Web site ant build script to maven
> ---------------------------------------------------------------
>
>                 Key: JBDS-1992
>                 URL: https://issues.jboss.org/browse/JBDS-1992
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Build
>    Affects Versions: 5.0.0.Beta1
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>             Fix For: 6.x
>
>         Attachments: devstudio.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list