Skip to content

Remove resource filtering configuration#17682

Merged
saragluna merged 1 commit intoAzure:masterfrom
moarychan:issue/missing-spring-factories
Nov 26, 2020
Merged

Remove resource filtering configuration#17682
saragluna merged 1 commit intoAzure:masterfrom
moarychan:issue/missing-spring-factories

Conversation

@moarychan
Copy link
Member

Fixed spring.factories file is not published:
#17651

@saragluna
Copy link
Member

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saragluna
Copy link
Member

@mbhaskar and @kushagraThapar please help review.

Copy link
Member

@mbhaskar mbhaskar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>META-INF/project.properties</include>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the META-INF/project.properties was the only file that was being filtered out, then we should still have the spring.factories file shipped in the jar. So I am not sure if this would fix the issue or not.
Did we verify this locally, by creating a jar and making sure these files are now present in the jar ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, tested.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kushagraThapar are we okay to merge this PR now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saragluna - yes this is good to go in now. Thanks for the reminder.

@saragluna saragluna merged commit 57deafa into Azure:master Nov 26, 2020
@moarychan moarychan deleted the issue/missing-spring-factories branch December 2, 2020 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] spring.factories is not published with final azure-spring-data-cosmos artifact

4 participants