Announcement

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

    isc-maven-plugin difficulty

    We just upgraded to the paid version of smartGWT 12.0p.

    I have configured the maven plugin with the following settings (mycompany and mypassword are replaced with my actual Isomorphic login credentials):

    <server>
    <id>smartclient-developer</id>
    <username>mycompany</username>
    <password>mypassword</password>
    </server>

    <profile>
    <id>isc</id>
    <properties>
    <product>SMARTGWT</product>
    <license>POWER</license>
    <buildNumber>12.0p</buildNumber>
    <workdir>/AtlanticMaven/downloads</workdir>
    <serverId>smartclient-developer</serverId>
    <repositoryId>repository-manager</repositoryId>
    <repositoryUrl>http://nexus.corp.int/nexus/content/repositories/thirdparty/</repositoryUrl>
    <includeAnalytics>true</includeAnalytics>
    </properties>
    </profile>

    When I run the following from the DOS prompt:

    mvn isc:install -Pisc -DbuildDate=2018-10-27 -log-file maven.log

    The build fails, and I get the log below. I don't understand why the plugin doesn't see the files. When I check the folder http://www.smartclient.com/builds/Sm...ion/2018-10-27 with my same user credentials using a web browser, the files are there. Note that I have successfully used the same plugin to install smartGWT in the past, and the plugin worked fine with smartGWT EVAL version a month ago.



    [INFO] ------------------------------------------------------------------------
    [INFO] Building Atlantic Supply Chain Suite 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Resolving plugin prefix isc from [com.isomorphic, org.apache.maven.plugins, org.codehaus.mojo]
    [DEBUG] Could not find metadata com.isomorphic/maven-metadata.xml in local (C:\Users\Andy\.m2\repository)
    [DEBUG] Skipped remote request for com.isomorphic/maven-metadata.xml, locally cached metadata up-to-date.
    [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:\Users\Andy\.m2\repository)
    [DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
    [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:\Users\Andy\.m2\repository)
    [DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date.
    [DEBUG] Resolved plugin prefix isc to com.isomorphic:isc-maven-plugin from repository central
    [DEBUG] Resolving plugin version for com.isomorphic:isc-maven-plugin
    [DEBUG] Could not find metadata com.isomorphic:isc-maven-plugin/maven-metadata.xml in local (C:\Users\Andy\.m2\repository)
    [DEBUG] Skipped remote request for com.isomorphic:isc-maven-plugin/maven-metadata.xml, locally cached metadata up-to-date.
    [DEBUG] Resolved plugin version for com.isomorphic:isc-maven-plugin to 1.1.1 from repository central (https://repo.maven.apache.org/maven2, default, releases)
    [DEBUG] Lifecycle default -&gt; [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
    [DEBUG] Lifecycle clean -&gt; [pre-clean, clean, post-clean]
    [DEBUG] Lifecycle site -&gt; [pre-site, site, post-site, site-deploy]
    [DEBUG] === PROJECT BUILD PLAN ================================================
    [DEBUG] Project: com.atlanticds:atlantic:1.0-SNAPSHOT
    [DEBUG] Dependencies (collect): []
    [DEBUG] Dependencies (resolve): []
    [DEBUG] Repositories (dependencies): [Central (http://central.maven.org/maven2, default, releases+snapshots), central (http://45.79.163.179:8081/artifactory/libs-release, default, releases), XypronRelease (http://www.xypron.de/repository, default, releases+snapshots), google (https://oss.sonatype.org/content/repositories/google/, default, releases+snapshots), project.local (file:c:\Git\Atlantic-Scheduler/repo, default, releases+snapshots)]
    [DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)]
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Goal: com.isomorphic:isc-maven-plugin:1.1.1:install (default-cli)
    [DEBUG] Style: Regular
    [DEBUG] Configuration: &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;configuration&gt;
    &lt;buildDate&gt;${buildDate}&lt;/buildDate&gt;
    &lt;buildNumber&gt;${buildNumber}&lt;/buildNumber&gt;
    &lt;includeAnalytics default-value="false"&gt;${includeAnalytics}&lt;/includeAnalytics&gt;
    &lt;includeMessaging default-value="false"&gt;${includeMessaging}&lt;/includeMessaging&gt;
    &lt;license&gt;${license}&lt;/license&gt;
    &lt;overwrite default-value="false"&gt;${overwrite}&lt;/overwrite&gt;
    &lt;product default-value="SMARTGWT"&gt;${product}&lt;/product&gt;
    &lt;repositorySystemSession default-value="${repositorySystemSession}"/&gt;
    &lt;serverId default-value="smartclient-developer"&gt;${serverId}&lt;/serverId&gt;
    &lt;skipDownload default-value="false"&gt;${skipDownload}&lt;/skipDownload&gt;
    &lt;skipExtraction default-value="false"&gt;${skipExtraction}&lt;/skipExtraction&gt;
    &lt;snapshots default-value="true"&gt;${snapshots}&lt;/snapshots&gt;
    &lt;workdir default-value="${java.io.tmpdir}/${project.artifactId}"&gt;${workdir}&lt;/workdir&gt;
    &lt;project default-value="${project}"/&gt;
    &lt;settings default-value="${settings}"/&gt;
    &lt;/configuration&gt;
    [DEBUG] =======================================================================
    [INFO]
    [INFO] --- isc-maven-plugin:1.1.1:install (default-cli) @ atlantic ---
    [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=80, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=40, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=5, ConflictResolver.conflictItemCount=78, DefaultDependencyCollector.collectTime=224, DefaultDependencyCollector.transformTime=8}
    [DEBUG] com.isomorphic:isc-maven-plugin:jar:1.1.1:
    [DEBUG] org.apache.maven:maven-plugin-api:jar:3.1.0:compile
    [DEBUG] org.apache.maven:maven-model:jar:3.1.0:compile
    [DEBUG] org.apache.maven:maven-artifact:jar:3.1.0:compile
    [DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M2a:compile
    [DEBUG] javax.enterprise:cdi-api:jar:1.0:compile
    [DEBUG] javax.annotation:jsr250-api:jar:1.0:compile
    [DEBUG] javax.inject:javax.inject:jar:1:compile
    [DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
    [DEBUG] aopalliance:aopalliance:jar:1.0:compile
    [DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M2a:compile
    [DEBUG] asm:asm:jar:3.3.1:compile
    [DEBUG] org.apache.maven:maven-core:jar:3.1.0:compile
    [DEBUG] org.apache.maven:maven-settings:jar:3.1.0:compile
    [DEBUG] org.apache.maven:maven-settings-builder:jar:3.1.0:compile
    [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.1.0:compile
    [DEBUG] org.apache.maven:maven-model-builder:jar:3.1.0:compile
    [DEBUG] org.apache.maven:maven-aether-provider:jar:3.1.0:compile
    [DEBUG] org.eclipse.aether:aether-spi:jar:0.9.0.M2:compile
    [DEBUG] org.eclipse.aether:aether-impl:jar:0.9.0.M2:compile
    [DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
    [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.16:compile
    [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.10:compile
    [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4.2:compile
    [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
    [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
    [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile
    [DEBUG] org.eclipse.aether:aether-api:jar:0.9.0.M3:compile
    [DEBUG] org.slf4j:slf4j-api:jar:1.7.5:compile
    [DEBUG] org.apache.httpcomponents:httpclient:jar:4.2.2:compile
    [DEBUG] org.apache.httpcomponents:httpcore:jar:4.2.2:compile
    [DEBUG] commons-logging:commons-logging:jar:1.1.1:compile
    [DEBUG] commons-codec:commons-codec:jar:1.6:compile
    [DEBUG] org.jsoup:jsoup:jar:1.7.2:compile
    [DEBUG] commons-io:commons-io:jar:2.4:compile
    [DEBUG] org.apache.commons:commons-lang3:jar:3.1:compile
    [DEBUG] org.springframework:spring-core:jar:3.1.1.RELEASE:compile
    [DEBUG] org.springframework:spring-asm:jar:3.1.1.RELEASE:compile
    [DEBUG] com.google.guava:guava:jar:15.0:compile
    [DEBUG] Created new class realm plugin&gt;com.isomorphic:isc-maven-plugin:1.1.1
    [DEBUG] Importing foreign packages into class realm plugin&gt;com.isomorphic:isc-maven-plugin:1.1.1
    [DEBUG] Imported: &lt; maven.api
    [DEBUG] Populating class realm plugin&gt;com.isomorphic:isc-maven-plugin:1.1.1
    [DEBUG] Included: com.isomorphic:isc-maven-plugin:jar:1.1.1
    [DEBUG] Included: javax.enterprise:cdi-api:jar:1.0
    [DEBUG] Included: javax.annotation:jsr250-api:jar:1.0
    [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
    [DEBUG] Included: aopalliance:aopalliance:jar:1.0
    [DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M2a
    [DEBUG] Included: asm:asm:jar:3.3.1
    [DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2
    [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.16
    [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.10
    [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
    [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
    [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4
    [DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.2.2
    [DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.2.2
    [DEBUG] Included: commons-logging:commons-logging:jar:1.1.1
    [DEBUG] Included: commons-codec:commons-codec:jar:1.6
    [DEBUG] Included: org.jsoup:jsoup:jar:1.7.2
    [DEBUG] Included: commons-io:commons-io:jar:2.4
    [DEBUG] Included: org.apache.commons:commons-lang3:jar:3.1
    [DEBUG] Included: org.springframework:spring-core:jar:3.1.1.RELEASE
    [DEBUG] Included: org.springframework:spring-asm:jar:3.1.1.RELEASE
    [DEBUG] Included: com.google.guava:guava:jar:15.0
    [DEBUG] Configuring mojo com.isomorphic:isc-maven-plugin:1.1.1:install from plugin realm ClassRealm[plugin&gt;com.isomorphic:isc-maven-plugin:1.1.1, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
    [DEBUG] Configuring mojo 'com.isomorphic:isc-maven-plugin:1.1.1:install' with basic configurator --&gt;
    [DEBUG] (f) buildNumber = 12.0p
    [DEBUG] (f) includeAnalytics = true
    [DEBUG] (f) includeMessaging = false
    [DEBUG] (f) license = PowerEdition
    [DEBUG] (f) overwrite = false
    [DEBUG] (f) product = SmartGWT
    [DEBUG] (f) repositorySystemSession = org.eclipse.aether.DefaultRepositorySystemSession@64337702
    [DEBUG] (f) serverId = smartclient-developer
    [DEBUG] (f) skipDownload = false
    [DEBUG] (f) skipExtraction = false
    [DEBUG] (f) snapshots = true
    [DEBUG] (f) workdir = c:\AtlanticMaven\downloads
    [DEBUG] (f) project = MavenProject: com.atlanticds:atlantic:1.0-SNAPSHOT @ c:\Git\Atlantic-Scheduler\pom.xml
    [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@30ea8c23
    [DEBUG] -- end configuration --
    [DEBUG] buildDate set to '2018-10-27'
    [INFO] Authenticating to 'www.smartclient.com/devlogin/login.jsp' with username: 'atlanticdecisionsciences'
    [DEBUG] Requesting list of files from http://www.smartclient.com/builds/Sm...on/2018-10-27/
    [WARNING] No downloads found at 'www.smartclient.com/builds/SmartGWT/12.0p/PowerEdition/2018-10-27/'. Response from server:

    &lt;html&gt;
    &lt;head&gt;
    &lt;script&gt;window.location.replace('/devlogin/login.jsp?initialTarget=/builds/SmartGWT/12.0p/PowerEdition/2018-10-27/');&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;&lt;/body&gt;
    &lt;/html&gt;

    [DEBUG] Requesting list of files from http://www.smartclient.com/builds/Sm...le/2018-10-27/
    [WARNING] No downloads found at 'www.smartclient.com/builds/SmartGWT/12.0p/AnalyticsModule/2018-10-27/'. Response from server:

    &lt;html&gt;
    &lt;head&gt;
    &lt;script&gt;window.location.replace('/devlogin/login.jsp?initialTarget=/builds/SmartGWT/12.0p/AnalyticsModule/2018-10-27/');&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;&lt;/body&gt;
    &lt;/html&gt;

    [INFO] Logging off at 'www.smartclient.com/logout.jsp'
    [INFO] Unpacking downloaded file/s to 'c:\AtlanticMaven\downloads\SmartGWT\PowerEdition\12.0p\2018-10-27'
    [DEBUG] Repackaging Javadoc...
    [DEBUG] Repackaging Javadoc...
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2.139 s
    [INFO] Finished at: 2018-10-27T09:27:44-04:00
    [INFO] Final Memory: 15M/353M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal com.isomorphic:isc-maven-plugin:1.1.1:install (default-cli) on project atlantic: There don't appear to be any files to work with at 'c:\AtlanticMaven\downloads\SmartGWT\PowerEdition\12.0p\2018-10-27'. Check earlier log entries for clues. -&gt; [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/d...utionException

    #2
    Try using the a recent version of the plugin. The latest is 1.3.2, you are on 1.1.1.

    Comment

    Working...
    X