Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Privacy
Imprint
Contact
Login methods
Sign in
Toggle navigation
Menu
Open sidebar
ARSnova
ARSnova LMS Connector
Commits
f64cb86c
Commit
f64cb86c
authored
Apr 17, 2014
by
Paul-Christian Volkmer
Browse files
Added some more gradle configuraton to complete build setup
parent
fbb7cd67
Changes
7
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
f64cb86c
...
...
@@ -7,4 +7,5 @@
*/target/*
target/*
*/src/main/jaxb/*
*/build/*
.gradle/*
build.gradle
View file @
f64cb86c
...
...
@@ -17,6 +17,7 @@ subprojects {
compile
group:
'commons-collections'
,
name:
'commons-collections'
,
version:
'3.2'
compile
group:
'org.springframework'
,
name:
'spring-context'
,
version:
springVersion
compile
group:
'org.springframework.security'
,
name:
'spring-security-config'
,
version:
springSecurityVersion
compile
group:
'org.codehaus.jackson'
,
name:
'jackson-mapper-lgpl'
,
version:
'1.9+'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
testCompile
group:
'org.springframework'
,
name:
'spring-test'
,
version:
springVersion
...
...
connector-client/build.gradle
0 → 100644
View file @
f64cb86c
jar
{
manifest
{
attributes
'Implementation-Title'
:
'Connector-Client'
,
'Implementation-Version'
:
version
}
}
repositories
{
mavenCentral
()
}
dependencies
{
compile
group:
'commons-collections'
,
name:
'commons-collections'
,
version:
'3.2'
compile
group:
'commons-codec'
,
name:
'commons-codec'
,
version:
'1.7'
compile
group:
'org.springframework'
,
name:
'spring-context'
,
version:
springVersion
compile
group:
'org.springframework'
,
name:
'spring-web'
,
version:
springVersion
compile
group:
'de.thm.arsnova.connector'
,
name:
'connector-model'
,
version:
'0.+'
testCompile
group:
'junit'
,
name:
'junit'
,
version:
'4.+'
}
test
{
systemProperties
'property'
:
'value'
}
uploadArchives
{
repositories
{
flatDir
{
dirs
'repos'
}
}
}
\ No newline at end of file
connector-model/build.gradle
0 → 100644
View file @
f64cb86c
apply
plugin:
'jaxb'
jar
{
manifest
{
attributes
'Implementation-Title'
:
'Connector-Model'
,
'Implementation-Version'
:
version
}
}
dependencies
{
jaxb
'com.sun.xml.bind:jaxb-xjc:2.2.4-1'
}
buildscript
{
repositories
{
mavenCentral
()
}
dependencies
{
classpath
'no.entitas.gradle.jaxb:gradle-jaxb-plugin:2.0'
}
}
sourceSets
{
main
{
jaxb
{
srcDir
'src/main/resources/'
}
}
}
\ No newline at end of file
connector-model/src/main/resources/connector-model.xsd
View file @
f64cb86c
<?xml version="1.0" encoding="UTF-8"?>
<schema
targetNamespace=
"http://arsnova.thm.de/
schema
/model"
<schema
targetNamespace=
"http://arsnova.thm.de/
connector
/model"
elementFormDefault=
"qualified"
xmlns=
"http://www.w3.org/2001/XMLSchema"
xmlns:tns=
"http://arsnova.thm.de/
schema
/model"
>
xmlns:tns=
"http://arsnova.thm.de/
connector
/model"
>
<element
name=
"courses"
>
<complexType>
...
...
connector-service/build.gradle
View file @
f64cb86c
...
...
@@ -22,7 +22,6 @@ dependencies {
compile
group:
'org.springframework.security'
,
name:
'spring-security-ldap'
,
version:
springSecurityVersion
compile
group:
'mysql'
,
name:
'mysql-connector-java'
,
version:
'5.1.+'
compile
group:
'javax.servlet'
,
name:
'javax.servlet-api'
,
version:
'3.0+'
compile
group:
'org.codehaus.jackson'
,
name:
'jackson-mapper-lgpl'
,
version:
'1.9+'
compile
group:
'org.hsqldb'
,
name:
'hsqldb'
,
version:
'2.2+'
compile
group:
'cglib'
,
name:
'cglib'
,
version:
'3.0+'
compile
group:
'de.thm.arsnova.connector'
,
name:
'connector-model'
,
version:
'0.+'
...
...
connector-service/src/test/java/de/thm/arsnova/connector/config/SecurityTestConfig.java
View file @
f64cb86c
...
...
@@ -22,7 +22,7 @@ public class SecurityTestConfig extends WebSecurityConfigurerAdapter {
public
void
configureGlobal
(
AuthenticationManagerBuilder
auth
)
throws
Exception
{
auth
.
inMemoryAuthentication
().
withUser
(
"admin"
)
.
password
(
"secret"
).
authorities
(
"ADMIN"
)
.
and
().
withUser
(
"user"
).
password
(
"secret"
);
.
and
().
withUser
(
"user"
).
password
(
"secret"
)
.
authorities
(
"USER"
)
;
}
@Bean
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment