esig / dss-demonstrations

Examples of DSS integration
GNU Lesser General Public License v2.1
92 stars 70 forks source link

Please teach how to create the jar file of dss-spi-x509-aia, which is not included in central repository #55

Closed gittelletta closed 7 months ago

gittelletta commented 7 months ago

I wanted to create war in the maven project AAA, in order to include AAA in Tomcat.

AAA includes DefaultAIASource and OnlineAIASource.

And, in DSS api, they are included in the Package eu.europa.esig.dss.spi.x509.aia (https://ec.europa.eu/digital-building-blocks/DSS/webapp-demo/apidocs/eu/europa/esig/dss/spi/x509/aia/package-summary.html)

Therefore, I made the following pom.xml in AAA.

<dependency>
    <groupId>eu.europa.ec.joinup.sd-dss</groupId>
    <artifactId>dss-spi-x509-aia</artifactId>
    <version>5.8</version>
</dependency>

However Error occured. It's because dss-spi-x509-aia is not included in Sonatype Nexus Repository (central repository).

By the way, Maven first searches dss-spi-x509-aia in the central repository, and if dss-spi-x509-aia is not included in the central repository, then maven searches dss-spi-x509-aia in the local .m2 repository.

Therefore I want to create the jar file of dss-spi-x509-aia in order to store it in the local .m2 repository.

However I don't know how to create the jar file of dss-spi-x509-aia.

Can anyone teach me how to create the jar file of dss-spi-x509-aia?

Thanks in advance.

bsanchezb commented 7 months ago

Closed as duplicate of #54