Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] Source code used to build GAV org.eclipse.jdt:ecj:3.26.0

On 12.08.21 10:51, Sravan K Lakkimsetti wrote:
For the second question the maven publishing is done separately during the final release. The source code is available at in repo https://git.eclipse.org/c/platform/eclipse.platform.releng.git/tree/publish-to-maven-central <https://git.eclipse.org/c/platform/eclipse.platform.releng.git/tree/publish-to-maven-central>.
the starting point would be CBIaggregator.sh.

Let me add to this: for this particular pom, where no dependency information is needed, the main transformation is to read some meta data from MANIFEST.MF and translate those into pom meta data. The entry point of this is

https://git.eclipse.org/c/platform/eclipse.platform.releng.git/tree/publish-to-maven-central/src/org/eclipse/platform/releng/maven/pom/EnrichPoms.java

best,
Stephan

From: "Roberto Oliveira" <robertoguimaraes8@xxxxxxxxxxx>
To: "Eclipse JDT general developers list." <jdt-dev@xxxxxxxxxxx>
Date: 12-08-2021 13:00
Subject: [EXTERNAL] Re: [jdt-dev] Source code used to build GAV org.eclipse.jdt:ecj:3.26.0
Sent by: "jdt-dev" <jdt-dev-bounces@xxxxxxxxxxx>

--------------------------------------------------------------------------------



Hi,

Thanks a lot for your answer.

When I use the build command you pointed out the following artifacts are generated:
./org.eclipse.jdt.core/target/org.eclipse.jdt.core-3.26.0-SNAPSHOT-batch-compiler.jar
./org.eclipse.jdt.core/target/org.eclipse.jdt.core-3.26.0-SNAPSHOT-sources.jar
./org.eclipse.jdt.core/target/org.eclipse.jdt.core-3.26.0-SNAPSHOT.jar
./org.eclipse.jdt.core/target/org.eclipse.jdt.core-3.26.0-SNAPSHOT-batch-compiler-src.jar
./org.eclipse.jdt.core/target/org.eclipse.jdt.core-3.26.0-SNAPSHOT-antadapter.jar

So, If I got it correctly the org.eclipse.jdt:ecj jar artifact [1] published to maven is org.eclipse.jdt.core-3.26.0-SNAPSHOT-batch-compiler.jar, is that correct?


And a second question is where the org.eclipse.jdt:ecj pom [2] that was also published to maven central is generated? I don't see this pom as part of the source code or in target folder after the build.


[1] _https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.26.0/ecj-3.26.0.jar_ <https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.26.0/ecj-3.26.0.jar> [2] _https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.26.0/ecj-3.26.0.pom_ <https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.26.0/ecj-3.26.0.pom>

--------------------------------------------------------------------------------

*From:* jdt-dev <jdt-dev-bounces@xxxxxxxxxxx> on behalf of Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx>*
Sent:* 11 August 2021 07:21*
To:* Eclipse JDT general developers list. <jdt-dev@xxxxxxxxxxx>*
Subject:* Re: [jdt-dev] Source code used to build GAV org.eclipse.jdt:ecj:3.26.0

Hi,

Version 3.26.0 has been built for eclipse release 4.20 so the tag used in the source is R4_20.

To rebuild follow these steps
1. clone eclipse.jdt.core.git
2. Checkout R4_20 tag
3. use this command
mvn clean verify -Pbuild-individual-bundles -DskipTests=true

You'll find org.eclipse.jdt.core.compiler.batch_3.26.0.*.jar in the build artifacts. This is the one that is published to maven

Thanks and Regards,
Sravan

Sravan Kumar Lakkimsetti
IBM India Pvt Ltd,
Embassy Golf Links Business Park, C Block,
Off Indiranagar-Kormangla Inner Ring Road,
Bangalore - 560071, India

Inactive hide details for "Roberto Oliveira" ---10-08-2021 13:49:16---Hello, I need to build the project that contains the GAV "Roberto Oliveira" ---10-08-2021 13:49:16---Hello, I need to build the project that contains the GAV org.eclipse.jdt:ecj:3.26.0 [1] from sources

From: "Roberto Oliveira" <robertoguimaraes8@xxxxxxxxxxx>
To: "jdt-dev@xxxxxxxxxxx" <jdt-dev@xxxxxxxxxxx>
Date: 10-08-2021 13:49
Subject: [EXTERNAL] [jdt-dev] Source code used to build GAV org.eclipse.jdt:ecj:3.26.0
Sent by: "jdt-dev" <jdt-dev-bounces@xxxxxxxxxxx>
--------------------------------------------------------------------------------



Hello,

I need to build the project that contains the GAV org.eclipse.jdt:ecj:3.26.0 [1] from sources and I would like to know from what repository and tag this GAV was built.

I took a look in repository [2] but I could not find any tag related to version 3.26.0.

Can someone point that out, please?

Thanks in advance.


[1] _https://search.maven.org/artifact/org.eclipse.jdt/ecj/3.26.0/jar_ <https://search.maven.org/artifact/org.eclipse.jdt/ecj/3.26.0/jar> [2] _https://git.eclipse.org/c/jdt/eclipse.jdt.core.git_ <https://git.eclipse.org/c/jdt/eclipse.jdt.core.git>_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit _https://www.eclipse.org/mailman/listinfo/jdt-dev_ <https://www.eclipse.org/mailman/listinfo/jdt-dev>



_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev <https://www.eclipse.org/mailman/listinfo/jdt-dev>





_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev




Back to the top