Git Product home page Git Product logo

Comments (7)

pvandenbroucke avatar pvandenbroucke commented on September 25, 2024 1

Hello Jaan,

We only deploy the framework modules (https://github.com/esig/dss) and the final bundle.

You can find the different versions of the bundle here : https://ec.europa.eu/cefdigital/artifact/#browse/browse:esignaturedss:eu%2Feuropa%2Fec%2Fjoinup%2Fsd-dss%2Fdss-demo-bundle

I hope this helps.

Regards,

Pierrick

from dss-demonstrations.

jaantaponen avatar jaantaponen commented on September 25, 2024

I managed to fix the issue by manually building the correct directories in the newest 5.5 branch. Then I added them as a manual dependency through Maven.

from dss-demonstrations.

gbcoding avatar gbcoding commented on September 25, 2024

Hi @pvandenbroucke , I'm reaching out on this old thread because I'm having a similar problem to the subject of this issue, except that instead of trying to build example projects, I'm trying to import specific dependencies for a XAdES project i'm working on. I need dss-model, dss-enumerations, specs-xades ect. and have already written working code by manually downloading and adding the jar files for these modules as external dependencies.

However, I'm having classpath issues when building my executable jar due to the manually added external dependencies and I need a more sustainable build configuration. So my question is: I have included the link to your repository in my pom.xml file, but when I try to add the dependencies I need, maven is refusing to find them.

I am trying, for example:

<repositories>
    <repository>
       <id>cefdigital</id>
       <name>cefdigital</name>
       <url>https://ec.europa.eu/cefdigital/artifact/content/repositories/esignaturedss/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>eu.europa.ec.joinup.sd-dss</groupId>
        <artifactId>dss-model</artifactId>
        <version>5.6</version>
    </dependency>
</dependencies>

But maven will not find it. Am I including wrong paths or am I misunderstanding what dependencies are available to use?

Sorry for digging up this old thread, but my project is time sensitive and I'm really hoping you might be able to point out where I'm going wrong. Thank you!

from dss-demonstrations.

pvandenbroucke avatar pvandenbroucke commented on September 25, 2024

Hi @gbcoding,

I did a test with the below code and an empty maven repository :

<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.example</groupId>
	<artifactId>test-dss</artifactId>
	<version>0.0.1-SNAPSHOT</version>

	<repositories>
		<repository>
			<id>cefdigital</id>
			<name>CEF Digital</name>
			<url>https://ec.europa.eu/cefdigital/artifact/content/repositories/esignaturedss/</url>
		</repository>
	</repositories>

	<dependencies>
		<dependency>
			<groupId>eu.europa.ec.joinup.sd-dss</groupId>
			<artifactId>dss-xades</artifactId>
			<version>5.6</version>
		</dependency>
	</dependencies>
</project>

I don't have any trouble to retrieve dss-xades and its transitive dependencies.

How did you configure the access to the CEF digital repository ? Do you use proxy / mirroring,... ? On my side, I have no additional configuration in my maven/conf/settings.xml

Regards,

Pierrick

from dss-demonstrations.

jaantaponen avatar jaantaponen commented on September 25, 2024

@gbcoding Hello, I think you have the same exact issue we did. The Maven tool tries first fetching all the dependencies from external repositories. When it does not found one (and fails the compile) it will then the next time use it's local cache in the .m2 folder which (sometimes) does contain the jars you mentioned.

This is why you @pvandenbroucke may not experience any issues(just guessing).

I created a workaround for the issue in the dockerfile specified in our fork here.

I haven't had the time to test the new 5.7-RC but I think from what I've read that it should at least address the mocca-adapter dependencies. We ended up deleting it from our fork because we don't need it.

from dss-demonstrations.

gbcoding avatar gbcoding commented on September 25, 2024

Hi, thank you both for your quick replies. As of my first post, I did not do any additional configuring for the CEF digital repository and just included it in my project's pom.xml as posted above. I work for a large company and we are generally mirrored through our company's Artifactory for dependencies, so I worked with my tech lead this morning to try configuring settings.xml to bypass Artifactory in this instance, but we had no luck. It seems the issue is on my end then.

For this project I think I'll have to go the local Maven repository route to correctly package the dependencies. I will submit a request to our architecture team to approve and add your repository to our artifactory so myself or any other developers can easily import your modules in the future.

I appreciate the help.

from dss-demonstrations.

gittelletta avatar gittelletta commented on September 25, 2024

Dear jaantaponen, pvandenbroucke, gbcoding

I uploaded the new issue of " Please teach how to create the jar file of dss-spi-x509-aia, which is not included in central repository #54 " (#54)

I appreciate if you browse it and add comments.

Thanks

from dss-demonstrations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.