Skip to content

Commit

Permalink
[WFLY-16782] Update jboss/xalan-j README, add an install.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
bstansberry committed Aug 10, 2022
1 parent 41fc890 commit 0501c66
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 70 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
This is a fork of the https://github.com/apache/xalan-j project, intended for use in producing bug fix releases from upstream Xalan 2.7.1.

How to build
------------
Switch to jdk 1.8

Add EE 8 or earlier servlet and ejb API jars to the classpath.

For example:

export CLASSPATH=~/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.2_spec/2.0.0.Final/jboss-ejb-api_3.2_spec-2.0.0.Final.jar: \
~/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_4.0_spec/2.0.0.Final/jboss-servlet-api_4.0_spec-2.0.0.Final.jar

Clean and build

./build.sh clean dist

Install in the local Maven repository
-------------------------------------
First update the pom files maven/pom-serializer.xml and maven/pom-xalan.xml as needed (e.g. to update the GAV version).

Then:

maven/install.sh

Deploy to the repository.jboss.org Maven repository
---------------------------------------------------
First update the pom files maven/pom-serializer.xml and maven/pom-xalan.xml as needed (e.g. to update the GAV version).

Then:

maven/deploy.sh

21 changes: 21 additions & 0 deletions maven/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Script to deploy build output to JBoss Maven repository

# Deploy xalan.jar and source files
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2::install-file \
-DpomFile=maven/pom-xalan.xml \
-Dfile=build/xalan.jar \
-Dsources=build/xalan-sources.jar

# Deploy serializer.jar
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2::install-file \
-DpomFile=maven/pom-serializer.xml \
-Dfile=build/serializer.jar \
-Dsources=build/serializer-sources.jar

# Deploy the full source zip
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2::install-file \
-DpomFile=maven/pom-xalan.xml \
-Dfile=build/xalan-j_2_7_1-src.zip \
-Dpackaging=zip \
-Dclassifier=source-release

38 changes: 0 additions & 38 deletions readme.html

This file was deleted.

32 changes: 0 additions & 32 deletions readme.txt

This file was deleted.

0 comments on commit 0501c66

Please sign in to comment.