Here’s what I get when running mvn -v: Most recent machine:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\Program Files\apache-maven-3.6.3\bin\.. Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_131\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" CI server: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) Maven home: C:\apache\apache-maven-3.6.0\bin\.. Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_201\jre Default locale: en_US, platform encoding: UTF-8 OS name: "windows server 2016", version: "10.0", arch: "amd64", family: "windows" > On Dec 8, 2020, at 10:01 AM, Alex Harui <aha...@adobe.com.INVALID> wrote: > > Are all machines running the same version of Maven and Java? > > Flex-compiler-oem is the Flash Builder integration jar. > > HTH, > -Alex > > On 12/7/20, 2:53 AM, "Harbs" <harbs.li...@gmail.com > <mailto:harbs.li...@gmail.com>> wrote: > > I’m having a very hard time getting getting the jars to match perfectly. > > When building on Windows I get consistent line breaks, so that’s a > work-around, but I’m having the following issues when comparing jars: > > 1. On one Windows machine, I believe file dates matched, but on a second > machine they didn’t. > 2. On my build I’m getting dependencies on - playerglobal > com.adobe.flash.framework:playerglobal:swc:20. I noticed this in both > flex-compiler-oem and compiler-jx. > > I don’t know what flex-compiler-oem does. In the case of compiler-jx, that > dependency does not seem correct. So the CI build seems to be right, but my > local build seems wrong. > > Maven is black magic to me, and I have no idea how to go about making this > work. > > >> On Dec 4, 2020, at 12:31 PM, Christofer Dutz <christofer.d...@c-ware.de> >> wrote: >> >> Hi Harbs, >> >> Well I would assume that on the CI it was not built with “with-swf” option. >> Theoretically the archives generated should be identical in the compiler >> module with or without swf, it’s just that “with-swf” turns on all Flash >> released tests and therefore needs a dependency to the playerglobal. >> >> Chris >> >> >> >> Von: Harbs <harbs.li...@gmail.com> >> Datum: Freitag, 4. Dezember 2020 um 11:18 >> An: dev@royale.apache.org <dev@royale.apache.org> >> Betreff: Re: Release Step 003 Succeeded >> OK. Progress. >> >> I got reproducible build of two jars, but I’m getting a failure on >> flex-compiler-oem. >> >> My build has this in the DEPENDENCIES file which is missing in the CI build: >> >> - playerglobal com.adobe.flash.framework:playerglobal:swc:20.0 >> >> Any clues as to why? >> >>> On Nov 26, 2020, at 9:16 PM, apacheroyal...@gmail.com wrote: >>> >>> From the royale-compiler repo: >>> 1. Run: >>> ant -f releasesteps.xml Release_Step_003 -Drelease.version=0.9.8 >>> This will download the artifacts then unzip and compile the source artifact. >>> 2. Validate that the compiled artifacts match the downloaded artifacts. >>> 3. If they do, then run ant -f releasesteps.xml Release_Step_003_Sign >>> -Drelease.version=0.9.8 >>> This will PGP sign the source ZIP and compiled JARs >>> 4. Then run ant -f releasesteps.xml Release_Step_003_Upload >>> -Drelease.version=0.9.8 >>> This will upload the signed artifacts to Maven Release Staging. If you are >>> getting 401 responses from Nexus (permission denied) please be sure to have >>> your apache creedentials configured in your .m2/settings.xml file. >>> >>> Feel free to use this template if you haven't got a settings.xml yet: >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <settings >>> xsi:schemaLocation="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2FSETTINGS%2F1.1.0&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637429351792288452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a1y5qdOfgp3yPUNc2pRIGsz%2BM8G6p5KsKcT0rDwzZNk%3D&reserved=0 >>> >>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2FSETTINGS%2F1.1.0&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637429351792288452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a1y5qdOfgp3yPUNc2pRIGsz%2BM8G6p5KsKcT0rDwzZNk%3D&reserved=0> >>> >>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2Fxsd%2Fsettings-1.1.0.xsd&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637429351792288452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ysoXIcHPYy7xyrZa%2FMNk0mCQo6sgMgWq0p%2FFnCMzNZE%3D&reserved=0 >>> >>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2Fxsd%2Fsettings-1.1.0.xsd&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637429351792288452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ysoXIcHPYy7xyrZa%2FMNk0mCQo6sgMgWq0p%2FFnCMzNZE%3D&reserved=0>" >>> >>> xmlns="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2FSETTINGS%2F1.1.0&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637429351792288452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a1y5qdOfgp3yPUNc2pRIGsz%2BM8G6p5KsKcT0rDwzZNk%3D&reserved=0 >>> >>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2FSETTINGS%2F1.1.0&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637429351792288452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a1y5qdOfgp3yPUNc2pRIGsz%2BM8G6p5KsKcT0rDwzZNk%3D&reserved=0>" >>> >>> xmlns:xsi="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200 >>> >>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance&data=04%7C01%7Caharui%40adobe.com%7C95a84d47f29f4bb1887808d89a9e4200>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637429351792288452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kK5JghpOz930aWSjM7%2B4yjTQulkg1IHzrPNrLniVP24%3D&reserved=0"> >>> <servers> >>> <!-- Apache Repo Settings --> >>> <server> >>> <id>apache.releases.https</id> >>> <username>{your apache user id}</username> >>> <password>{your apache user password}</password> >>> </server> >>> </servers> >>> </settings> >>> >>> (Be sure to replace the placeholders with your actual apache committer id >>> and your Apache password) >>> >>> If you already have a settings.xml, just be sure the "server" block >>> containing your credentials is added to a servers block in that file. >>> >>> Do not "Close" the staging repository until the other repos have been added.