Skip to content

Commit

Permalink
Re-enabling license check for LDIF files
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Oct 20, 2014
1 parent 689f001 commit 8caba20
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 40 deletions.
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,12 @@
<header>https://raw.githubusercontent.com/Tirasa/ConnId/connid-${connid.version}/java/src/main/resources/header.txt</header>
<headerDefinitions>
<headerDefinition>https://raw.githubusercontent.com/Tirasa/ConnId/connid-${connid.version}/java/src/main/resources/java-single-star.xml</headerDefinition>
</headerDefinitions>
</headerDefinitions>
<mapping>
<ldif>SCRIPT_STYLE</ldif>
</mapping>
<excludes>
<exclude>**/LICENSE*</exclude>
<exclude>**/*.ldif</exclude>
<exclude>**/*.bat</exclude>
<exclude>**/*.pin</exclude>
<exclude>**/*.cert</exclude>
Expand Down Expand Up @@ -325,8 +327,7 @@
<ConnectorBundle-Version>${project.version}</ConnectorBundle-Version>
</manifestEntries>
</archive>
</configuration>

</configuration>
<executions>
<execution>
<id>make-assembly</id>
Expand Down
26 changes: 14 additions & 12 deletions src/test/resources/opends/admin.ldif
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# -- START LICENSE
#
# ====================
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
#
# The contents of this file are subject to the terms of the Common Development
# and Distribution License("CDDL") (the "License"). You may not use this file
# The contents of this file are subject to the terms of the Common Development
# and Distribution License("CDDL") (the "License"). You may not use this file
# except in compliance with the License.
#
# You can obtain a copy of the License at
# http://IdentityConnectors.dev.java.net/legal/license.txt
# See the License for the specific language governing permissions and limitations
# under the License.
# You can obtain a copy of the License at
# http://opensource.org/licenses/cddl1.php
# See the License for the specific language governing permissions and limitations
# under the License.
#
# When distributing the Covered Code, include this CDDL Header Notice in each file
# and include the License file at identityconnectors/legal/license.txt.
# If applicable, add the following below this CDDL Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# and include the License file at http://opensource.org/licenses/cddl1.php.
# If applicable, add the following below this CDDL Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
# ====================
# -- END LICENSE
# Portions Copyrighted 2011 ConnId.
#

dn: uid=admin,dc=example,dc=com
changetype: add
objectClass: top
Expand Down
26 changes: 14 additions & 12 deletions src/test/resources/opends/config.ldif
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# -- START LICENSE
#
# ====================
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
#
# The contents of this file are subject to the terms of the Common Development
# and Distribution License("CDDL") (the "License"). You may not use this file
# The contents of this file are subject to the terms of the Common Development
# and Distribution License("CDDL") (the "License"). You may not use this file
# except in compliance with the License.
#
# You can obtain a copy of the License at
# http://IdentityConnectors.dev.java.net/legal/license.txt
# See the License for the specific language governing permissions and limitations
# under the License.
# You can obtain a copy of the License at
# http://opensource.org/licenses/cddl1.php
# See the License for the specific language governing permissions and limitations
# under the License.
#
# When distributing the Covered Code, include this CDDL Header Notice in each file
# and include the License file at identityconnectors/legal/license.txt.
# If applicable, add the following below this CDDL Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# and include the License file at http://opensource.org/licenses/cddl1.php.
# If applicable, add the following below this CDDL Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
# ====================
# -- END LICENSE
# Portions Copyrighted 2011 ConnId.
#

dn: cn=config
objectClass: top
objectClass: ds-cfg-root-config
Expand Down
26 changes: 14 additions & 12 deletions src/test/resources/opends/data.ldif
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# -- START LICENSE
#
# ====================
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
# Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
#
# The contents of this file are subject to the terms of the Common Development
# and Distribution License("CDDL") (the "License"). You may not use this file
# The contents of this file are subject to the terms of the Common Development
# and Distribution License("CDDL") (the "License"). You may not use this file
# except in compliance with the License.
#
# You can obtain a copy of the License at
# http://IdentityConnectors.dev.java.net/legal/license.txt
# See the License for the specific language governing permissions and limitations
# under the License.
# You can obtain a copy of the License at
# http://opensource.org/licenses/cddl1.php
# See the License for the specific language governing permissions and limitations
# under the License.
#
# When distributing the Covered Code, include this CDDL Header Notice in each file
# and include the License file at identityconnectors/legal/license.txt.
# If applicable, add the following below this CDDL Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# and include the License file at http://opensource.org/licenses/cddl1.php.
# If applicable, add the following below this CDDL Header, with the fields
# enclosed by brackets [] replaced by your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
# ====================
# -- END LICENSE
# Portions Copyrighted 2011 ConnId.
#

dn: dc=example,dc=com
objectClass: top
objectClass: domain
Expand Down

0 comments on commit 8caba20

Please sign in to comment.