[BAEL-14251] - Make sure the tutorials build doesn't generate any un-committed or un-ignored artifacts
This commit is contained in:
parent
0f4dafeab8
commit
b22ded782b
3
.gitignore
vendored
3
.gitignore
vendored
@ -76,4 +76,5 @@ persistence-modules/hibernate5/transaction.log
|
|||||||
apache-avro/src/main/java/com/baeldung/avro/model/
|
apache-avro/src/main/java/com/baeldung/avro/model/
|
||||||
jta/transaction-logs/
|
jta/transaction-logs/
|
||||||
software-security/sql-injection-samples/derby.log
|
software-security/sql-injection-samples/derby.log
|
||||||
spring-soap/src/main/java/com/baeldung/springsoap/gen/
|
spring-soap/src/main/java/com/baeldung/springsoap/gen/
|
||||||
|
/report-*.json
|
1
core-groovy/.gitignore
vendored
Normal file
1
core-groovy/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/src/main/resources/ioSerializedObject.txt
|
Binary file not shown.
@ -34,7 +34,9 @@ class DataAndObjectsUnitTest {
|
|||||||
@Test
|
@Test
|
||||||
void whenUsingWithObjectOutputStream_thenObjectIsSerializedToFile() {
|
void whenUsingWithObjectOutputStream_thenObjectIsSerializedToFile() {
|
||||||
Task task = new Task(description:'Take out the trash', startDate:new Date(), status:0)
|
Task task = new Task(description:'Take out the trash', startDate:new Date(), status:0)
|
||||||
new File('src/main/resources/ioSerializedObject.txt').withObjectOutputStream { out ->
|
def serializedDataFile = new File('src/main/resources/ioSerializedObject.txt')
|
||||||
|
serializedDataFile.createNewFile()
|
||||||
|
serializedDataFile.withObjectOutputStream { out ->
|
||||||
out.writeObject(task)
|
out.writeObject(task)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
5
jackson-2/.gitignore
vendored
5
jackson-2/.gitignore
vendored
@ -10,4 +10,7 @@
|
|||||||
# Packaged files #
|
# Packaged files #
|
||||||
*.jar
|
*.jar
|
||||||
*.war
|
*.war
|
||||||
*.ear
|
*.ear
|
||||||
|
|
||||||
|
# Files
|
||||||
|
/src/main/resources/orderOutput.yaml
|
1
testing-modules/groovy-spock/.gitignore
vendored
Normal file
1
testing-modules/groovy-spock/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/report-*.json
|
Loading…
x
Reference in New Issue
Block a user