forked from apache/xalan-j
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WFLY-16782] Update jboss/xalan-j README, add an install.sh script
- Loading branch information
1 parent
41fc890
commit 0501c66
Showing
4 changed files
with
54 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.