I took the stable branch http://svn.codehaus.org/mojo/tags/jaxb2-maven-plugin-1.3.1
indicated on the documentation page http://mojo.codehaus.org/jaxb2-maven-plugin/source-repository.html

To create a diff file I need to put new files in the repository.
I do not know another way to show a diff file, the emergence of new files.

svn does not have a local repository. I've been using git.
Work git with svn repositories is described in the article
http://andy.delcambre.com/2008/03/04/git-svn-workflow.html

A set of commands using this patch:

git svn init http://svn.codehaus.org/mojo/tags/jaxb2-maven-plugin-1.3.1
git svn fetch -rHEAD
git apply <jaxb2-maven-plugin.patch


Take the current state of the branch trunk

git svn init http://svn.codehaus.org/mojo/trunk/mojo/jaxb2-maven-plugin
git svn fetch -rHEAD

Make changes

git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   src/main/java/org/codehaus/mojo/jaxb2/AbstractXjcMojo.java
#	modified:   src/main/java/org/codehaus/mojo/jaxb2/TestXjcMojo.java
#	modified:   src/main/java/org/codehaus/mojo/jaxb2/XjcMojo.java
#	modified:   src/test/java/org/codehaus/mojo/jaxb2/BasicOptionsTest.java
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	src/test/resources/test4-cp1251-pom.xml
#	src/test/resources/test4-utf8-pom.xml
#	src/test/resources/testschemas-encoding/
#	target/
no changes added to commit (use "git add" and/or "git commit -a")

git add src/test/resources/test4-cp1251-pom.xml
git add src/test/resources/test4-utf8-pom.xml
git add src/test/resources/testschemas-encoding/

Get the ID of the last commit.

git log
commit 5eb84a7762d0a17dcf8af1d902253eebdb4e9b56
Author: afloom <afloom@52ab4f32-60fc-0310-b215-8acea882cd1b>
Date: Wed Jun 13 6:44:18 2012 0000

    Fixed spelling error in javadoc.
    
    git-svn-id: http://svn.codehaus.org/mojo/trunk/mojo/jaxb2-maven-plugin @ 16,865 52ab4f32-60fc-0310-b215-8acea882cd1b

Create a file is updated.

git diff 5eb84a7762d0a17dcf8af1d902253eebdb4e9b56> jaxb2-maven-plugin-trunk.patch

Apply the changes

git svn init http://svn.codehaus.org/mojo/trunk/mojo/jaxb2-maven-plugin
git svn fetch -rHEAD
git apply <jaxb2-maven-plugin-trunk.patch

Pass the changes in svn repository

git dcommit
Change By: Aleksey Sushko (14/Jun/12 3:32 AM)
Attachment: jaxb2-maven-plugin-trunk.patch
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to