Contribution from ehillman:
For your consideration, I've attached a patch to the core and component
build.xml scripts that create a jar file (each) that contains their source
code. These get build to each dist directory.
Then these files can be deployed along with their appropriate artifact using
the mvn deploy:deploy-file command, being sure to use the classifier option.
For example, I can run the following from a command line...
- Generate the sources jar
ant -f $ICEFACES_SRC_DIR/core/build.xml sources-jar
mvn deploy:deploy-file
-Dfile=$ICEFACES_SRC_DIR/core/dist/icefaces-sources.jar
-DgroupId=org.icefaces -DartifactId=icefaces -Dversion=$ICEFACES_VERSION \
-Dclassifier=sources -Dpackaging=jar -Durl=$REPOSITORY_URL
-DrepositoryId=$REPOSITORY_ID
If ICEfaces deployed the source files for each artifact as well, I believe
it will be valued by the maven community using your artifacts.
Thanks,
Ed
Contribution from ehillman:
For your consideration, I've attached a patch to the core and component
build.xml scripts that create a jar file (each) that contains their source
code. These get build to each dist directory.
Then these files can be deployed along with their appropriate artifact using
the mvn deploy:deploy-file command, being sure to use the classifier option.
For example, I can run the following from a command line...
ant -f $ICEFACES_SRC_DIR/core/build.xml sources-jar
mvn deploy:deploy-file
-Dfile=$ICEFACES_SRC_DIR/core/dist/icefaces-sources.jar
-DgroupId=org.icefaces -DartifactId=icefaces -Dversion=$ICEFACES_VERSION \
-Dclassifier=sources -Dpackaging=jar -Durl=$REPOSITORY_URL
-DrepositoryId=$REPOSITORY_ID
If ICEfaces deployed the source files for each artifact as well, I believe
it will be valued by the maven community using your artifacts.
Thanks,
Ed