Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 78831200C19 for ; Sun, 12 Feb 2017 18:12:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 772C5160B6B; Sun, 12 Feb 2017 17:12:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9B4C1160B51 for ; Sun, 12 Feb 2017 18:12:07 +0100 (CET) Received: (qmail 60012 invoked by uid 500); 12 Feb 2017 17:12:06 -0000 Mailing-List: contact dev-help@polygene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@polygene.apache.org Delivered-To: mailing list dev@polygene.apache.org Received: (qmail 60001 invoked by uid 99); 12 Feb 2017 17:12:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2017 17:12:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2DF37C0775 for ; Sun, 12 Feb 2017 17:12:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.298 X-Spam-Level: * X-Spam-Status: No, score=1.298 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ASspB25e5q5p for ; Sun, 12 Feb 2017 17:12:03 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B55215F252 for ; Sun, 12 Feb 2017 17:12:02 +0000 (UTC) Received: from mfilter19-d.gandi.net (mfilter19-d.gandi.net [217.70.178.147]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 6A98541C08D; Sun, 12 Feb 2017 18:11:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter19-d.gandi.net Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter19-d.gandi.net (mfilter19-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id gcFzHN61KqO0; Sun, 12 Feb 2017 18:11:52 +0100 (CET) X-Originating-IP: 181.49.112.90 Received: from [172.16.9.185] (unknown [181.49.112.90]) (Authenticated sender: paul@nosphere.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id BE04B41C08B; Sun, 12 Feb 2017 18:11:51 +0100 (CET) Date: Sun, 12 Feb 2017 12:11:48 -0500 In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----AE43VV4ZUTDJHGQMB190HRVGEWMV6J" Content-Transfer-Encoding: 7bit Subject: Re: Build problems... To: dev@polygene.apache.org,Niclas Hedhman From: Paul Merlin Message-ID: <36B2EA2A-8467-470D-A7A8-0E41AAE04887@nosphere.org> archived-at: Sun, 12 Feb 2017 17:12:08 -0000 ------AE43VV4ZUTDJHGQMB190HRVGEWMV6J Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 12 f=C3=A9vrier 2017 10:25:33 GMT-05:00, Niclas Hedhman a =C3=A9crit : >No 'publishToMavenLocal' task in 'develop' at the moment=2E Perhaps you >didn't push it, or=2E=2E=2E? > > > >niclas@devdesk:~/dev/polygene/java$ =2E/gradlew tasks >:buildSrc:compileJava UP-TO-DATE >:buildSrc:compileGroovy UP-TO-DATE >:buildSrc:processResources UP-TO-DATE >:buildSrc:classes UP-TO-DATE >:buildSrc:jar UP-TO-DATE >:buildSrc:assemble UP-TO-DATE >:buildSrc:compileTestJava UP-TO-DATE >:buildSrc:compileTestGroovy UP-TO-DATE >:buildSrc:processTestResources UP-TO-DATE >:buildSrc:testClasses UP-TO-DATE >:buildSrc:test UP-TO-DATE >:buildSrc:check UP-TO-DATE >:buildSrc:build UP-TO-DATE >The Jetty plugin has been deprecated and is scheduled to be removed in >Gradle 4=2E0=2E Consider using the Gretty >(https://github=2Ecom/akhikhl/gretty) >plugin instead=2E > at >build_2f82eno9qy3vq1tf48q5bfowx=2Erun(/home/niclas/dev/polygene/java/samp= les/rental/build=2Egradle:23) > >:tasks > >------------------------------------------------------------ >All tasks runnable from root project >------------------------------------------------------------ > >Default tasks: classes, test > >Build tasks >----------- >assemble - Assembles the outputs of this project=2E >build - Assembles and tests this project=2E >buildDependents - Assembles and tests this project and all projects >that >depend on it=2E >buildNeeded - Assembles and tests this project and all projects it >depends >on=2E >classes - Assembles main classes=2E >clean - Deletes the build directory=2E >jar - Assembles a jar archive containing the main classes=2E >perfClasses - Assembles perf classes=2E >testClasses - Assembles test classes=2E >versionClasses - Assembles version classes=2E >vhostTestClasses - Assembles vhost test classes=2E >war - Generates a war archive with all the compiled classes, the >web-app >content and the libraries=2E > >Build Setup tasks >----------------- >init - Initializes a new Gradle build=2E [incubating] >wrapper - Generates Gradle wrapper files=2E [incubating] > >Distribution tasks >------------------ >stageBinariesMavenRepository - Stages published binaries as a maven >repository in the build directory=2E >stageBinaryDistribution - Stages the binary distribution in the build >directory=2E >stageDependenciesMavenRepository - Stages dependencies of published >binaries as a maven repository in the build directory=2E (BIG) >stageSourceDistribution - Stages the source distribution in the build >directory=2E >tarBinaryDistribution - Assembles =2Etar=2Egz binary distribution=2E >tarSourceDistribution - Assembles =2Etar=2Egz source distribution=2E >zipBinaryDistribution - Assembles =2Ezip binary distribution=2E >zipDependenciesDistribution - Assemble =2Ezip dependencies distribution >(BIG) >zipSourceDistribution - Assembles =2Ezip source distribution=2E > >Distribution verification tasks >------------------------------- >buildSourceDistribution - Checks the source distribution by running >`gradle >build` inside=2E >checkDistributions - Run all distribution checks=2E >ratBinaryDistribution - Checks the binary distribution using Apache >RAT=2E >ratSourceDistribution - Checks the source distribution using Apache >RAT=2E > >Docker tasks >------------ >buildCassandraDockerImage - Build cassandra Docker image >buildMemcachedDockerImage - Build memcached Docker image >buildMysqlDockerImage - Build mysql Docker image >buildPostgresDockerImage - Build postgres Docker image >buildRedisDockerImage - Build redis Docker image >buildRiakDockerImage - Build riak Docker image > >Documentation tasks >------------------- >groovydoc - Generates Groovydoc API documentation for the main source >code=2E >javadoc - Generates Javadoc API documentation for the main source code=2E >javadocs - Builds the whole SDK public Javadoc >makeAsciidocBuildInfo - Generates asciidoc artifact snippet >manuals - Generates all documentation >website - Generates documentation website > >Help tasks >---------- >buildEnvironment - Displays all buildscript dependencies declared in >root >project 'polygene-java'=2E >components - Displays the components produced by root project >'polygene-java'=2E [incubating] >dependencies - Displays all dependencies declared in root project >'polygene-java'=2E >dependencyInsight - Displays the insight into a specific dependency in >root >project 'polygene-java'=2E >dependentComponents - Displays the dependent components of components >in >root project 'polygene-java'=2E [incubating] >downloadDependencies - Download all dependencies >help - Displays a help message=2E >model - Displays the configuration model of root project >'polygene-java'=2E >[incubating] >projects - Displays the sub-projects of root project 'polygene-java'=2E >properties - Displays the properties of root project 'polygene-java'=2E >tasks - Displays the tasks runnable from root project 'polygene-java' >(some >of the displayed tasks may belong to subprojects)=2E > >Performance tasks >----------------- >performanceTest - Runs performance tests=2E > >Release tasks >------------- >publishAsfDistributions - Publishes distributions to ASF SVN=2E >publishAsfDocumentation - Publishes documentation to ASF HTTP=2E >publishAsfMavenArtifacts - Publishes maven artifacts to ASF Nexus=2E >releaseAsf - Rolls out an Apache Software Foundation release=2E >releaseSpecApprovedProjects - Apply release specification to projects >in >the build >reportReleaseSpec - Report module(s) that do or don't fit the release >criteria=2E > >Release verification tasks >-------------------------- >checkReleaseSpec - Ensure that no releasable module depend on module(s) >that don't fit the release criteria=2E > >Samples tasks >------------- >runCircuitBreakerSample - Runs circuitbreaker sample=2E >runEnvisageSample - Runs envisage sample=2E >runEnvisageSchoolSample - Runs envisage School sample=2E >runForumSample - Runs forum sample=2E >runJmxSample - Runs jmx sample=2E >runRestletSample - Runs restlet sample=2E >runSqlSupportSample - Runs sql-support sample=2E >runSwingSample - Runs swing sample=2E > >Upload tasks >------------ >uploadArchives - Uploads all artifacts belonging to configuration >':core:api:archives' >uploadStageArchives - Uploads all artifacts belonging to configuration >':core:api:stageArchives' > >Verification tasks >------------------ >check - Runs all checks=2E >coverage - Generates global coverage report >jacocoTestReport - Generates test coverage report=2E >test - Runs the unit tests=2E > >Web application tasks >--------------------- >jettyRun - Uses your files as and where they are and deploys them to >Jetty=2E >jettyRunWar - Assembles the webapp into a war and deploys it to Jetty=2E >jettyStop - Stops Jetty=2E > >Rules >----- >Pattern: clean: Cleans the output files of a task=2E > >To see all tasks and more detail, run gradlew tasks --all > >To see more detail about a task, run gradlew help --task > >BUILD SUCCESSFUL > > >On Sun, Feb 12, 2017 at 8:29 PM, Paul Merlin wrote: > >> Le 12 f=C3=A9vrier 2017 04:31:44 GMT-05:00, Niclas Hedhman > >> a =C3=A9crit : >> >>> I build a distirbution and found a Maven repository inside >>> distributions/build/stage >>> >>> And far more disturbing than not getting =2Em2/ populated is that the >>> produced POMs are invalid=2E The naming of jar files is messed up now, >>> missing the group in the artifactId=2E >>> >>> >>> >>> org=2Eapache=2Epolygene=2Ecore >>> bootstrap >>> 0 >>> compile >>> >>> >>> org=2Eapache=2Epolygene=2Eextensions >>> valueserialization-jackson >>> 0 >>> compile >>> >>> >>> org=2Eapache=2Epolygene=2Eextensions >>> indexing-rdf >>> 0 >>> compile >>> >>> >>> >>> On Sun, Feb 12, 2017 at 5:24 PM, Niclas Hedhman >wrote: >>> >>> Paul, >>>> 'install' doesn't work anymore=2E=2E=2E Or at least, the >~/=2Em2/repository is not >>>> populated=2E >>>> >>>> And I can't figure out how the all-plugin way of build system is >actually >>>> working=2E >>>> >>>> >>>> What do I need to do for "local build" and be able to use that in >another >>>> local project? >>>> >>>> >>>> Cheers >>>> -- >>>> Niclas Hedhman, Software Developer >>>> http://polygene=2Eapache=2Eorg - New En= ergy >for Java >>> >>> >>> >>> >>> >> Hi Niclas, >> >> I'm currently very far away from a keyboard and will be until the >20th=2E >> >> The artifactIds should be fixed, good catch=2E >> >> As for publishing to ~/=2Em2, the publishToMavenLocal task should do=2E >> >> HTH >> > > > >--=20 >Niclas Hedhman, Software Developer >http://polygene=2Eapache=2Eorg - New Energy = for >Java Arg=2E=2E=2E=20 Looks like I overlooked that use case when working on the build=2E=20 I'll fix that when I'm back=2E In the meantime you can use stageBinariesMavenRepository and add the direc= tory as a repository to your consuming project=2E If the consuming project is built using gradle you could have a look at co= mposite builds to skip that 'local artifacts' mess=2E There would probably = be some mapping to do for substitution to work=2E I plan to provide a sampl= e when I'm back, just mentioning in case you want to have a look=2E HTH Cheers --=20 Envoy=C3=A9 de mon appareil Android avec Courriel K-9 Mail=2E Veuillez exc= user ma bri=C3=A8vet=C3=A9=2E ------AE43VV4ZUTDJHGQMB190HRVGEWMV6J--