Summary: | We need a POM file added to the Maven repository | ||
---|---|---|---|
Product: | Security - Now in JIRA | Reporter: | Glen Mazza <gmazza> |
Component: | Encryption | Assignee: | XML Security Developers Mailing List <security-dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fernando.ribeiro, stu |
Priority: | P1 | ||
Version: | Java 1.4 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | A patch for this issue |
Description
Glen Mazza
2008-07-13 06:18:28 UTC
Any update yet? 1.4.1 has the same issue. Created attachment 23727 [details]
A patch for this issue
Please see attached for a patch for this issue. The patch consists of a "pom.xml" that should be added to trunk. Using this pom it's possible to build the java component of XML-Security with maven, run the unit tests and install an OSGi bundle into the local maven repository.
1) mvn compile - compiles the Java source code under src
2) mvn test - runs the unit tests under src_unitTests (doesn't run the javax unit tests yet)
3) mvn install - compile, run the tests and install the bundle into the local repository
4) mvn -Pfastinstall - compile and install without running the tests
I've tested the built artifact with both WSS4J and CXF. The pom will likely need some tweaking before 1.4.3 goes out, but it'll do for now.
Colm.
Looks good to me, make sure the POM is published to the appropriate Maven repositories. Patch applied. Colm. When can I expect to find the file in the Maven repositories? I still don't see it anywhere. We're about to release XML-Security 1.4.3. Once that gets done I'll upload the relevant artifacts, including the pom, to the central maven repo. Colm. Thanks for the update. It may be that I'm missing something, but I still don't see this pom out there in the central repo. Was this indeed deployed to central, or am I and my build infrastructure just not seeing it? (In reply to comment #9) > It may be that I'm missing something, but I still don't see this pom out there > in the central repo. Was this indeed deployed to central, or am I and my build > infrastructure just not seeing it? http://repo2.maven.org/maven2/org/apache/santuario/xmlsec/1.4.3/xmlsec-1.4.3.pom Colm. |